Skip to content

Commit

Permalink
chore(deps): bump github.com/prometheus-operator/prometheus-operator/…
Browse files Browse the repository at this point in the history
…pkg/apis/monitoring from 0.77.1 to 0.78.1 in /kubernetes-model-generator/openapi/generator (6595)

chore(deps): bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring

Bumps [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) from 0.77.1 to 0.78.1.
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](prometheus-operator/prometheus-operator@v0.77.1...v0.78.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
---
feat(openapi): regenerate model for github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring 0.78.1

Signed-off-by: Marc Nuri <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Nuri <[email protected]>
  • Loading branch information
dependabot[bot] and manusa authored Nov 14, 2024
1 parent d679ac7 commit 95435da
Show file tree
Hide file tree
Showing 18 changed files with 1,228 additions and 22 deletions.
2 changes: 1 addition & 1 deletion kubernetes-model-generator/openapi/generator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/operator-framework/api v0.27.1-0.20241002175140-413605f42947
github.com/operator-framework/operator-lifecycle-manager v0.22.0
github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20241030140127-a68ef49d9441
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.77.1
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.78.1
github.com/spf13/cobra v1.8.1
github.com/tektoncd/pipeline v0.65.1
github.com/tektoncd/triggers v0.30.0
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-model-generator/openapi/generator/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -960,8 +960,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA=
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.77.1 h1:XGoEXT6WTTihO+MD8MAao+YaQIH905HbK0WK2lyo28k=
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.77.1/go.mod h1:D0KY8md81DQKdaR/cXwnhoWB3MYYyc/UjvqE8GFkIvA=
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.78.1 h1:Fm9Z+FabnB+6EoGq15j+pyLmaK6hYrYOpBlTzOLTQ+E=
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.78.1/go.mod h1:SvsRXw4m1F2vk7HquU5h475bFpke27mIUswfyw9u3ug=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
Expand Down
262 changes: 254 additions & 8 deletions kubernetes-model-generator/openapi/schemas/openshift-generated.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"configMaps",
"configSecret",
"containers",
"dnsConfig",
"dnsPolicy",
"enableFeatures",
"externalUrl",
"forceEnableClusterMode",
Expand Down Expand Up @@ -151,6 +153,10 @@ public class AlertmanagerSpec implements Editable<AlertmanagerSpecBuilder> , Kub
@JsonProperty("containers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<Container> containers = new ArrayList<>();
@JsonProperty("dnsConfig")
private PodDNSConfig dnsConfig;
@JsonProperty("dnsPolicy")
private String dnsPolicy;
@JsonProperty("enableFeatures")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<String> enableFeatures = new ArrayList<>();
Expand Down Expand Up @@ -237,7 +243,7 @@ public class AlertmanagerSpec implements Editable<AlertmanagerSpecBuilder> , Kub
public AlertmanagerSpec() {
}

public AlertmanagerSpec(List<String> additionalPeers, Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, LabelSelector alertmanagerConfigNamespaceSelector, LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, List<String> configMaps, String configSecret, List<Container> containers, List<String> enableFeatures, String externalUrl, Boolean forceEnableClusterMode, List<HostAlias> hostAliases, String image, String imagePullPolicy, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, Boolean listenLocal, String logFormat, String logLevel, Long minReadySeconds, Map<String, String> nodeSelector, Boolean paused, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, ResourceRequirements resources, String retention, String routePrefix, List<String> secrets, PodSecurityContext securityContext, String serviceAccountName, String sha, StorageSpec storage, String tag, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, String version, List<VolumeMount> volumeMounts, List<Volume> volumes, AlertmanagerWebSpec web) {
public AlertmanagerSpec(List<String> additionalPeers, Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, LabelSelector alertmanagerConfigNamespaceSelector, LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, List<String> configMaps, String configSecret, List<Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, List<String> enableFeatures, String externalUrl, Boolean forceEnableClusterMode, List<HostAlias> hostAliases, String image, String imagePullPolicy, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, Boolean listenLocal, String logFormat, String logLevel, Long minReadySeconds, Map<String, String> nodeSelector, Boolean paused, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, ResourceRequirements resources, String retention, String routePrefix, List<String> secrets, PodSecurityContext securityContext, String serviceAccountName, String sha, StorageSpec storage, String tag, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, String version, List<VolumeMount> volumeMounts, List<Volume> volumes, AlertmanagerWebSpec web) {
super();
this.additionalPeers = additionalPeers;
this.affinity = affinity;
Expand All @@ -255,6 +261,8 @@ public AlertmanagerSpec(List<String> additionalPeers, Affinity affinity, Alertma
this.configMaps = configMaps;
this.configSecret = configSecret;
this.containers = containers;
this.dnsConfig = dnsConfig;
this.dnsPolicy = dnsPolicy;
this.enableFeatures = enableFeatures;
this.externalUrl = externalUrl;
this.forceEnableClusterMode = forceEnableClusterMode;
Expand Down Expand Up @@ -453,6 +461,26 @@ public void setContainers(List<Container> containers) {
this.containers = containers;
}

@JsonProperty("dnsConfig")
public PodDNSConfig getDnsConfig() {
return dnsConfig;
}

@JsonProperty("dnsConfig")
public void setDnsConfig(PodDNSConfig dnsConfig) {
this.dnsConfig = dnsConfig;
}

@JsonProperty("dnsPolicy")
public String getDnsPolicy() {
return dnsPolicy;
}

@JsonProperty("dnsPolicy")
public void setDnsPolicy(String dnsPolicy) {
this.dnsPolicy = dnsPolicy;
}

@JsonProperty("enableFeatures")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<String> getEnableFeatures() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
"bodySizeLimit",
"configMaps",
"containers",
"dnsConfig",
"dnsPolicy",
"enableFeatures",
"enableRemoteWriteReceiver",
"enforcedBodySizeLimit",
Expand Down Expand Up @@ -97,6 +99,7 @@
"prometheusExternalLabelName",
"reloadStrategy",
"remoteWrite",
"remoteWriteReceiverMessageVersions",
"replicaExternalLabelName",
"replicas",
"resources",
Expand Down Expand Up @@ -173,6 +176,10 @@ public class CommonPrometheusFields implements Editable<CommonPrometheusFieldsBu
@JsonProperty("containers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<Container> containers = new ArrayList<>();
@JsonProperty("dnsConfig")
private PodDNSConfig dnsConfig;
@JsonProperty("dnsPolicy")
private String dnsPolicy;
@JsonProperty("enableFeatures")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<String> enableFeatures = new ArrayList<>();
Expand Down Expand Up @@ -274,6 +281,9 @@ public class CommonPrometheusFields implements Editable<CommonPrometheusFieldsBu
@JsonProperty("remoteWrite")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<RemoteWriteSpec> remoteWrite = new ArrayList<>();
@JsonProperty("remoteWriteReceiverMessageVersions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<String> remoteWriteReceiverMessageVersions = new ArrayList<>();
@JsonProperty("replicaExternalLabelName")
private String replicaExternalLabelName;
@JsonProperty("replicas")
Expand Down Expand Up @@ -349,7 +359,7 @@ public class CommonPrometheusFields implements Editable<CommonPrometheusFieldsBu
public CommonPrometheusFields() {
}

public CommonPrometheusFields(List<Argument> additionalArgs, SecretKeySelector additionalScrapeConfigs, Affinity affinity, APIServerConfig apiserverConfig, ArbitraryFSAccessThroughSMsConfig arbitraryFSAccessThroughSMs, Boolean automountServiceAccountToken, String bodySizeLimit, List<String> configMaps, List<Container> containers, List<String> enableFeatures, Boolean enableRemoteWriteReceiver, String enforcedBodySizeLimit, Long enforcedKeepDroppedTargets, Long enforcedLabelLimit, Long enforcedLabelNameLengthLimit, Long enforcedLabelValueLengthLimit, String enforcedNamespaceLabel, Long enforcedSampleLimit, Long enforcedTargetLimit, List<ObjectReference> excludedFromEnforcement, Map<String, String> externalLabels, String externalUrl, List<HostAlias> hostAliases, Boolean hostNetwork, Boolean ignoreNamespaceSelectors, String image, String imagePullPolicy, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, Boolean listenLocal, String logFormat, String logLevel, Integer maximumStartupDurationSeconds, Long minReadySeconds, Map<String, String> nodeSelector, OTLPConfig otlp, Boolean overrideHonorLabels, Boolean overrideHonorTimestamps, Boolean paused, StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy, EmbeddedObjectMetadata podMetadata, LabelSelector podMonitorNamespaceSelector, LabelSelector podMonitorSelector, List<String> podTargetLabels, String portName, String priorityClassName, LabelSelector probeNamespaceSelector, LabelSelector probeSelector, String prometheusExternalLabelName, String reloadStrategy, List<RemoteWriteSpec> remoteWrite, String replicaExternalLabelName, Integer replicas, ResourceRequirements resources, String routePrefix, Long sampleLimit, List<ScrapeClass> scrapeClasses, LabelSelector scrapeConfigNamespaceSelector, LabelSelector scrapeConfigSelector, String scrapeInterval, List<String> scrapeProtocols, String scrapeTimeout, List<String> secrets, PodSecurityContext securityContext, String serviceAccountName, String serviceDiscoveryRole, LabelSelector serviceMonitorNamespaceSelector, LabelSelector serviceMonitorSelector, Integer shards, StorageSpec storage, Long targetLimit, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, PrometheusTracingConfig tracingConfig, TSDBSpec tsdb, String version, List<VolumeMount> volumeMounts, List<Volume> volumes, Boolean walCompression, PrometheusWebSpec web) {
public CommonPrometheusFields(List<Argument> additionalArgs, SecretKeySelector additionalScrapeConfigs, Affinity affinity, APIServerConfig apiserverConfig, ArbitraryFSAccessThroughSMsConfig arbitraryFSAccessThroughSMs, Boolean automountServiceAccountToken, String bodySizeLimit, List<String> configMaps, List<Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, List<String> enableFeatures, Boolean enableRemoteWriteReceiver, String enforcedBodySizeLimit, Long enforcedKeepDroppedTargets, Long enforcedLabelLimit, Long enforcedLabelNameLengthLimit, Long enforcedLabelValueLengthLimit, String enforcedNamespaceLabel, Long enforcedSampleLimit, Long enforcedTargetLimit, List<ObjectReference> excludedFromEnforcement, Map<String, String> externalLabels, String externalUrl, List<HostAlias> hostAliases, Boolean hostNetwork, Boolean ignoreNamespaceSelectors, String image, String imagePullPolicy, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, Boolean listenLocal, String logFormat, String logLevel, Integer maximumStartupDurationSeconds, Long minReadySeconds, Map<String, String> nodeSelector, OTLPConfig otlp, Boolean overrideHonorLabels, Boolean overrideHonorTimestamps, Boolean paused, StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy, EmbeddedObjectMetadata podMetadata, LabelSelector podMonitorNamespaceSelector, LabelSelector podMonitorSelector, List<String> podTargetLabels, String portName, String priorityClassName, LabelSelector probeNamespaceSelector, LabelSelector probeSelector, String prometheusExternalLabelName, String reloadStrategy, List<RemoteWriteSpec> remoteWrite, List<String> remoteWriteReceiverMessageVersions, String replicaExternalLabelName, Integer replicas, ResourceRequirements resources, String routePrefix, Long sampleLimit, List<ScrapeClass> scrapeClasses, LabelSelector scrapeConfigNamespaceSelector, LabelSelector scrapeConfigSelector, String scrapeInterval, List<String> scrapeProtocols, String scrapeTimeout, List<String> secrets, PodSecurityContext securityContext, String serviceAccountName, String serviceDiscoveryRole, LabelSelector serviceMonitorNamespaceSelector, LabelSelector serviceMonitorSelector, Integer shards, StorageSpec storage, Long targetLimit, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, PrometheusTracingConfig tracingConfig, TSDBSpec tsdb, String version, List<VolumeMount> volumeMounts, List<Volume> volumes, Boolean walCompression, PrometheusWebSpec web) {
super();
this.additionalArgs = additionalArgs;
this.additionalScrapeConfigs = additionalScrapeConfigs;
Expand All @@ -360,6 +370,8 @@ public CommonPrometheusFields(List<Argument> additionalArgs, SecretKeySelector a
this.bodySizeLimit = bodySizeLimit;
this.configMaps = configMaps;
this.containers = containers;
this.dnsConfig = dnsConfig;
this.dnsPolicy = dnsPolicy;
this.enableFeatures = enableFeatures;
this.enableRemoteWriteReceiver = enableRemoteWriteReceiver;
this.enforcedBodySizeLimit = enforcedBodySizeLimit;
Expand Down Expand Up @@ -406,6 +418,7 @@ public CommonPrometheusFields(List<Argument> additionalArgs, SecretKeySelector a
this.prometheusExternalLabelName = prometheusExternalLabelName;
this.reloadStrategy = reloadStrategy;
this.remoteWrite = remoteWrite;
this.remoteWriteReceiverMessageVersions = remoteWriteReceiverMessageVersions;
this.replicaExternalLabelName = replicaExternalLabelName;
this.replicas = replicas;
this.resources = resources;
Expand Down Expand Up @@ -530,6 +543,26 @@ public void setContainers(List<Container> containers) {
this.containers = containers;
}

@JsonProperty("dnsConfig")
public PodDNSConfig getDnsConfig() {
return dnsConfig;
}

@JsonProperty("dnsConfig")
public void setDnsConfig(PodDNSConfig dnsConfig) {
this.dnsConfig = dnsConfig;
}

@JsonProperty("dnsPolicy")
public String getDnsPolicy() {
return dnsPolicy;
}

@JsonProperty("dnsPolicy")
public void setDnsPolicy(String dnsPolicy) {
this.dnsPolicy = dnsPolicy;
}

@JsonProperty("enableFeatures")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<String> getEnableFeatures() {
Expand Down Expand Up @@ -999,6 +1032,17 @@ public void setRemoteWrite(List<RemoteWriteSpec> remoteWrite) {
this.remoteWrite = remoteWrite;
}

@JsonProperty("remoteWriteReceiverMessageVersions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<String> getRemoteWriteReceiverMessageVersions() {
return remoteWriteReceiverMessageVersions;
}

@JsonProperty("remoteWriteReceiverMessageVersions")
public void setRemoteWriteReceiverMessageVersions(List<String> remoteWriteReceiverMessageVersions) {
this.remoteWriteReceiverMessageVersions = remoteWriteReceiverMessageVersions;
}

@JsonProperty("replicaExternalLabelName")
public String getReplicaExternalLabelName() {
return replicaExternalLabelName;
Expand Down
Loading

0 comments on commit 95435da

Please sign in to comment.