diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index fe74e747e..9b0afc1b3 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -6,7 +6,7 @@ body: attributes: label: Is there an existing issue for this? description: | - Before filing a bug, please be sure you have searched through [existing bugs](https://github.com/prometheus-operator/prometheus-operator/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Fbug) to see if an existing issue covers your bug. + Before filing a bug, please be sure you have searched through [existing bugs](https://github.com/rhobs/obo-prometheus-operator/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Fbug) to see if an existing issue covers your bug. options: - label: I have searched the existing issues required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index be79d34ae..b8f58ab60 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://kubernetes.slack.com/archives/CFFDS2Z7F about: "Join us for questions, answers or prometheus-operator related chat. Please do create issues on Github for better collaboration. If you don't have an account, sign up at https://kubernetes.slack.com" - name: "Question via prometheus-operator discussions (similar to Stack Overflow)" - url: https://github.com/prometheus-operator/prometheus-operator/discussions + url: https://github.com/rhobs/obo-prometheus-operator/discussions about: "Please ask and answer questions here for async response." diff --git a/.github/workflows/e2e-feature-gated.yaml b/.github/workflows/e2e-feature-gated.yaml index e2d4c3c7e..8c4aa79e1 100644 --- a/.github/workflows/e2e-feature-gated.yaml +++ b/.github/workflows/e2e-feature-gated.yaml @@ -49,9 +49,9 @@ jobs: kubectl cluster-info - name: Load images run: | - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-operator:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-config-reloader:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/admission-webhook:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-operator:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-config-reloader:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-admission-webhook:$(git rev-parse --short HEAD) kubectl apply -f scripts/kind-rbac.yaml - name: Run tests run: > diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 5b035ac22..6c36aae29 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -83,9 +83,9 @@ jobs: kubectl cluster-info - name: Load images run: | - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-operator:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-config-reloader:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/admission-webhook:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-operator:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-config-reloader:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-admission-webhook:$(git rev-parse --short HEAD) kubectl apply -f scripts/kind-rbac.yaml - name: Run tests run: > diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index 7ce9e7a62..000000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,58 +0,0 @@ -name: publish -on: - workflow_dispatch: - push: - branches: - - 'release-*' - - 'master' - - 'main' - tags: - - 'v*' - - '!pkg*' - -jobs: - publish: - name: Publish container images - - permissions: - id-token: write # needed to sign images with cosign. - packages: write # needed to push images to ghcr.io. - - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Import environment variables from file - run: cat ".github/env" >> $GITHUB_ENV - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: '${{ env.golang-version }}' - check-latest: true - - name: Install cosign - uses: sigstore/cosign-installer@main - - name: Check the Docker version - run: docker version - - name: Check the cosign version - run: cosign version - - name: Install crane - uses: imjasonh/setup-crane@v0.4 - - name: Login to quay.io - uses: docker/login-action@v3 - with: - registry: quay.io - username: ${{ secrets.quay_username }} - password: ${{ secrets.quay_password }} - - name: Login to ghcr.io - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Cosign login - run: | - echo "${{ secrets.GITHUB_TOKEN }}" | cosign login -u ${{ github.repository_owner }} --password-stdin ghcr.io - echo "${{ secrets.quay_password }}" | cosign login -u ${{ secrets.quay_username }} --password-stdin quay.io - - name: Build images and push - run: ./scripts/push-docker-image.sh diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 0b08fde18..000000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: release -on: - release: - types: - - created - -jobs: - upload-assets: - runs-on: ubuntu-latest - name: Upload release assets - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Import environment variables from file - run: cat ".github/env" >> $GITHUB_ENV - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: '${{ env.golang-version }}' - check-latest: true - - name: Upload bundle.yaml to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: bundle.yaml - asset_name: bundle.yaml - tag: ${{ github.ref }} - overwrite: true - - name: Generate stripped down version of CRDs - run: make stripped-down-crds.yaml - - name: Upload stripped-down-crds.yaml to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: stripped-down-crds.yaml - asset_name: stripped-down-crds.yaml - tag: ${{ github.ref }} - overwrite: true diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml deleted file mode 100644 index a2d657a75..000000000 --- a/.github/workflows/stale.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: 'Close stale issues and PRs' -on: - schedule: - - cron: '30 1 * * *' - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v9 - with: - stale-issue-message: 'This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.' - close-issue-message: 'This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid.' - close-pr-message: "This pull request is being closed because it had no activity in the last 180 days. This is not a signal from the maintainers that the PR has no value. We appreciate the time and effort that you put into this work. If you're willing to re-open it, the maintainers will do their best to review it." - days-before-stale: 60 - days-before-issue-close: 120 - days-before-pr-close: 180 - exempt-issue-labels: 'kind/feature,help wanted,kind/bug,kind/documentation,needs-triage' - stale-issue-label: 'stale' - stale-pr-label: 'stale' - operations-per-run: 500 diff --git a/.github/workflows/test-prom-version-upgrade.yaml b/.github/workflows/test-prom-version-upgrade.yaml index 304cb5d00..e7ee67db6 100644 --- a/.github/workflows/test-prom-version-upgrade.yaml +++ b/.github/workflows/test-prom-version-upgrade.yaml @@ -35,9 +35,9 @@ jobs: kubectl get pods -A - name: Load images run: | - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-operator:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-config-reloader:$(git rev-parse --short HEAD) - kind load docker-image -n e2e quay.io/prometheus-operator/admission-webhook:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-operator:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-prometheus-config-reloader:$(git rev-parse --short HEAD) + kind load docker-image -n e2e quay.io/rhobs/obo-admission-webhook:$(git rev-parse --short HEAD) kubectl apply -f scripts/kind-rbac.yaml - name: Run tests run: > diff --git a/.golangci.yml b/.golangci.yml index b8ebefe17..ce0951645 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,7 +28,7 @@ linters-settings: sections: - standard - default - - prefix(github.com/prometheus-operator/prometheus-operator) + - prefix(github.com/rhobs/obo-prometheus-operator) depguard: rules: forbid-pkg-errors: diff --git a/.mdox.validate.yaml b/.mdox.validate.yaml index 76221fada..adf4aa4b4 100644 --- a/.mdox.validate.yaml +++ b/.mdox.validate.yaml @@ -20,7 +20,7 @@ validators: - regex: 'https:\/\/github\.com\/prometheus-operator\/prometheus-operator\/releases' type: "ignore" # Ignore GitHub container packages link as it returns 404 in curl, but works in browser - - regex: 'https://github.com/prometheus-operator/prometheus-operator/pkgs/container/prometheus-operator' + - regex: 'https://github.com/rhobs/obo-prometheus-operator/pkgs/container/prometheus-operator' type: "ignore" # Ignore links to /img/ because the generated content will resolve them correctly. - regex: '/img/.+' @@ -29,5 +29,5 @@ validators: - regex: 'https:\/\/twitter.com\/PromOperator' type: ignore # Ignore anchor links pointing to the API documentation which are HTML tags and not supported by mdox. - - regex: 'api\.md#monitoring\.coreos\.com/v1\.(BasicAuth|PrometheusSpec|StorageSpec)$' + - regex: 'api\.md#monitoring\.rhobs/v1\.(BasicAuth|PrometheusSpec|StorageSpec)$' type: ignore diff --git a/ADOPTERS.md b/ADOPTERS.md index 2abb80626..e825a9128 100644 --- a/ADOPTERS.md +++ b/ADOPTERS.md @@ -25,7 +25,7 @@ Details (optional): This document tracks people and use cases for the Prometheus Operator in production. By creating a list of production use cases we hope to build a community of advisors that we can reach out to with experience using various the Prometheus Operator applications, operation environments, and cluster sizes. The Prometheus Operator development team may reach out periodically to check-in on how the Prometheus Operator is working in the field and update this list. -Go ahead and [add your organization](https://github.com/prometheus-operator/prometheus-operator/edit/main/ADOPTERS.md) to the list. +Go ahead and [add your organization](https://github.com/rhobs/obo-prometheus-operator/edit/main/ADOPTERS.md) to the list. ## AuthZed diff --git a/Dockerfile b/Dockerfile index 12ea770a2..390616fc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY operator /bin/operator # On busybox 'nobody' has uid `65534' USER 65534 -LABEL org.opencontainers.image.source="https://github.com/prometheus-operator/prometheus-operator" \ +LABEL org.opencontainers.image.source="https://github.com/rhobs/obo-prometheus-operator" \ org.opencontainers.image.url="https://prometheus-operator.dev/" \ org.opencontainers.image.documentation="https://prometheus-operator.dev/" \ org.opencontainers.image.licenses="Apache-2.0" diff --git a/Documentation/additional-scrape-config.md b/Documentation/additional-scrape-config.md index 33f388b40..9d2ab5809 100644 --- a/Documentation/additional-scrape-config.md +++ b/Documentation/additional-scrape-config.md @@ -40,7 +40,7 @@ kubectl apply -f additional-scrape-configs.yaml -n monitoring Finally, reference this additional configuration in your `prometheus.yaml` CRD. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus @@ -61,5 +61,5 @@ NOTE: Use only one secret for ALL additional scrape configurations. ## Additional References -* [Prometheus Spec](api.md#monitoring.coreos.com/v1.PrometheusSpec) +* [Prometheus Spec](api.md#monitoring.rhobs/v1.PrometheusSpec) * [Additional Scrape Configs](../example/additional-scrape-configs) diff --git a/Documentation/api.md b/Documentation/api.md index a16940d16..c83d4158f 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -11,33 +11,33 @@ toc: true

Packages:

-

monitoring.coreos.com/v1

+

monitoring.rhobs/v1

Resource Types: -

Alertmanager +

Alertmanager

Alertmanager describes an Alertmanager cluster.

@@ -56,7 +56,7 @@ Resource Types: string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -85,7 +85,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + AlertmanagerSpec @@ -100,7 +100,7 @@ AlertmanagerSpec podMetadata
- + EmbeddedObjectMetadata @@ -296,7 +296,7 @@ size.

retention
- + GoDuration @@ -310,7 +310,7 @@ and must match the regular expression [0-9]+(ms|s|m|h) (millisecond storage
- + StorageSpec @@ -571,7 +571,7 @@ Needs to be provided for non RFC1918 1 addresses. clusterGossipInterval
- + GoDuration @@ -596,7 +596,7 @@ You should only set it when the Alertmanager cluster includes Alertmanager insta clusterPushpullInterval
- + GoDuration @@ -609,7 +609,7 @@ GoDuration clusterPeerTimeout
- + GoDuration @@ -659,7 +659,7 @@ Kubernetes meta/v1.LabelSelector alertmanagerConfigMatcherStrategy
- + AlertmanagerConfigMatcherStrategy @@ -702,7 +702,7 @@ This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling t hostAliases
- + []HostAlias @@ -715,7 +715,7 @@ This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling t web
- + AlertmanagerWebSpec @@ -728,7 +728,7 @@ AlertmanagerWebSpec alertmanagerConfiguration
- + AlertmanagerConfiguration @@ -777,7 +777,7 @@ that this behaviour may break at any time without notice.

status
- + AlertmanagerStatus @@ -790,7 +790,7 @@ More info: -

PodMonitor +

PodMonitor

PodMonitor defines monitoring for a set of pods.

@@ -809,7 +809,7 @@ More info: string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -838,7 +838,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + PodMonitorSpec @@ -882,7 +882,7 @@ associated Kubernetes Pod object onto the ingested metrics.

podMetricsEndpoints
- + []PodMetricsEndpoint @@ -909,7 +909,7 @@ Kubernetes meta/v1.LabelSelector namespaceSelector
- + NamespaceSelector @@ -949,7 +949,7 @@ be accepted.

scrapeProtocols
- + []ScrapeProtocol @@ -1019,7 +1019,7 @@ that will be kept in memory. 0 means no limit.

attachMetadata
- + AttachMetadata @@ -1047,7 +1047,7 @@ string bodySizeLimit
- + ByteSize @@ -1064,7 +1064,7 @@ of uncompressed response body that will be accepted by Prometheus.

-

Probe +

Probe

Probe defines monitoring for a set of static targets or ingresses.

@@ -1083,7 +1083,7 @@ of uncompressed response body that will be accepted by Prometheus.

string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -1112,7 +1112,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + ProbeSpec @@ -1137,7 +1137,7 @@ string prober
- + ProberSpec @@ -1164,7 +1164,7 @@ Example module configuring in the blackbox exporter: targets
- + ProbeTargets @@ -1177,7 +1177,7 @@ ProbeTargets interval
- + Duration @@ -1191,7 +1191,7 @@ If not specified Prometheus’ global scrape interval is used.

scrapeTimeout
- + Duration @@ -1205,7 +1205,7 @@ If not specified, the Prometheus global scrape timeout is used.

tlsConfig
- + SafeTLSConfig @@ -1233,7 +1233,7 @@ the Prometheus Operator.

basicAuth
- + BasicAuth @@ -1247,7 +1247,7 @@ More info: + OAuth2 @@ -1260,7 +1260,7 @@ OAuth2 metricRelabelings
- + []RelabelConfig @@ -1273,7 +1273,7 @@ OAuth2 authorization
- + SafeAuthorization @@ -1310,7 +1310,7 @@ uint64 scrapeProtocols
- + []ScrapeProtocol @@ -1393,7 +1393,7 @@ string -

Prometheus +

Prometheus

Prometheus defines a Prometheus deployment.

@@ -1412,7 +1412,7 @@ string string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -1441,7 +1441,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + PrometheusSpec @@ -1456,7 +1456,7 @@ PrometheusSpec podMetadata
- + EmbeddedObjectMetadata @@ -1792,7 +1792,7 @@ string scrapeInterval
- + Duration @@ -1806,7 +1806,7 @@ Duration scrapeTimeout
- + Duration @@ -1819,7 +1819,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -1868,7 +1868,7 @@ For more information see + []EnableFeature @@ -1914,7 +1914,7 @@ for use with kubectl proxy.

storage
- + StorageSpec @@ -1974,7 +1974,7 @@ It requires enabling the StatefulSetAutoDeletePVC feature gate.

web
- + PrometheusWebSpec @@ -2094,7 +2094,7 @@ Kubernetes core/v1.Affinity topologySpreadConstraints
- + []TopologySpreadConstraint @@ -2108,7 +2108,7 @@ Kubernetes core/v1.Affinity remoteWrite
- + []RemoteWriteSpec @@ -2225,7 +2225,7 @@ Prometheus after the upgrade.

apiserverConfig
- + APIServerConfig @@ -2266,7 +2266,7 @@ Default: “web”

arbitraryFSAccessThroughSMs
- + ArbitraryFSAccessThroughSMsConfig @@ -2481,7 +2481,7 @@ If Prometheus version is >= 2.45.0 and the enforcedKeepDroppedTargets enforcedBodySizeLimit
- + ByteSize @@ -2519,7 +2519,7 @@ enabling the StatefulSetMinReadySeconds feature gate.

hostAliases
- + []HostAlias @@ -2534,7 +2534,7 @@ hosts file if specified.

additionalArgs
- + []Argument @@ -2569,7 +2569,7 @@ bool excludedFromEnforcement
- + []ObjectReference @@ -2613,7 +2613,7 @@ PodMonitor and ServiceMonitor objects.

tracingConfig
- + PrometheusTracingConfig @@ -2629,7 +2629,7 @@ in a breaking way.

bodySizeLimit
- + ByteSize @@ -2737,7 +2737,7 @@ If you want to enforce a maximum limit for all scrape objects, refer to enforced reloadStrategy
- + ReloadStrategyType @@ -2765,7 +2765,7 @@ If set, the value should be greater than 60 (seconds). Otherwise it will be equa scrapeClasses
- + []ScrapeClass @@ -2814,7 +2814,7 @@ string retention
- + Duration @@ -2828,7 +2828,7 @@ Duration retentionSize
- + ByteSize @@ -2852,7 +2852,7 @@ bool rules
- + Rules @@ -2865,7 +2865,7 @@ Rules prometheusRulesExcludedFromEnforce
- + []PrometheusRuleExcludeConfig @@ -2914,7 +2914,7 @@ namespace only.

query
- + QuerySpec @@ -2928,7 +2928,7 @@ QuerySpec alerting
- + AlertingSpec @@ -2990,7 +2990,7 @@ Prometheus after the upgrade.

remoteRead
- + []RemoteReadSpec @@ -3004,7 +3004,7 @@ Prometheus after the upgrade.

thanos
- + ThanosSpec @@ -3051,7 +3051,7 @@ merge in Prometheus.

exemplars
- + Exemplars @@ -3066,7 +3066,7 @@ It requires to enable the exemplar-storage feature flag to be effec evaluationInterval
- + Duration @@ -3097,7 +3097,7 @@ ensure only clients authorized to perform these actions can do so.

tsdb
- + TSDBSpec @@ -3114,7 +3114,7 @@ TSDBSpec status
- + PrometheusStatus @@ -3127,7 +3127,7 @@ More info: -

PrometheusRule +

PrometheusRule

PrometheusRule defines recording and alerting rules for a Prometheus instance

@@ -3146,7 +3146,7 @@ More info: string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -3175,7 +3175,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + PrometheusRuleSpec @@ -3189,7 +3189,7 @@ PrometheusRuleSpec groups
- + []RuleGroup @@ -3203,7 +3203,7 @@ PrometheusRuleSpec -

ServiceMonitor +

ServiceMonitor

ServiceMonitor defines monitoring for a set of services.

@@ -3222,7 +3222,7 @@ PrometheusRuleSpec string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -3251,7 +3251,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + ServiceMonitorSpec @@ -3310,7 +3310,7 @@ associated Kubernetes Pod object onto the ingested metrics.

endpoints
- + []Endpoint @@ -3337,7 +3337,7 @@ Kubernetes meta/v1.LabelSelector namespaceSelector
- + NamespaceSelector @@ -3364,7 +3364,7 @@ that will be accepted.

scrapeProtocols
- + []ScrapeProtocol @@ -3447,7 +3447,7 @@ that will be kept in memory. 0 means no limit.

attachMetadata
- + AttachMetadata @@ -3475,7 +3475,7 @@ string bodySizeLimit
- + ByteSize @@ -3492,7 +3492,7 @@ of uncompressed response body that will be accepted by Prometheus.

-

ThanosRuler +

ThanosRuler

ThanosRuler defines a ThanosRuler deployment.

@@ -3511,7 +3511,7 @@ of uncompressed response body that will be accepted by Prometheus.

string -monitoring.coreos.com/v1 +monitoring.rhobs/v1 @@ -3540,7 +3540,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + ThanosRulerSpec @@ -3566,7 +3566,7 @@ string podMetadata
- + EmbeddedObjectMetadata @@ -3749,7 +3749,7 @@ Thanos Ruler Pods.

storage
- + StorageSpec @@ -3926,7 +3926,7 @@ being created.

excludedFromEnforcement
- + []ObjectReference @@ -3941,7 +3941,7 @@ Applies only if enforcedNamespaceLabel set to true.

prometheusRulesExcludedFromEnforce
- + []PrometheusRuleExcludeConfig @@ -3991,7 +3991,7 @@ Defaults to web.

evaluationInterval
- + Duration @@ -4004,7 +4004,7 @@ Duration retention
- + Duration @@ -4136,7 +4136,7 @@ string grpcServerTlsConfig
- + TLSConfig @@ -4208,7 +4208,7 @@ When used alongside with AlertRelabelConfigs, alertRelabelConfigFile takes prece hostAliases
- + []HostAlias @@ -4221,7 +4221,7 @@ When used alongside with AlertRelabelConfigs, alertRelabelConfigFile takes prece additionalArgs
- + []Argument @@ -4241,7 +4241,7 @@ fail and an error will be logged.

web
- + ThanosRulerWebSpec @@ -4257,7 +4257,7 @@ ThanosRulerWebSpec status
- + ThanosRulerStatus @@ -4270,10 +4270,10 @@ More info: -

APIServerConfig +

APIServerConfig

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

APIServerConfig defines how the Prometheus server connects to the Kubernetes API server.

@@ -4303,7 +4303,7 @@ by an optional port number.

basicAuth
- + BasicAuth @@ -4332,7 +4332,7 @@ string tlsConfig
- + TLSConfig @@ -4346,7 +4346,7 @@ TLSConfig authorization
- + Authorization @@ -4373,10 +4373,10 @@ in clear-text. Prefer using authorization.

-

AdditionalLabelSelectors +

AdditionalLabelSelectors (string alias)

-(Appears on:TopologySpreadConstraint) +(Appears on:TopologySpreadConstraint)

@@ -4395,10 +4395,10 @@ in clear-text. Prefer using authorization.

-

AlertingSpec +

AlertingSpec

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

AlertingSpec defines parameters for alerting configuration of Prometheus servers.

@@ -4415,7 +4415,7 @@ in clear-text. Prefer using authorization.

alertmanagers
- + []AlertmanagerEndpoints @@ -4426,10 +4426,10 @@ in clear-text. Prefer using authorization.

-

AlertmanagerConfigMatcherStrategy +

AlertmanagerConfigMatcherStrategy

-(Appears on:AlertmanagerSpec) +(Appears on:AlertmanagerSpec)

AlertmanagerConfigMatcherStrategy defines the strategy used by AlertmanagerConfig objects to match alerts.

@@ -4457,10 +4457,10 @@ Default is OnNamespace.

-

AlertmanagerConfiguration +

AlertmanagerConfiguration

-(Appears on:AlertmanagerSpec) +(Appears on:AlertmanagerSpec)

AlertmanagerConfiguration defines the Alertmanager configuration.

@@ -4490,7 +4490,7 @@ The operator will not enforce a namespace label for routes and inhi global
- + AlertmanagerGlobalConfig @@ -4504,7 +4504,7 @@ AlertmanagerGlobalConfig templates
- + []SecretOrConfigMap @@ -4516,10 +4516,10 @@ AlertmanagerGlobalConfig -

AlertmanagerEndpoints +

AlertmanagerEndpoints

-(Appears on:AlertingSpec) +(Appears on:AlertingSpec)

AlertmanagerEndpoints defines a selection of a single Endpoints object @@ -4594,7 +4594,7 @@ string tlsConfig
- + TLSConfig @@ -4608,7 +4608,7 @@ TLSConfig basicAuth
- + BasicAuth @@ -4636,7 +4636,7 @@ string authorization
- + SafeAuthorization @@ -4651,7 +4651,7 @@ SafeAuthorization sigv4
- + Sigv4 @@ -4679,7 +4679,7 @@ It can be “v1” or “v2”.

timeout
- + Duration @@ -4705,7 +4705,7 @@ bool relabelings
- + []RelabelConfig @@ -4719,7 +4719,7 @@ bool alertRelabelings
- + []RelabelConfig @@ -4732,10 +4732,10 @@ It requires Prometheus >= v2.51.0.

-

AlertmanagerGlobalConfig +

AlertmanagerGlobalConfig

-(Appears on:AlertmanagerConfiguration) +(Appears on:AlertmanagerConfiguration)

AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. @@ -4753,7 +4753,7 @@ See + GlobalSMTPConfig @@ -4767,7 +4767,7 @@ GlobalSMTPConfig resolveTimeout
- + Duration @@ -4782,7 +4782,7 @@ This has no impact on alerts from Prometheus, as they always include EndsAt.

httpConfig
- + HTTPConfig @@ -4843,10 +4843,10 @@ string -

AlertmanagerSpec +

AlertmanagerSpec

-(Appears on:Alertmanager) +(Appears on:Alertmanager)

AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster. More info: @@ -4864,7 +4864,7 @@ string podMetadata
- + EmbeddedObjectMetadata @@ -5060,7 +5060,7 @@ size.

retention
- + GoDuration @@ -5074,7 +5074,7 @@ and must match the regular expression [0-9]+(ms|s|m|h) (millisecond storage
- + StorageSpec @@ -5335,7 +5335,7 @@ Needs to be provided for non RFC1918 1 addresses. clusterGossipInterval
- + GoDuration @@ -5360,7 +5360,7 @@ You should only set it when the Alertmanager cluster includes Alertmanager insta clusterPushpullInterval
- + GoDuration @@ -5373,7 +5373,7 @@ GoDuration clusterPeerTimeout
- + GoDuration @@ -5423,7 +5423,7 @@ Kubernetes meta/v1.LabelSelector alertmanagerConfigMatcherStrategy
- + AlertmanagerConfigMatcherStrategy @@ -5466,7 +5466,7 @@ This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling t hostAliases
- + []HostAlias @@ -5479,7 +5479,7 @@ This is an alpha field from kubernetes 1.22 until 1.24 which requires enabling t web
- + AlertmanagerWebSpec @@ -5492,7 +5492,7 @@ AlertmanagerWebSpec alertmanagerConfiguration
- + AlertmanagerConfiguration @@ -5536,10 +5536,10 @@ that this behaviour may break at any time without notice.

-

AlertmanagerStatus +

AlertmanagerStatus

-(Appears on:Alertmanager) +(Appears on:Alertmanager)

AlertmanagerStatus is the most recent observed status of the Alertmanager cluster. Read-only. @@ -5617,7 +5617,7 @@ int32 conditions
- + []Condition @@ -5629,10 +5629,10 @@ int32 -

AlertmanagerWebSpec +

AlertmanagerWebSpec

-(Appears on:AlertmanagerSpec) +(Appears on:AlertmanagerSpec)

AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.

@@ -5649,7 +5649,7 @@ int32 tlsConfig
- + WebTLSConfig @@ -5662,7 +5662,7 @@ WebTLSConfig httpConfig
- + WebHTTPConfig @@ -5699,10 +5699,10 @@ uint32 -

ArbitraryFSAccessThroughSMsConfig +

ArbitraryFSAccessThroughSMsConfig

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

ArbitraryFSAccessThroughSMsConfig enables users to configure, whether @@ -5734,10 +5734,10 @@ bool -

Argument +

Argument

-(Appears on:CommonPrometheusFields, ThanosRulerSpec, ThanosSpec) +(Appears on:CommonPrometheusFields, ThanosRulerSpec, ThanosSpec)

Argument as part of the AdditionalArgs list.

@@ -5774,10 +5774,10 @@ string -

AttachMetadata +

AttachMetadata

-(Appears on:PodMonitorSpec, ServiceMonitorSpec) +(Appears on:PodMonitorSpec, ServiceMonitorSpec)

@@ -5804,10 +5804,10 @@ bool -

Authorization +

Authorization

-(Appears on:APIServerConfig, RemoteReadSpec, RemoteWriteSpec) +(Appears on:APIServerConfig, RemoteReadSpec, RemoteWriteSpec)

@@ -5858,7 +5858,7 @@ string -

AuthorizationValidationError +

AuthorizationValidationError

AuthorizationValidationError is returned by Authorization.Validate() @@ -5884,10 +5884,10 @@ string -

AzureAD +

AzureAD

-(Appears on:RemoteWriteSpec) +(Appears on:RemoteWriteSpec)

AzureAD defines the configuration for remote write’s azuread parameters.

@@ -5916,7 +5916,7 @@ string managedIdentity
- + ManagedIdentity @@ -5931,7 +5931,7 @@ Cannot be set at the same time as oauth or sdk.

oauth
- + AzureOAuth @@ -5947,7 +5947,7 @@ Cannot be set at the same time as managedIdentity or sdk sdk
- + AzureSDK @@ -5962,10 +5962,10 @@ Cannot be set at the same time as oauth or managedIdentity -

AzureOAuth +

AzureOAuth

-(Appears on:AzureAD) +(Appears on:AzureAD)

AzureOAuth defines the Azure OAuth settings.

@@ -6015,10 +6015,10 @@ string -

AzureSDK +

AzureSDK

-(Appears on:AzureAD) +(Appears on:AzureAD)

AzureSDK is used to store azure SDK config values.

@@ -6045,10 +6045,10 @@ string -

BasicAuth +

BasicAuth

-(Appears on:APIServerConfig, AlertmanagerEndpoints, Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, HTTPConfig) +(Appears on:APIServerConfig, AlertmanagerEndpoints, Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, HTTPConfig)

BasicAuth configures HTTP Basic Authentication settings.

@@ -6091,19 +6091,19 @@ authentication.

-

ByteSize +

ByteSize (string alias)

-(Appears on:CommonPrometheusFields, PodMonitorSpec, PrometheusSpec, ServiceMonitorSpec) +(Appears on:CommonPrometheusFields, PodMonitorSpec, PrometheusSpec, ServiceMonitorSpec)

ByteSize is a valid memory size type based on powers-of-2, so 1KB is 1024B. Supported units: B, KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB Ex: 512MB.

-

CommonPrometheusFields +

CommonPrometheusFields

-(Appears on:PrometheusSpec, PrometheusAgentSpec) +(Appears on:PrometheusSpec, PrometheusAgentSpec)

CommonPrometheusFields are the options available to both the Prometheus server and agent.

@@ -6120,7 +6120,7 @@ Supported units: B, KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB Ex: podMetadata
- + EmbeddedObjectMetadata @@ -6456,7 +6456,7 @@ string scrapeInterval
- + Duration @@ -6470,7 +6470,7 @@ Duration scrapeTimeout
- + Duration @@ -6483,7 +6483,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -6532,7 +6532,7 @@ For more information see + []EnableFeature @@ -6578,7 +6578,7 @@ for use with kubectl proxy.

storage
- + StorageSpec @@ -6638,7 +6638,7 @@ It requires enabling the StatefulSetAutoDeletePVC feature gate.

web
- + PrometheusWebSpec @@ -6758,7 +6758,7 @@ Kubernetes core/v1.Affinity topologySpreadConstraints
- + []TopologySpreadConstraint @@ -6772,7 +6772,7 @@ Kubernetes core/v1.Affinity remoteWrite
- + []RemoteWriteSpec @@ -6889,7 +6889,7 @@ Prometheus after the upgrade.

apiserverConfig
- + APIServerConfig @@ -6930,7 +6930,7 @@ Default: “web”

arbitraryFSAccessThroughSMs
- + ArbitraryFSAccessThroughSMsConfig @@ -7145,7 +7145,7 @@ If Prometheus version is >= 2.45.0 and the enforcedKeepDroppedTargets enforcedBodySizeLimit
- + ByteSize @@ -7183,7 +7183,7 @@ enabling the StatefulSetMinReadySeconds feature gate.

hostAliases
- + []HostAlias @@ -7198,7 +7198,7 @@ hosts file if specified.

additionalArgs
- + []Argument @@ -7233,7 +7233,7 @@ bool excludedFromEnforcement
- + []ObjectReference @@ -7277,7 +7277,7 @@ PodMonitor and ServiceMonitor objects.

tracingConfig
- + PrometheusTracingConfig @@ -7293,7 +7293,7 @@ in a breaking way.

bodySizeLimit
- + ByteSize @@ -7401,7 +7401,7 @@ If you want to enforce a maximum limit for all scrape objects, refer to enforced reloadStrategy
- + ReloadStrategyType @@ -7429,7 +7429,7 @@ If set, the value should be greater than 60 (seconds). Otherwise it will be equa scrapeClasses
- + []ScrapeClass @@ -7443,10 +7443,10 @@ in a breaking way.

-

Condition +

Condition

-(Appears on:AlertmanagerStatus, PrometheusStatus, ThanosRulerStatus) +(Appears on:AlertmanagerStatus, PrometheusStatus, ThanosRulerStatus)

Condition represents the state of the resources associated with the @@ -7464,7 +7464,7 @@ Prometheus, Alertmanager or ThanosRuler resource.

type
- + ConditionType @@ -7477,7 +7477,7 @@ ConditionType status
- + ConditionStatus @@ -7540,10 +7540,10 @@ instance.

-

ConditionStatus +

ConditionStatus (string alias)

-(Appears on:Condition) +(Appears on:Condition)

@@ -7564,10 +7564,10 @@ instance.

-

ConditionType +

ConditionType (string alias)

-(Appears on:Condition) +(Appears on:Condition)

@@ -7597,10 +7597,10 @@ The possible status values for this condition type are: -

CoreV1TopologySpreadConstraint +

CoreV1TopologySpreadConstraint

-(Appears on:TopologySpreadConstraint) +(Appears on:TopologySpreadConstraint)

@@ -7795,20 +7795,20 @@ be ignored. A null or empty list means only match against labelSelector.

-

Duration +

Duration (string alias)

-(Appears on:AlertmanagerEndpoints, AlertmanagerGlobalConfig, CommonPrometheusFields, Endpoint, MetadataConfig, PodMetricsEndpoint, ProbeSpec, PrometheusSpec, PrometheusTracingConfig, QuerySpec, QueueConfig, RemoteReadSpec, RemoteWriteSpec, Rule, RuleGroup, TSDBSpec, ThanosRulerSpec, ThanosSpec, AzureSDConfig, ConsulSDConfig, DNSSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EC2SDConfig, EurekaSDConfig, FileSDConfig, GCESDConfig, HTTPSDConfig, HetznerSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, OVHCloudSDConfig, OpenStackSDConfig, PuppetDBSDConfig, PushoverConfig, ScrapeConfigSpec, PushoverConfig) +(Appears on:AlertmanagerEndpoints, AlertmanagerGlobalConfig, CommonPrometheusFields, Endpoint, MetadataConfig, PodMetricsEndpoint, ProbeSpec, PrometheusSpec, PrometheusTracingConfig, QuerySpec, QueueConfig, RemoteReadSpec, RemoteWriteSpec, Rule, RuleGroup, TSDBSpec, ThanosRulerSpec, ThanosSpec, AzureSDConfig, ConsulSDConfig, DNSSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EC2SDConfig, EurekaSDConfig, FileSDConfig, GCESDConfig, HTTPSDConfig, HetznerSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, OVHCloudSDConfig, OpenStackSDConfig, PuppetDBSDConfig, PushoverConfig, ScrapeConfigSpec, PushoverConfig)

Duration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function. Supported units: y, w, d, h, m, s, ms Examples: 30s, 1m, 1h20m15s, 15d

-

EmbeddedObjectMetadata +

EmbeddedObjectMetadata

-(Appears on:AlertmanagerSpec, CommonPrometheusFields, EmbeddedPersistentVolumeClaim, ThanosRulerSpec) +(Appears on:AlertmanagerSpec, CommonPrometheusFields, EmbeddedPersistentVolumeClaim, ThanosRulerSpec)

EmbeddedObjectMetadata contains a subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta @@ -7871,10 +7871,10 @@ More info: http://kub -

EmbeddedPersistentVolumeClaim +

EmbeddedPersistentVolumeClaim

-(Appears on:StorageSpec) +(Appears on:StorageSpec)

EmbeddedPersistentVolumeClaim is an embedded version of k8s.io/api/core/v1.PersistentVolumeClaim. @@ -7892,7 +7892,7 @@ It contains TypeMeta and a reduced ObjectMeta.

metadata
- + EmbeddedObjectMetadata @@ -8103,17 +8103,17 @@ Kubernetes core/v1.PersistentVolumeClaimStatus -

EnableFeature +

EnableFeature (string alias)

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

-

Endpoint +

Endpoint

-(Appears on:ServiceMonitorSpec) +(Appears on:ServiceMonitorSpec)

Endpoint defines an endpoint serving Prometheus metrics to be scraped by @@ -8195,7 +8195,7 @@ map[string][]string interval
- + Duration @@ -8209,7 +8209,7 @@ Duration scrapeTimeout
- + Duration @@ -8224,7 +8224,7 @@ than the target’s scrape interval value in which the latter is used.

tlsConfig
- + TLSConfig @@ -8267,7 +8267,7 @@ as the ServiceMonitor object and readable by the Prometheus Operator.

authorization
- + SafeAuthorization @@ -8323,7 +8323,7 @@ Has no effect if honorTimestamps is false.

basicAuth
- + BasicAuth @@ -8339,7 +8339,7 @@ scraping the target.

oauth2
- + OAuth2 @@ -8355,7 +8355,7 @@ OAuth2 metricRelabelings
- + []RelabelConfig @@ -8370,7 +8370,7 @@ samples before ingestion.

relabelings
- + []RelabelConfig @@ -8439,10 +8439,10 @@ Succeeded state) are dropped during the target discovery.

-

Exemplars +

Exemplars

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

@@ -8472,10 +8472,10 @@ than zero disables the storage.

-

GlobalSMTPConfig +

GlobalSMTPConfig

-(Appears on:AlertmanagerGlobalConfig) +(Appears on:AlertmanagerGlobalConfig)

GlobalSMTPConfig configures global SMTP parameters. @@ -8505,7 +8505,7 @@ string smartHost
- + HostPort @@ -8594,20 +8594,20 @@ Note that Go does not support unencrypted connections to remote SMTP endpoints.< -

GoDuration +

GoDuration (string alias)

-(Appears on:AlertmanagerSpec) +(Appears on:AlertmanagerSpec)

GoDuration is a valid time duration that can be parsed by Go’s time.ParseDuration() function. Supported units: h, m, s, ms Examples: 45ms, 30s, 1m, 1h20m15s

-

HTTPConfig +

HTTPConfig

-(Appears on:AlertmanagerGlobalConfig) +(Appears on:AlertmanagerGlobalConfig)

HTTPConfig defines a client HTTP configuration. @@ -8625,7 +8625,7 @@ See + SafeAuthorization @@ -8640,7 +8640,7 @@ This is mutually exclusive with BasicAuth and is only available starting from Al basicAuth
- + BasicAuth @@ -8655,7 +8655,7 @@ This is mutually exclusive with Authorization. If both are defined, BasicAuth ta oauth2
- + OAuth2 @@ -8686,7 +8686,7 @@ object and accessible by the Prometheus Operator.

tlsConfig
- + SafeTLSConfig @@ -8722,10 +8722,10 @@ bool -

HostAlias +

HostAlias

-(Appears on:AlertmanagerSpec, CommonPrometheusFields, ThanosRulerSpec) +(Appears on:AlertmanagerSpec, CommonPrometheusFields, ThanosRulerSpec)

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the @@ -8763,10 +8763,10 @@ string -

HostPort +

HostPort

-(Appears on:GlobalSMTPConfig) +(Appears on:GlobalSMTPConfig)

HostPort represents a “host:port” network address.

@@ -8803,19 +8803,19 @@ string -

LabelName +

LabelName (string alias)

-(Appears on:RelabelConfig) +(Appears on:RelabelConfig)

LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.

-

ManagedIdentity +

ManagedIdentity

-(Appears on:AzureAD) +(Appears on:AzureAD)

ManagedIdentity defines the Azure User-assigned Managed identity.

@@ -8841,10 +8841,10 @@ string -

MetadataConfig +

MetadataConfig

-(Appears on:RemoteWriteSpec) +(Appears on:RemoteWriteSpec)

MetadataConfig configures the sending of series metadata to the remote storage.

@@ -8872,7 +8872,7 @@ bool sendInterval
- + Duration @@ -8883,10 +8883,10 @@ Duration -

NamespaceSelector +

NamespaceSelector

-(Appears on:PodMonitorSpec, ProbeTargetIngress, ServiceMonitorSpec) +(Appears on:PodMonitorSpec, ProbeTargetIngress, ServiceMonitorSpec)

NamespaceSelector is a selector for selecting either all namespaces or a @@ -8928,10 +8928,10 @@ list restricting them.

-

NonEmptyDuration +

NonEmptyDuration (string alias)

-(Appears on:Rule) +(Appears on:Rule)

NonEmptyDuration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function. @@ -8939,10 +8939,10 @@ Compared to Duration, NonEmptyDuration enforces a minimum length of 1. Supported units: y, w, d, h, m, s, ms Examples: 30s, 1m, 1h20m15s, 15d

-

OAuth2 +

OAuth2

-(Appears on:Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, HTTPConfig) +(Appears on:Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, HTTPConfig)

OAuth2 configures OAuth2 settings.

@@ -8959,7 +8959,7 @@ Examples: 30s, 1m, 1h20m15s, 15d clientId
- + SecretOrConfigMap @@ -9020,7 +9020,7 @@ URL.

-

OAuth2ValidationError +

OAuth2ValidationError

@@ -9044,10 +9044,10 @@ string -

ObjectReference +

ObjectReference

-(Appears on:CommonPrometheusFields, ThanosRulerSpec) +(Appears on:CommonPrometheusFields, ThanosRulerSpec)

ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.

@@ -9069,7 +9069,7 @@ string (Optional) -

Group of the referent. When not specified, it defaults to monitoring.coreos.com

+

Group of the referent. When not specified, it defaults to monitoring.rhobs

@@ -9109,10 +9109,10 @@ string -

PodMetricsEndpoint +

PodMetricsEndpoint

-(Appears on:PodMonitorSpec) +(Appears on:PodMonitorSpec)

PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by @@ -9194,7 +9194,7 @@ map[string][]string interval
- + Duration @@ -9208,7 +9208,7 @@ Duration scrapeTimeout
- + Duration @@ -9223,7 +9223,7 @@ than the target’s scrape interval value in which the latter is used.

tlsConfig
- + SafeTLSConfig @@ -9294,7 +9294,7 @@ Has no effect if honorTimestamps is false.

basicAuth
- + BasicAuth @@ -9310,7 +9310,7 @@ scraping the target.

oauth2
- + OAuth2 @@ -9326,7 +9326,7 @@ OAuth2 authorization
- + SafeAuthorization @@ -9342,7 +9342,7 @@ scraping the target.

metricRelabelings
- + []RelabelConfig @@ -9357,7 +9357,7 @@ samples before ingestion.

relabelings
- + []RelabelConfig @@ -9426,10 +9426,10 @@ Succeeded state) are dropped during the target discovery.

-

PodMonitorSpec +

PodMonitorSpec

-(Appears on:PodMonitor) +(Appears on:PodMonitor)

PodMonitorSpec contains specification parameters for a PodMonitor.

@@ -9476,7 +9476,7 @@ associated Kubernetes Pod object onto the ingested metrics.

podMetricsEndpoints
- + []PodMetricsEndpoint @@ -9503,7 +9503,7 @@ Kubernetes meta/v1.LabelSelector namespaceSelector
- + NamespaceSelector @@ -9543,7 +9543,7 @@ be accepted.

scrapeProtocols
- + []ScrapeProtocol @@ -9613,7 +9613,7 @@ that will be kept in memory. 0 means no limit.

attachMetadata
- + AttachMetadata @@ -9641,7 +9641,7 @@ string bodySizeLimit
- + ByteSize @@ -9655,10 +9655,10 @@ of uncompressed response body that will be accepted by Prometheus.

-

ProbeSpec +

ProbeSpec

-(Appears on:Probe) +(Appears on:Probe)

ProbeSpec contains specification parameters for a Probe.

@@ -9686,7 +9686,7 @@ string prober
- + ProberSpec @@ -9713,7 +9713,7 @@ Example module configuring in the blackbox exporter: targets
- + ProbeTargets @@ -9726,7 +9726,7 @@ ProbeTargets interval
- + Duration @@ -9740,7 +9740,7 @@ If not specified Prometheus’ global scrape interval is used.

scrapeTimeout
- + Duration @@ -9754,7 +9754,7 @@ If not specified, the Prometheus global scrape timeout is used.

tlsConfig
- + SafeTLSConfig @@ -9782,7 +9782,7 @@ the Prometheus Operator.

basicAuth
- + BasicAuth @@ -9796,7 +9796,7 @@ More info: + OAuth2 @@ -9809,7 +9809,7 @@ OAuth2 metricRelabelings
- + []RelabelConfig @@ -9822,7 +9822,7 @@ OAuth2 authorization
- + SafeAuthorization @@ -9859,7 +9859,7 @@ uint64 scrapeProtocols
- + []ScrapeProtocol @@ -9939,10 +9939,10 @@ string -

ProbeTargetIngress +

ProbeTargetIngress

-(Appears on:ProbeTargets) +(Appears on:ProbeTargets)

ProbeTargetIngress defines the set of Ingress objects considered for probing. @@ -9973,7 +9973,7 @@ Kubernetes meta/v1.LabelSelector namespaceSelector
- + NamespaceSelector @@ -9986,7 +9986,7 @@ NamespaceSelector relabelingConfigs
- + []RelabelConfig @@ -10003,10 +10003,10 @@ More info: ProbeTargetStaticConfig +

ProbeTargetStaticConfig

-(Appears on:ProbeTargets) +(Appears on:ProbeTargets)

ProbeTargetStaticConfig defines the set of static targets considered for probing.

@@ -10045,7 +10045,7 @@ map[string]string relabelingConfigs
- + []RelabelConfig @@ -10058,10 +10058,10 @@ More info: ProbeTargets +

ProbeTargets

-(Appears on:ProbeSpec) +(Appears on:ProbeSpec)

ProbeTargets defines how to discover the probed targets. @@ -10080,7 +10080,7 @@ If both are defined, staticConfig takes precedence.

staticConfig
- + ProbeTargetStaticConfig @@ -10096,7 +10096,7 @@ More info: + ProbeTargetIngress @@ -10109,7 +10109,7 @@ If staticConfig is also defined, staticConfig takes pr -

ProbeTargetsValidationError +

ProbeTargetsValidationError

ProbeTargetsValidationError is returned by ProbeTargets.Validate() @@ -10135,10 +10135,10 @@ string -

ProberSpec +

ProberSpec

-(Appears on:ProbeSpec) +(Appears on:ProbeSpec)

ProberSpec contains specification parameters for the Prober used for probing.

@@ -10200,10 +10200,10 @@ string -

PrometheusRuleExcludeConfig +

PrometheusRuleExcludeConfig

-(Appears on:PrometheusSpec, ThanosRulerSpec) +(Appears on:PrometheusSpec, ThanosRulerSpec)

PrometheusRuleExcludeConfig enables users to configure excluded @@ -10242,10 +10242,10 @@ string -

PrometheusRuleSpec +

PrometheusRuleSpec

-(Appears on:PrometheusRule) +(Appears on:PrometheusRule)

PrometheusRuleSpec contains specification parameters for a Rule.

@@ -10262,7 +10262,7 @@ string groups
- + []RuleGroup @@ -10273,10 +10273,10 @@ string -

PrometheusSpec +

PrometheusSpec

-(Appears on:Prometheus) +(Appears on:Prometheus)

PrometheusSpec is a specification of the desired behavior of the Prometheus cluster. More info: @@ -10294,7 +10294,7 @@ string podMetadata
- + EmbeddedObjectMetadata @@ -10630,7 +10630,7 @@ string scrapeInterval
- + Duration @@ -10644,7 +10644,7 @@ Duration scrapeTimeout
- + Duration @@ -10657,7 +10657,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -10706,7 +10706,7 @@ For more information see + []EnableFeature @@ -10752,7 +10752,7 @@ for use with kubectl proxy.

storage
- + StorageSpec @@ -10812,7 +10812,7 @@ It requires enabling the StatefulSetAutoDeletePVC feature gate.

web
- + PrometheusWebSpec @@ -10932,7 +10932,7 @@ Kubernetes core/v1.Affinity topologySpreadConstraints
- + []TopologySpreadConstraint @@ -10946,7 +10946,7 @@ Kubernetes core/v1.Affinity remoteWrite
- + []RemoteWriteSpec @@ -11063,7 +11063,7 @@ Prometheus after the upgrade.

apiserverConfig
- + APIServerConfig @@ -11104,7 +11104,7 @@ Default: “web”

arbitraryFSAccessThroughSMs
- + ArbitraryFSAccessThroughSMsConfig @@ -11319,7 +11319,7 @@ If Prometheus version is >= 2.45.0 and the enforcedKeepDroppedTargets enforcedBodySizeLimit
- + ByteSize @@ -11357,7 +11357,7 @@ enabling the StatefulSetMinReadySeconds feature gate.

hostAliases
- + []HostAlias @@ -11372,7 +11372,7 @@ hosts file if specified.

additionalArgs
- + []Argument @@ -11407,7 +11407,7 @@ bool excludedFromEnforcement
- + []ObjectReference @@ -11451,7 +11451,7 @@ PodMonitor and ServiceMonitor objects.

tracingConfig
- + PrometheusTracingConfig @@ -11467,7 +11467,7 @@ in a breaking way.

bodySizeLimit
- + ByteSize @@ -11575,7 +11575,7 @@ If you want to enforce a maximum limit for all scrape objects, refer to enforced reloadStrategy
- + ReloadStrategyType @@ -11603,7 +11603,7 @@ If set, the value should be greater than 60 (seconds). Otherwise it will be equa scrapeClasses
- + []ScrapeClass @@ -11652,7 +11652,7 @@ string retention
- + Duration @@ -11666,7 +11666,7 @@ Duration retentionSize
- + ByteSize @@ -11690,7 +11690,7 @@ bool rules
- + Rules @@ -11703,7 +11703,7 @@ Rules prometheusRulesExcludedFromEnforce
- + []PrometheusRuleExcludeConfig @@ -11752,7 +11752,7 @@ namespace only.

query
- + QuerySpec @@ -11766,7 +11766,7 @@ QuerySpec alerting
- + AlertingSpec @@ -11828,7 +11828,7 @@ Prometheus after the upgrade.

remoteRead
- + []RemoteReadSpec @@ -11842,7 +11842,7 @@ Prometheus after the upgrade.

thanos
- + ThanosSpec @@ -11889,7 +11889,7 @@ merge in Prometheus.

exemplars
- + Exemplars @@ -11904,7 +11904,7 @@ It requires to enable the exemplar-storage feature flag to be effec evaluationInterval
- + Duration @@ -11935,7 +11935,7 @@ ensure only clients authorized to perform these actions can do so.

tsdb
- + TSDBSpec @@ -11947,10 +11947,10 @@ TSDBSpec -

PrometheusStatus +

PrometheusStatus

-(Appears on:Prometheus, PrometheusAgent) +(Appears on:Prometheus, PrometheusAgent)

PrometheusStatus is the most recent observed status of the Prometheus cluster. @@ -12028,7 +12028,7 @@ int32 conditions
- + []Condition @@ -12042,7 +12042,7 @@ int32 shardStatuses
- + []ShardStatus @@ -12076,10 +12076,10 @@ string -

PrometheusTracingConfig +

PrometheusTracingConfig

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

@@ -12166,7 +12166,7 @@ string timeout
- + Duration @@ -12180,7 +12180,7 @@ Duration tlsConfig
- + TLSConfig @@ -12192,10 +12192,10 @@ TLSConfig -

PrometheusWebSpec +

PrometheusWebSpec

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

PrometheusWebSpec defines the configuration of the Prometheus web server.

@@ -12212,7 +12212,7 @@ TLSConfig tlsConfig
- + WebTLSConfig @@ -12225,7 +12225,7 @@ WebTLSConfig httpConfig
- + WebHTTPConfig @@ -12261,10 +12261,10 @@ A zero value means that Prometheus doesn’t accept any incoming connection. -

ProxyConfig +

ProxyConfig

-(Appears on:RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec) +(Appears on:RemoteReadSpec, RemoteWriteSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec)

@@ -12336,10 +12336,10 @@ proxies during CONNECT requests.

-

QuerySpec +

QuerySpec

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

QuerySpec defines the query command line flags when starting Prometheus.

@@ -12394,7 +12394,7 @@ so this also limits the number of samples a query can return.

timeout
- + Duration @@ -12406,10 +12406,10 @@ Duration -

QueueConfig +

QueueConfig

-(Appears on:RemoteWriteSpec) +(Appears on:RemoteWriteSpec)

QueueConfig allows the tuning of remote write’s queue_config parameters. @@ -12472,7 +12472,7 @@ int batchSendDeadline
- + Duration @@ -12497,7 +12497,7 @@ int minBackoff
- + Duration @@ -12511,7 +12511,7 @@ Duration maxBackoff
- + Duration @@ -12538,7 +12538,7 @@ in a breaking way.

sampleAgeLimit
- + Duration @@ -12551,10 +12551,10 @@ It requires Prometheus >= v2.50.0.

-

RelabelConfig +

RelabelConfig

-(Appears on:AlertmanagerEndpoints, Endpoint, PodMetricsEndpoint, ProbeSpec, ProbeTargetIngress, ProbeTargetStaticConfig, RemoteWriteSpec, ScrapeClass, ScrapeConfigSpec) +(Appears on:AlertmanagerEndpoints, Endpoint, PodMetricsEndpoint, ProbeSpec, ProbeTargetIngress, ProbeTargetStaticConfig, RemoteWriteSpec, ScrapeClass, ScrapeConfigSpec)

RelabelConfig allows dynamic rewriting of the label set for targets, alerts, @@ -12573,7 +12573,7 @@ scraped samples and remote write samples.

sourceLabels
- + []LabelName @@ -12663,10 +12663,10 @@ string -

ReloadStrategyType +

ReloadStrategyType (string alias)

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

@@ -12685,10 +12685,10 @@ string -

RemoteReadSpec +

RemoteReadSpec

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

RemoteReadSpec defines the configuration for Prometheus to read back samples @@ -12744,7 +12744,7 @@ in a selector to query the remote read endpoint.

remoteTimeout
- + Duration @@ -12783,7 +12783,7 @@ the local storage should have complete data for.

oauth2
- + OAuth2 @@ -12799,7 +12799,7 @@ OAuth2 basicAuth
- + BasicAuth @@ -12826,7 +12826,7 @@ string authorization
- + Authorization @@ -12855,7 +12855,7 @@ in clear-text. Prefer using authorization.

tlsConfig
- + TLSConfig @@ -12951,10 +12951,10 @@ bool -

RemoteWriteSpec +

RemoteWriteSpec

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

RemoteWriteSpec defines the configuration to write samples from Prometheus @@ -13025,7 +13025,7 @@ over remote write.

remoteTimeout
- + Duration @@ -13052,7 +13052,7 @@ Be aware that headers that are set by Prometheus itself can’t be overwritt writeRelabelConfigs
- + []RelabelConfig @@ -13066,7 +13066,7 @@ Be aware that headers that are set by Prometheus itself can’t be overwritt oauth2
- + OAuth2 @@ -13082,7 +13082,7 @@ OAuth2 basicAuth
- + BasicAuth @@ -13109,7 +13109,7 @@ string authorization
- + Authorization @@ -13125,7 +13125,7 @@ Authorization sigv4
- + Sigv4 @@ -13141,7 +13141,7 @@ Sigv4 azureAd
- + AzureAD @@ -13170,7 +13170,7 @@ in clear-text. Prefer using authorization.

tlsConfig
- + TLSConfig @@ -13255,7 +13255,7 @@ bool queueConfig
- + QueueConfig @@ -13269,7 +13269,7 @@ QueueConfig metadataConfig
- + MetadataConfig @@ -13293,10 +13293,10 @@ bool -

Rule +

Rule

-(Appears on:RuleGroup) +(Appears on:RuleGroup)

Rule describes an alerting or recording rule @@ -13351,7 +13351,7 @@ k8s.io/apimachinery/pkg/util/intstr.IntOrString for
- + Duration @@ -13365,7 +13365,7 @@ Duration keep_firing_for
- + NonEmptyDuration @@ -13400,10 +13400,10 @@ Only valid for alerting rules.

-

RuleGroup +

RuleGroup

-(Appears on:PrometheusRuleSpec) +(Appears on:PrometheusRuleSpec)

RuleGroup is a list of sequentially evaluated recording and alerting rules.

@@ -13431,7 +13431,7 @@ string interval
- + Duration @@ -13445,7 +13445,7 @@ Duration rules
- + []Rule @@ -13484,10 +13484,10 @@ Limit is supported starting with Prometheus >= 2.31 and Thanos Ruler >= 0. -

Rules +

Rules

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

@@ -13503,7 +13503,7 @@ Limit is supported starting with Prometheus >= 2.31 and Thanos Ruler >= 0. alert
- + RulesAlert @@ -13515,10 +13515,10 @@ RulesAlert -

RulesAlert +

RulesAlert

-(Appears on:Rules) +(Appears on:Rules)

@@ -13569,10 +13569,10 @@ Alertmanager.

-

SafeAuthorization +

SafeAuthorization

-(Appears on:AlertmanagerEndpoints, Authorization, Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, HTTPConfig) +(Appears on:AlertmanagerEndpoints, Authorization, Endpoint, HTTPConfig, PodMetricsEndpoint, ProbeSpec, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, HTTPConfig)

SafeAuthorization specifies a subset of the Authorization struct, that is @@ -13615,10 +13615,10 @@ Kubernetes core/v1.SecretKeySelector -

SafeTLSConfig +

SafeTLSConfig

-(Appears on:HTTPConfig, PodMetricsEndpoint, ProbeSpec, TLSConfig, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EmailConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, OpenStackSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, EmailConfig, HTTPConfig) +(Appears on:HTTPConfig, PodMetricsEndpoint, ProbeSpec, TLSConfig, ConsulSDConfig, DigitalOceanSDConfig, DockerSDConfig, DockerSwarmSDConfig, EmailConfig, EurekaSDConfig, HTTPConfig, HTTPSDConfig, HetznerSDConfig, KubernetesSDConfig, KumaSDConfig, LightSailSDConfig, LinodeSDConfig, NomadSDConfig, OpenStackSDConfig, PuppetDBSDConfig, ScrapeConfigSpec, EmailConfig, HTTPConfig)

SafeTLSConfig specifies safe TLS configuration parameters.

@@ -13635,7 +13635,7 @@ Kubernetes core/v1.SecretKeySelector ca
- + SecretOrConfigMap @@ -13648,7 +13648,7 @@ SecretOrConfigMap cert
- + SecretOrConfigMap @@ -13696,10 +13696,10 @@ bool -

ScrapeClass +

ScrapeClass

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

@@ -13740,7 +13740,7 @@ don’t configure an explicit scrape class name.

tlsConfig
- + TLSConfig @@ -13757,7 +13757,7 @@ precedence over the corresponding scrape class fields.

relabelings
- + []RelabelConfig @@ -13776,7 +13776,7 @@ Then the Operator adds the target-specific relabelings defined in the scrape obj metricRelabelings
- + []RelabelConfig @@ -13792,10 +13792,10 @@ Then the Operator adds namespace enforcement relabeling rule, specified in &lsqu -

ScrapeProtocol +

ScrapeProtocol (string alias)

-(Appears on:CommonPrometheusFields, PodMonitorSpec, ProbeSpec, ServiceMonitorSpec, ScrapeConfigSpec) +(Appears on:CommonPrometheusFields, PodMonitorSpec, ProbeSpec, ServiceMonitorSpec, ScrapeConfigSpec)

ScrapeProtocol represents a protocol used by Prometheus for scraping metrics. @@ -13805,10 +13805,10 @@ Supported values are: * PrometheusProto * PrometheusText0.0.4

-

SecretOrConfigMap +

SecretOrConfigMap

-(Appears on:AlertmanagerConfiguration, OAuth2, SafeTLSConfig, WebTLSConfig) +(Appears on:AlertmanagerConfiguration, OAuth2, SafeTLSConfig, WebTLSConfig)

SecretOrConfigMap allows to specify data as a Secret or ConfigMap. Fields are mutually exclusive.

@@ -13849,10 +13849,10 @@ Kubernetes core/v1.ConfigMapKeySelector -

ServiceMonitorSpec +

ServiceMonitorSpec

-(Appears on:ServiceMonitor) +(Appears on:ServiceMonitor)

ServiceMonitorSpec defines the specification parameters for a ServiceMonitor.

@@ -13913,7 +13913,7 @@ associated Kubernetes Pod object onto the ingested metrics.

endpoints
- + []Endpoint @@ -13940,7 +13940,7 @@ Kubernetes meta/v1.LabelSelector namespaceSelector
- + NamespaceSelector @@ -13967,7 +13967,7 @@ that will be accepted.

scrapeProtocols
- + []ScrapeProtocol @@ -14050,7 +14050,7 @@ that will be kept in memory. 0 means no limit.

attachMetadata
- + AttachMetadata @@ -14078,7 +14078,7 @@ string bodySizeLimit
- + ByteSize @@ -14092,10 +14092,10 @@ of uncompressed response body that will be accepted by Prometheus.

-

ShardStatus +

ShardStatus

-(Appears on:PrometheusStatus) +(Appears on:PrometheusStatus)

@@ -14166,10 +14166,10 @@ int32 -

Sigv4 +

Sigv4

-(Appears on:AlertmanagerEndpoints, RemoteWriteSpec, SNSConfig, SNSConfig) +(Appears on:AlertmanagerEndpoints, RemoteWriteSpec, SNSConfig, SNSConfig)

Sigv4 optionally configures AWS’s Signature Verification 4 signing process to @@ -14248,10 +14248,10 @@ string -

StorageSpec +

StorageSpec

-(Appears on:AlertmanagerSpec, CommonPrometheusFields, ThanosRulerSpec) +(Appears on:AlertmanagerSpec, CommonPrometheusFields, ThanosRulerSpec)

StorageSpec defines the configured storage for a group Prometheus servers. @@ -14315,7 +14315,7 @@ More info: + EmbeddedPersistentVolumeClaim @@ -14328,10 +14328,10 @@ is to use a label selector alongside manually created PersistentVolumes.

-

TLSConfig +

TLSConfig

-(Appears on:APIServerConfig, AlertmanagerEndpoints, Endpoint, PrometheusTracingConfig, RemoteReadSpec, RemoteWriteSpec, ScrapeClass, ThanosRulerSpec, ThanosSpec) +(Appears on:APIServerConfig, AlertmanagerEndpoints, Endpoint, PrometheusTracingConfig, RemoteReadSpec, RemoteWriteSpec, ScrapeClass, ThanosRulerSpec, ThanosSpec)

TLSConfig extends the safe TLS configuration with file parameters.

@@ -14348,7 +14348,7 @@ is to use a label selector alongside manually created PersistentVolumes.

ca
- + SecretOrConfigMap @@ -14361,7 +14361,7 @@ SecretOrConfigMap cert
- + SecretOrConfigMap @@ -14442,10 +14442,10 @@ string -

TSDBSpec +

TSDBSpec

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

@@ -14461,7 +14461,7 @@ string outOfOrderTimeWindow
- + Duration @@ -14478,10 +14478,10 @@ in a breaking way.

-

ThanosRulerSpec +

ThanosRulerSpec

-(Appears on:ThanosRuler) +(Appears on:ThanosRuler)

ThanosRulerSpec is a specification of the desired behavior of the ThanosRuler. More info: @@ -14510,7 +14510,7 @@ string podMetadata
- + EmbeddedObjectMetadata @@ -14693,7 +14693,7 @@ Thanos Ruler Pods.

storage
- + StorageSpec @@ -14870,7 +14870,7 @@ being created.

excludedFromEnforcement
- + []ObjectReference @@ -14885,7 +14885,7 @@ Applies only if enforcedNamespaceLabel set to true.

prometheusRulesExcludedFromEnforce
- + []PrometheusRuleExcludeConfig @@ -14935,7 +14935,7 @@ Defaults to web.

evaluationInterval
- + Duration @@ -14948,7 +14948,7 @@ Duration retention
- + Duration @@ -15080,7 +15080,7 @@ string grpcServerTlsConfig
- + TLSConfig @@ -15152,7 +15152,7 @@ When used alongside with AlertRelabelConfigs, alertRelabelConfigFile takes prece hostAliases
- + []HostAlias @@ -15165,7 +15165,7 @@ When used alongside with AlertRelabelConfigs, alertRelabelConfigFile takes prece additionalArgs
- + []Argument @@ -15185,7 +15185,7 @@ fail and an error will be logged.

web
- + ThanosRulerWebSpec @@ -15196,10 +15196,10 @@ ThanosRulerWebSpec -

ThanosRulerStatus +

ThanosRulerStatus

-(Appears on:ThanosRuler) +(Appears on:ThanosRuler)

ThanosRulerStatus is the most recent observed status of the ThanosRuler. Read-only. @@ -15277,7 +15277,7 @@ int32 conditions
- + []Condition @@ -15289,10 +15289,10 @@ int32 -

ThanosRulerWebSpec +

ThanosRulerWebSpec

-(Appears on:ThanosRulerSpec) +(Appears on:ThanosRulerSpec)

ThanosRulerWebSpec defines the configuration of the ThanosRuler web server.

@@ -15309,7 +15309,7 @@ int32 tlsConfig
- + WebTLSConfig @@ -15322,7 +15322,7 @@ WebTLSConfig httpConfig
- + WebHTTPConfig @@ -15333,10 +15333,10 @@ WebHTTPConfig -

ThanosSpec +

ThanosSpec

-(Appears on:PrometheusSpec) +(Appears on:PrometheusSpec)

ThanosSpec defines the configuration of the Thanos sidecar.

@@ -15537,7 +15537,7 @@ in a breaking way.

grpcServerTlsConfig
- + TLSConfig @@ -15588,7 +15588,7 @@ units are ms, s, m, h, d, w, y.

blockSize
- + Duration @@ -15607,7 +15607,7 @@ example, 30s * 120 = 1h.

readyTimeout
- + Duration @@ -15621,7 +15621,7 @@ Prometheus to start.

getConfigInterval
- + Duration @@ -15634,7 +15634,7 @@ Duration getConfigTimeout
- + Duration @@ -15663,7 +15663,7 @@ VolumeMounts specified will be appended to other VolumeMounts in the additionalArgs
- + []Argument @@ -15680,10 +15680,10 @@ fail and an error will be logged.

-

TopologySpreadConstraint +

TopologySpreadConstraint

-(Appears on:CommonPrometheusFields) +(Appears on:CommonPrometheusFields)

@@ -15880,7 +15880,7 @@ be ignored. A null or empty list means only match against labelSelector.

additionalLabelSelectors
- + AdditionalLabelSelectors @@ -15892,10 +15892,10 @@ AdditionalLabelSelectors -

WebConfigFileFields +

WebConfigFileFields

-(Appears on:AlertmanagerWebSpec, PrometheusWebSpec, ThanosRulerWebSpec) +(Appears on:AlertmanagerWebSpec, PrometheusWebSpec, ThanosRulerWebSpec)

WebConfigFileFields defines the file content for –web.config.file flag.

@@ -15912,7 +15912,7 @@ AdditionalLabelSelectors tlsConfig
- + WebTLSConfig @@ -15925,7 +15925,7 @@ WebTLSConfig httpConfig
- + WebHTTPConfig @@ -15936,10 +15936,10 @@ WebHTTPConfig -

WebHTTPConfig +

WebHTTPConfig

-(Appears on:WebConfigFileFields) +(Appears on:WebConfigFileFields)

WebHTTPConfig defines HTTP parameters for web server.

@@ -15969,7 +15969,7 @@ Whenever the value of the field changes, a rolling update will be triggered.

headers
- + WebHTTPHeaders @@ -15980,10 +15980,10 @@ WebHTTPHeaders -

WebHTTPHeaders +

WebHTTPHeaders

-(Appears on:WebHTTPConfig) +(Appears on:WebHTTPConfig)

WebHTTPHeaders defines the list of headers that can be added to HTTP responses.

@@ -16065,10 +16065,10 @@ domain and subdomains over HTTPS. -

WebTLSConfig +

WebTLSConfig

-(Appears on:WebConfigFileFields) +(Appears on:WebConfigFileFields)

WebTLSConfig defines the TLS parameters for HTTPS.

@@ -16098,7 +16098,7 @@ Kubernetes core/v1.SecretKeySelector cert
- + SecretOrConfigMap @@ -16124,7 +16124,7 @@ For more detail on clientAuth options: client_ca
- + SecretOrConfigMap @@ -16198,16 +16198,16 @@ order. Available curves are documented in the go documentation:
-

monitoring.coreos.com/v1alpha1

+

monitoring.rhobs/v1alpha1

Resource Types: -

AlertmanagerConfig +

AlertmanagerConfig

AlertmanagerConfig configures the Prometheus Alertmanager, @@ -16227,7 +16227,7 @@ specifying how alerts should be grouped, inhibited and notified to external syst string -monitoring.coreos.com/v1alpha1 +monitoring.rhobs/v1alpha1 @@ -16256,7 +16256,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + AlertmanagerConfigSpec @@ -16269,7 +16269,7 @@ AlertmanagerConfigSpec route
- + Route @@ -16285,7 +16285,7 @@ configuration as a first-level route.

receivers
- + []Receiver @@ -16299,7 +16299,7 @@ configuration as a first-level route.

inhibitRules
- + []InhibitRule @@ -16314,7 +16314,7 @@ the resource’s namespace.

muteTimeIntervals
- + []MuteTimeInterval @@ -16329,7 +16329,7 @@ the resource’s namespace.

-

PrometheusAgent +

PrometheusAgent

PrometheusAgent defines a Prometheus agent deployment.

@@ -16348,7 +16348,7 @@ the resource’s namespace.

string -monitoring.coreos.com/v1alpha1 +monitoring.rhobs/v1alpha1 @@ -16377,7 +16377,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + PrometheusAgentSpec @@ -16406,7 +16406,7 @@ For now this field has no effect.

podMetadata
- + EmbeddedObjectMetadata @@ -16742,7 +16742,7 @@ string scrapeInterval
- + Duration @@ -16756,7 +16756,7 @@ Duration scrapeTimeout
- + Duration @@ -16769,7 +16769,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -16818,7 +16818,7 @@ For more information see + []EnableFeature @@ -16864,7 +16864,7 @@ for use with kubectl proxy.

storage
- + StorageSpec @@ -16924,7 +16924,7 @@ It requires enabling the StatefulSetAutoDeletePVC feature gate.

web
- + PrometheusWebSpec @@ -17044,7 +17044,7 @@ Kubernetes core/v1.Affinity topologySpreadConstraints
- + []TopologySpreadConstraint @@ -17058,7 +17058,7 @@ Kubernetes core/v1.Affinity remoteWrite
- + []RemoteWriteSpec @@ -17175,7 +17175,7 @@ Prometheus after the upgrade.

apiserverConfig
- + APIServerConfig @@ -17216,7 +17216,7 @@ Default: “web”

arbitraryFSAccessThroughSMs
- + ArbitraryFSAccessThroughSMsConfig @@ -17431,7 +17431,7 @@ If Prometheus version is >= 2.45.0 and the enforcedKeepDroppedTargets enforcedBodySizeLimit
- + ByteSize @@ -17469,7 +17469,7 @@ enabling the StatefulSetMinReadySeconds feature gate.

hostAliases
- + []HostAlias @@ -17484,7 +17484,7 @@ hosts file if specified.

additionalArgs
- + []Argument @@ -17519,7 +17519,7 @@ bool excludedFromEnforcement
- + []ObjectReference @@ -17563,7 +17563,7 @@ PodMonitor and ServiceMonitor objects.

tracingConfig
- + PrometheusTracingConfig @@ -17579,7 +17579,7 @@ in a breaking way.

bodySizeLimit
- + ByteSize @@ -17687,7 +17687,7 @@ If you want to enforce a maximum limit for all scrape objects, refer to enforced reloadStrategy
- + ReloadStrategyType @@ -17715,7 +17715,7 @@ If set, the value should be greater than 60 (seconds). Otherwise it will be equa scrapeClasses
- + []ScrapeClass @@ -17734,7 +17734,7 @@ in a breaking way.

status
- + PrometheusStatus @@ -17747,7 +17747,7 @@ More info: -

ScrapeConfig +

ScrapeConfig

ScrapeConfig defines a namespaced Prometheus scrape_config to be aggregated across @@ -17767,7 +17767,7 @@ multiple namespaces into the Prometheus configuration.

string -monitoring.coreos.com/v1alpha1 +monitoring.rhobs/v1alpha1 @@ -17796,7 +17796,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + ScrapeConfigSpec @@ -17824,7 +17824,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea staticConfigs
- + []StaticConfig @@ -17838,7 +17838,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea fileSDConfigs
- + []FileSDConfig @@ -17852,7 +17852,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea httpSDConfigs
- + []HTTPSDConfig @@ -17866,7 +17866,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea kubernetesSDConfigs
- + []KubernetesSDConfig @@ -17880,7 +17880,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea consulSDConfigs
- + []ConsulSDConfig @@ -17894,7 +17894,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dnsSDConfigs
- + []DNSSDConfig @@ -17908,7 +17908,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea ec2SDConfigs
- + []EC2SDConfig @@ -17922,7 +17922,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea azureSDConfigs
- + []AzureSDConfig @@ -17936,7 +17936,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea gceSDConfigs
- + []GCESDConfig @@ -17950,7 +17950,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea openstackSDConfigs
- + []OpenStackSDConfig @@ -17964,7 +17964,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea digitalOceanSDConfigs
- + []DigitalOceanSDConfig @@ -17978,7 +17978,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea kumaSDConfigs
- + []KumaSDConfig @@ -17992,7 +17992,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea eurekaSDConfigs
- + []EurekaSDConfig @@ -18006,7 +18006,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dockerSDConfigs
- + []DockerSDConfig @@ -18020,7 +18020,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea linodeSDConfigs
- + []LinodeSDConfig @@ -18034,7 +18034,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea hetznerSDConfigs
- + []HetznerSDConfig @@ -18048,7 +18048,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea NomadSDConfigs
- + []NomadSDConfig @@ -18062,7 +18062,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dockerSwarmSDConfigs
- + []DockerSwarmSDConfig @@ -18076,7 +18076,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea puppetDBSDConfigs
- + []PuppetDBSDConfig @@ -18090,7 +18090,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea lightSailSDConfigs
- + []LightSailSDConfig @@ -18104,7 +18104,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea ovhcloudSDConfigs
- + []OVHCloudSDConfig @@ -18118,7 +18118,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea relabelings
- + []RelabelConfig @@ -18147,7 +18147,7 @@ string scrapeInterval
- + Duration @@ -18161,7 +18161,7 @@ Duration scrapeTimeout
- + Duration @@ -18175,7 +18175,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -18270,7 +18270,7 @@ bool basicAuth
- + BasicAuth @@ -18284,7 +18284,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -18298,7 +18298,7 @@ SafeAuthorization tlsConfig
- + SafeTLSConfig @@ -18389,7 +18389,7 @@ that will be kept in memory. 0 means no limit.

metricRelabelings
- + []RelabelConfig @@ -18474,10 +18474,10 @@ string -

AlertmanagerConfigSpec +

AlertmanagerConfigSpec

-(Appears on:AlertmanagerConfig) +(Appears on:AlertmanagerConfig)

AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. @@ -18496,7 +18496,7 @@ the namespace label is equal to the namespace of the AlertmanagerCo route
- + Route @@ -18512,7 +18512,7 @@ configuration as a first-level route.

receivers
- + []Receiver @@ -18526,7 +18526,7 @@ configuration as a first-level route.

inhibitRules
- + []InhibitRule @@ -18541,7 +18541,7 @@ the resource’s namespace.

muteTimeIntervals
- + []MuteTimeInterval @@ -18553,10 +18553,10 @@ the resource’s namespace.

-

AttachMetadata +

AttachMetadata

-(Appears on:KubernetesSDConfig) +(Appears on:KubernetesSDConfig)

@@ -18585,10 +18585,10 @@ Only valid for Pod, Endpoint and Endpointslice roles.

-

AzureSDConfig +

AzureSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

AzureSDConfig allow retrieving scrape targets from Azure VMs. @@ -18694,7 +18694,7 @@ string refreshInterval
- + Duration @@ -18719,10 +18719,10 @@ instead be specified in the relabeling rule.

-

ConsulSDConfig +

ConsulSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

ConsulSDConfig defines a Consul service discovery configuration @@ -18875,7 +18875,7 @@ If unset, Prometheus uses its default value.

refreshInterval
- + Duration @@ -18891,7 +18891,7 @@ If unset, Prometheus uses its default value.

basicAuth
- + BasicAuth @@ -18906,7 +18906,7 @@ More info: + SafeAuthorization @@ -18920,7 +18920,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -19018,7 +19018,7 @@ If unset, Prometheus uses its default value.

tlsConfig
- + SafeTLSConfig @@ -19030,10 +19030,10 @@ SafeTLSConfig -

DNSSDConfig +

DNSSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

DNSSDConfig allows specifying a set of DNS domain names which are periodically queried to discover a list of targets. @@ -19063,7 +19063,7 @@ See + Duration @@ -19103,10 +19103,10 @@ Ignored for SRV records

-

DayOfMonthRange +

DayOfMonthRange

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

DayOfMonthRange is an inclusive range of days of the month beginning at 1

@@ -19143,10 +19143,10 @@ int -

DigitalOceanSDConfig +

DigitalOceanSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

DigitalOceanSDConfig allow retrieving scrape targets from DigitalOcean’s Droplets API. @@ -19165,7 +19165,7 @@ See + SafeAuthorization @@ -19180,7 +19180,7 @@ Cannot be set at the same time as oauth2.

oauth2
- + OAuth2 @@ -19277,7 +19277,7 @@ bool tlsConfig
- + SafeTLSConfig @@ -19303,7 +19303,7 @@ int refreshInterval
- + Duration @@ -19315,10 +19315,10 @@ Duration -

DiscordConfig +

DiscordConfig

-(Appears on:Receiver) +(Appears on:Receiver)

DiscordConfig configures notifications via Discord. @@ -19387,7 +19387,7 @@ string httpConfig
- + HTTPConfig @@ -19399,10 +19399,10 @@ HTTPConfig -

DockerFilter +

DockerFilter

-(Appears on:DockerSDConfig) +(Appears on:DockerSDConfig)

DockerFilter is the configuration to limit the discovery process to a subset of available resources.

@@ -19437,10 +19437,10 @@ string -

DockerSDConfig +

DockerSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

Docker SD configurations allow retrieving scrape targets from Docker Engine hosts. @@ -19529,7 +19529,7 @@ proxies during CONNECT requests.

tlsConfig
- + SafeTLSConfig @@ -19567,7 +19567,7 @@ string filters
- + DockerFilter @@ -19581,7 +19581,7 @@ DockerFilter refreshInterval
- + Duration @@ -19595,7 +19595,7 @@ Duration basicAuth
- + BasicAuth @@ -19609,7 +19609,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -19624,7 +19624,7 @@ Cannot be set at the same time as oauth2.

oauth2
- + OAuth2 @@ -19661,10 +19661,10 @@ bool -

DockerSwarmFilter +

DockerSwarmFilter

-(Appears on:DockerSwarmSDConfig) +(Appears on:DockerSwarmSDConfig)

Filter is the configuration to limit the discovery process to a subset of available resources.

@@ -19701,10 +19701,10 @@ string -

DockerSwarmSDConfig +

DockerSwarmSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

DockerSwarmSDConfig configurations allow retrieving scrape targets from Docker Swarm engine. @@ -19757,7 +19757,7 @@ tasks and services that don’t have published ports.

filters
- + []DockerSwarmFilter @@ -19776,7 +19776,7 @@ Nodes: ht refreshInterval
-
+ Duration @@ -19790,7 +19790,7 @@ Duration basicAuth
- + BasicAuth @@ -19804,7 +19804,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -19818,7 +19818,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -19891,7 +19891,7 @@ proxies during CONNECT requests.

tlsConfig
- + SafeTLSConfig @@ -19927,10 +19927,10 @@ bool -

EC2Filter +

EC2Filter

-(Appears on:EC2SDConfig) +(Appears on:EC2SDConfig)

EC2Filter is the configuration for filtering EC2 instances.

@@ -19965,10 +19965,10 @@ string -

EC2SDConfig +

EC2SDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

EC2SDConfig allow retrieving scrape targets from AWS EC2 instances. @@ -20040,7 +20040,7 @@ string refreshInterval
- + Duration @@ -20067,7 +20067,7 @@ instead be specified in the relabeling rule.

filters
- + []EC2Filter @@ -20082,10 +20082,10 @@ Filter API documentation: EmailConfig +

EmailConfig

-(Appears on:Receiver) +(Appears on:Receiver)

EmailConfig configures notifications via Email.

@@ -20216,7 +20216,7 @@ string headers
- + []KeyValue @@ -20267,7 +20267,7 @@ Note that Go does not support unencrypted connections to remote SMTP endpoints.< tlsConfig
- + SafeTLSConfig @@ -20279,10 +20279,10 @@ SafeTLSConfig -

EurekaSDConfig +

EurekaSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

Eureka SD configurations allow retrieving scrape targets using the Eureka REST API. @@ -20312,7 +20312,7 @@ string basicAuth
- + BasicAuth @@ -20326,7 +20326,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -20340,7 +20340,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -20355,7 +20355,7 @@ Cannot be set at the same time as authorization or basic_auth tlsConfig
- + SafeTLSConfig @@ -20451,7 +20451,7 @@ bool refreshInterval
- + Duration @@ -20463,10 +20463,10 @@ Duration -

FileSDConfig +

FileSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

FileSDConfig defines a Prometheus file service discovery configuration @@ -20484,7 +20484,7 @@ See + []SDFile @@ -20500,7 +20500,7 @@ Files must be mounted using Prometheus.ConfigMaps or Prometheus.Secrets.

refreshInterval
- + Duration @@ -20512,10 +20512,10 @@ Duration -

GCESDConfig +

GCESDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

GCESDConfig configures scrape targets from GCP GCE instances. @@ -20578,7 +20578,7 @@ Syntax of this filter is described in the filter query parameter section: refreshInterval
- + Duration @@ -20615,10 +20615,10 @@ string -

HTTPConfig +

HTTPConfig

-(Appears on:DiscordConfig, MSTeamsConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SNSConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebexConfig, WebhookConfig) +(Appears on:DiscordConfig, MSTeamsConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SNSConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebexConfig, WebhookConfig)

HTTPConfig defines a client HTTP configuration. @@ -20636,7 +20636,7 @@ See + SafeAuthorization @@ -20651,7 +20651,7 @@ This is mutually exclusive with BasicAuth and is only available starting from Al basicAuth
- + BasicAuth @@ -20666,7 +20666,7 @@ This is mutually exclusive with Authorization. If both are defined, BasicAuth ta oauth2
- + OAuth2 @@ -20697,7 +20697,7 @@ object and accessible by the Prometheus Operator.

tlsConfig
- + SafeTLSConfig @@ -20733,10 +20733,10 @@ bool -

HTTPSDConfig +

HTTPSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

HTTPSDConfig defines a prometheus HTTP service discovery configuration @@ -20765,7 +20765,7 @@ string refreshInterval
- + Duration @@ -20780,7 +20780,7 @@ endpoint to update the target list.

basicAuth
- + BasicAuth @@ -20795,7 +20795,7 @@ More info: + SafeAuthorization @@ -20809,7 +20809,7 @@ SafeAuthorization tlsConfig
- + SafeTLSConfig @@ -20879,10 +20879,10 @@ proxies during CONNECT requests.

-

HetznerSDConfig +

HetznerSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

HetznerSDConfig allow retrieving scrape targets from Hetzner Cloud API and Robot API. @@ -20912,7 +20912,7 @@ string basicAuth
- + BasicAuth @@ -20927,7 +20927,7 @@ Role hcloud does not support basic auth.

authorization
- + SafeAuthorization @@ -20942,7 +20942,7 @@ Role robot does not support bearer token authentication.

oauth2
- + OAuth2 @@ -21039,7 +21039,7 @@ bool tlsConfig
- + SafeTLSConfig @@ -21065,7 +21065,7 @@ int refreshInterval
- + Duration @@ -21077,10 +21077,10 @@ Duration -

InhibitRule +

InhibitRule

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

InhibitRule defines an inhibition rule that allows to mute alerts when other @@ -21099,7 +21099,7 @@ See + []Matcher @@ -21113,7 +21113,7 @@ operator enforces that the alert matches the resource’s namespace.

sourceMatch
- + []Matcher @@ -21138,10 +21138,10 @@ the inhibition to take effect.

-

K8SSelectorConfig +

K8SSelectorConfig

-(Appears on:KubernetesSDConfig) +(Appears on:KubernetesSDConfig)

K8SSelectorConfig is Kubernetes Selector Config

@@ -21158,7 +21158,7 @@ the inhibition to take effect.

role
- + Role @@ -21188,10 +21188,10 @@ string -

KeyValue +

KeyValue

-(Appears on:EmailConfig, OpsGenieConfig, PagerDutyConfig, VictorOpsConfig) +(Appears on:EmailConfig, OpsGenieConfig, PagerDutyConfig, VictorOpsConfig)

KeyValue defines a (key, value) tuple.

@@ -21228,10 +21228,10 @@ string -

KubernetesSDConfig +

KubernetesSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

KubernetesSDConfig allows retrieving scrape targets from Kubernetes’ REST API. @@ -21265,7 +21265,7 @@ CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceac role
- + Role @@ -21278,7 +21278,7 @@ Role basicAuth
- + BasicAuth @@ -21293,7 +21293,7 @@ Cannot be set at the same time as authorization, or oauth2 authorization
- + SafeAuthorization @@ -21308,7 +21308,7 @@ Cannot be set at the same time as basicAuth, or oauth2 oauth2
- + OAuth2 @@ -21405,7 +21405,7 @@ bool tlsConfig
- + SafeTLSConfig @@ -21419,7 +21419,7 @@ SafeTLSConfig namespaces
- + NamespaceDiscovery @@ -21433,7 +21433,7 @@ NamespaceDiscovery attachMetadata
- + AttachMetadata @@ -21449,7 +21449,7 @@ Prometheus >= v2.37.0 for endpoints and endpointslice selectors
- + []K8SSelectorConfig @@ -21461,10 +21461,10 @@ Prometheus >= v2.37.0 for endpoints and endpointslice -

KumaSDConfig +

KumaSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

KumaSDConfig allow retrieving scrape targets from Kuma’s control plane. @@ -21505,7 +21505,7 @@ string refreshInterval
- + Duration @@ -21519,7 +21519,7 @@ Duration fetchTimeout
- + Duration @@ -21591,7 +21591,7 @@ proxies during CONNECT requests.

tlsConfig
- + SafeTLSConfig @@ -21605,7 +21605,7 @@ SafeTLSConfig basicAuth
- + BasicAuth @@ -21619,7 +21619,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -21633,7 +21633,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -21670,10 +21670,10 @@ bool -

LightSailSDConfig +

LightSailSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

LightSailSDConfig configurations allow retrieving scrape targets from AWS Lightsail instances. @@ -21756,7 +21756,7 @@ string refreshInterval
- + Duration @@ -21782,7 +21782,7 @@ If using the public IP address, this must instead be specified in the relabeling basicAuth
- + BasicAuth @@ -21797,7 +21797,7 @@ Cannot be set at the same time as authorization, or oauth2 authorization
- + SafeAuthorization @@ -21812,7 +21812,7 @@ Cannot be set at the same time as basicAuth, or oauth2 oauth2
- + OAuth2 @@ -21885,7 +21885,7 @@ proxies during CONNECT requests.

tlsConfig
- + SafeTLSConfig @@ -21921,10 +21921,10 @@ bool -

LinodeSDConfig +

LinodeSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

LinodeSDConfig configurations allow retrieving scrape targets from Linode’s Linode APIv4. @@ -21978,7 +21978,7 @@ string refreshInterval
- + Duration @@ -21992,7 +21992,7 @@ Duration authorization
- + SafeAuthorization @@ -22006,7 +22006,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -22091,7 +22091,7 @@ bool tlsConfig
- + SafeTLSConfig @@ -22115,10 +22115,10 @@ bool -

MSTeamsConfig +

MSTeamsConfig

-(Appears on:Receiver) +(Appears on:Receiver)

MSTeamsConfig configures notifications via Microsoft Teams. @@ -22198,7 +22198,7 @@ string httpConfig
- + HTTPConfig @@ -22210,10 +22210,10 @@ HTTPConfig -

MatchType +

MatchType (string alias)

-(Appears on:Matcher) +(Appears on:Matcher)

MatchType is a comparison operator on a Matcher

@@ -22235,10 +22235,10 @@ HTTPConfig -

Matcher +

Matcher

-(Appears on:InhibitRule, Route) +(Appears on:InhibitRule, Route)

Matcher defines how to match on alert’s labels.

@@ -22278,7 +22278,7 @@ string matchType
- + MatchType @@ -22304,7 +22304,7 @@ Deprecated: for AlertManager >= v0.22.0, matchType should be use -

Month +

Month (string alias)

Month of the year

@@ -22342,19 +22342,19 @@ Deprecated: for AlertManager >= v0.22.0, matchType should be use -

MonthRange +

MonthRange (string alias)

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

MonthRange is an inclusive range of months of the year beginning in January Months can be specified by name (e.g ‘January’) by numerical month (e.g ‘1’) or as an inclusive range (e.g ‘January:March’, ‘1:3’, ‘1:March’)

-

MuteTimeInterval +

MuteTimeInterval

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

MuteTimeInterval specifies the periods in time when notifications will be muted

@@ -22382,7 +22382,7 @@ string timeIntervals
- + []TimeInterval @@ -22393,10 +22393,10 @@ string -

NamespaceDiscovery +

NamespaceDiscovery

-(Appears on:KubernetesSDConfig) +(Appears on:KubernetesSDConfig)

NamespaceDiscovery is the configuration for discovering @@ -22437,10 +22437,10 @@ If empty and ownNamespace isn’t true, Prometheus watches for -

NomadSDConfig +

NomadSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

NomadSDConfig configurations allow retrieving scrape targets from Nomad’s Service API. @@ -22482,7 +22482,7 @@ string refreshInterval
- + Duration @@ -22527,7 +22527,7 @@ string basicAuth
- + BasicAuth @@ -22541,7 +22541,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -22555,7 +22555,7 @@ SafeAuthorization oauth2
- + OAuth2 @@ -22570,7 +22570,7 @@ Cannot be set at the same time as authorization or basic_auth tlsConfig
- + SafeTLSConfig @@ -22664,10 +22664,10 @@ bool -

OVHCloudSDConfig +

OVHCloudSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud’s dedicated servers and VPS using their API. @@ -22720,7 +22720,7 @@ Kubernetes core/v1.SecretKeySelector service
- + OVHService @@ -22745,7 +22745,7 @@ string refreshInterval
- + Duration @@ -22757,10 +22757,10 @@ Duration -

OVHService +

OVHService (string alias)

-(Appears on:OVHCloudSDConfig) +(Appears on:OVHCloudSDConfig)

Service of the targets to retrieve. Must be VPS or DedicatedServer.

@@ -22778,10 +22778,10 @@ Duration -

OpenStackSDConfig +

OpenStackSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

OpenStackSDConfig allow retrieving scrape targets from OpenStack Nova instances. @@ -22983,7 +22983,7 @@ It is only relevant for the ‘instance’ role and usually requires adm refreshInterval
- + Duration @@ -23022,7 +23022,7 @@ string tlsConfig
- + SafeTLSConfig @@ -23034,10 +23034,10 @@ SafeTLSConfig -

OpsGenieConfig +

OpsGenieConfig

-(Appears on:Receiver) +(Appears on:Receiver)

OpsGenieConfig configures notifications via OpsGenie. @@ -23180,7 +23180,7 @@ By default, the alert is never updated in OpsGenie, the new message only appears details
- + []KeyValue @@ -23194,7 +23194,7 @@ By default, the alert is never updated in OpsGenie, the new message only appears responders
- + []OpsGenieConfigResponder @@ -23208,7 +23208,7 @@ By default, the alert is never updated in OpsGenie, the new message only appears httpConfig
- + HTTPConfig @@ -23244,10 +23244,10 @@ string -

OpsGenieConfigResponder +

OpsGenieConfigResponder

-(Appears on:OpsGenieConfig) +(Appears on:OpsGenieConfig)

OpsGenieConfigResponder defines a responder to an incident. @@ -23310,10 +23310,10 @@ string -

PagerDutyConfig +

PagerDutyConfig

-(Appears on:Receiver) +(Appears on:Receiver)

PagerDutyConfig configures notifications via PagerDuty. @@ -23474,7 +23474,7 @@ string details
- + []KeyValue @@ -23488,7 +23488,7 @@ string pagerDutyImageConfigs
- + []PagerDutyImageConfig @@ -23502,7 +23502,7 @@ string pagerDutyLinkConfigs
- + []PagerDutyLinkConfig @@ -23516,7 +23516,7 @@ string httpConfig
- + HTTPConfig @@ -23540,10 +23540,10 @@ string -

PagerDutyImageConfig +

PagerDutyImageConfig

-(Appears on:PagerDutyConfig) +(Appears on:PagerDutyConfig)

PagerDutyImageConfig attaches images to an incident

@@ -23594,10 +23594,10 @@ string -

PagerDutyLinkConfig +

PagerDutyLinkConfig

-(Appears on:PagerDutyConfig) +(Appears on:PagerDutyConfig)

PagerDutyLinkConfig attaches text links to an incident

@@ -23636,7 +23636,7 @@ string -

ParsedRange +

ParsedRange

ParsedRange is an integer representation of a range

@@ -23673,10 +23673,10 @@ int -

PrometheusAgentSpec +

PrometheusAgentSpec

-(Appears on:PrometheusAgent) +(Appears on:PrometheusAgent)

PrometheusAgentSpec is a specification of the desired behavior of the Prometheus agent. More info: @@ -23708,7 +23708,7 @@ For now this field has no effect.

podMetadata
- + EmbeddedObjectMetadata @@ -24044,7 +24044,7 @@ string scrapeInterval
- + Duration @@ -24058,7 +24058,7 @@ Duration scrapeTimeout
- + Duration @@ -24071,7 +24071,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -24120,7 +24120,7 @@ For more information see + []EnableFeature @@ -24166,7 +24166,7 @@ for use with kubectl proxy.

storage
- + StorageSpec @@ -24226,7 +24226,7 @@ It requires enabling the StatefulSetAutoDeletePVC feature gate.

web
- + PrometheusWebSpec @@ -24346,7 +24346,7 @@ Kubernetes core/v1.Affinity topologySpreadConstraints
- + []TopologySpreadConstraint @@ -24360,7 +24360,7 @@ Kubernetes core/v1.Affinity remoteWrite
- + []RemoteWriteSpec @@ -24477,7 +24477,7 @@ Prometheus after the upgrade.

apiserverConfig
- + APIServerConfig @@ -24518,7 +24518,7 @@ Default: “web”

arbitraryFSAccessThroughSMs
- + ArbitraryFSAccessThroughSMsConfig @@ -24733,7 +24733,7 @@ If Prometheus version is >= 2.45.0 and the enforcedKeepDroppedTargets enforcedBodySizeLimit
- + ByteSize @@ -24771,7 +24771,7 @@ enabling the StatefulSetMinReadySeconds feature gate.

hostAliases
- + []HostAlias @@ -24786,7 +24786,7 @@ hosts file if specified.

additionalArgs
- + []Argument @@ -24821,7 +24821,7 @@ bool excludedFromEnforcement
- + []ObjectReference @@ -24865,7 +24865,7 @@ PodMonitor and ServiceMonitor objects.

tracingConfig
- + PrometheusTracingConfig @@ -24881,7 +24881,7 @@ in a breaking way.

bodySizeLimit
- + ByteSize @@ -24989,7 +24989,7 @@ If you want to enforce a maximum limit for all scrape objects, refer to enforced reloadStrategy
- + ReloadStrategyType @@ -25017,7 +25017,7 @@ If set, the value should be greater than 60 (seconds). Otherwise it will be equa scrapeClasses
- + []ScrapeClass @@ -25031,10 +25031,10 @@ in a breaking way.

-

PuppetDBSDConfig +

PuppetDBSDConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

PuppetDBSDConfig configurations allow retrieving scrape targets from PuppetDB resources. @@ -25089,7 +25089,7 @@ that you don’t have secrets exposed as parameters if you enable this.

refreshInterval
- + Duration @@ -25114,7 +25114,7 @@ int32 basicAuth
- + BasicAuth @@ -25129,7 +25129,7 @@ Cannot be set at the same time as authorization, or oauth2 authorization
- + SafeAuthorization @@ -25144,7 +25144,7 @@ Cannot be set at the same time as basicAuth, or oauth2 oauth2
- + OAuth2 @@ -25217,7 +25217,7 @@ proxies during CONNECT requests.

tlsConfig
- + SafeTLSConfig @@ -25253,10 +25253,10 @@ bool -

PushoverConfig +

PushoverConfig

-(Appears on:Receiver) +(Appears on:Receiver)

PushoverConfig configures notifications via Pushover. @@ -25396,7 +25396,7 @@ string ttl
- + Duration @@ -25484,7 +25484,7 @@ bool httpConfig
- + HTTPConfig @@ -25496,10 +25496,10 @@ HTTPConfig -

Receiver +

Receiver

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

Receiver defines one or more notification integrations.

@@ -25527,7 +25527,7 @@ string opsgenieConfigs
- + []OpsGenieConfig @@ -25540,7 +25540,7 @@ string pagerdutyConfigs
- + []PagerDutyConfig @@ -25553,7 +25553,7 @@ string discordConfigs
- + []DiscordConfig @@ -25567,7 +25567,7 @@ string slackConfigs
- + []SlackConfig @@ -25580,7 +25580,7 @@ string webhookConfigs
- + []WebhookConfig @@ -25593,7 +25593,7 @@ string wechatConfigs
- + []WeChatConfig @@ -25606,7 +25606,7 @@ string emailConfigs
- + []EmailConfig @@ -25619,7 +25619,7 @@ string victoropsConfigs
- + []VictorOpsConfig @@ -25632,7 +25632,7 @@ string pushoverConfigs
- + []PushoverConfig @@ -25645,7 +25645,7 @@ string snsConfigs
- + []SNSConfig @@ -25658,7 +25658,7 @@ string telegramConfigs
- + []TelegramConfig @@ -25671,7 +25671,7 @@ string webexConfigs
- + []WebexConfig @@ -25684,7 +25684,7 @@ string msteamsConfigs
- + []MSTeamsConfig @@ -25696,18 +25696,18 @@ It requires Alertmanager >= 0.26.0.

-

Role +

Role (string alias)

-(Appears on:K8SSelectorConfig, KubernetesSDConfig) +(Appears on:K8SSelectorConfig, KubernetesSDConfig)

Role is role of the service in Kubernetes.

-

Route +

Route

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

Route defines a node in the routing tree.

@@ -25793,7 +25793,7 @@ Example: “4h”

matchers
- + []Matcher @@ -25866,18 +25866,18 @@ MuteTimeIntervals is a list of MuteTimeInterval names that will mute this route -

SDFile +

SDFile (string alias)

-(Appears on:FileSDConfig) +(Appears on:FileSDConfig)

SDFile represents a file used for service discovery

-

SNSConfig +

SNSConfig

-(Appears on:Receiver) +(Appears on:Receiver)

SNSConfig configures notifications via AWS SNS. @@ -25920,7 +25920,7 @@ If not specified, the SNS API URL from the SNS SDK will be used.

sigv4
- + Sigv4 @@ -26009,7 +26009,7 @@ map[string]string httpConfig
- + HTTPConfig @@ -26021,10 +26021,10 @@ HTTPConfig -

ScrapeConfigSpec +

ScrapeConfigSpec

-(Appears on:ScrapeConfig) +(Appears on:ScrapeConfig)

ScrapeConfigSpec is a specification of the desired configuration for a scrape configuration.

@@ -26056,7 +26056,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea staticConfigs
- + []StaticConfig @@ -26070,7 +26070,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea fileSDConfigs
- + []FileSDConfig @@ -26084,7 +26084,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea httpSDConfigs
- + []HTTPSDConfig @@ -26098,7 +26098,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea kubernetesSDConfigs
- + []KubernetesSDConfig @@ -26112,7 +26112,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea consulSDConfigs
- + []ConsulSDConfig @@ -26126,7 +26126,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dnsSDConfigs
- + []DNSSDConfig @@ -26140,7 +26140,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea ec2SDConfigs
- + []EC2SDConfig @@ -26154,7 +26154,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea azureSDConfigs
- + []AzureSDConfig @@ -26168,7 +26168,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea gceSDConfigs
- + []GCESDConfig @@ -26182,7 +26182,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea openstackSDConfigs
- + []OpenStackSDConfig @@ -26196,7 +26196,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea digitalOceanSDConfigs
- + []DigitalOceanSDConfig @@ -26210,7 +26210,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea kumaSDConfigs
- + []KumaSDConfig @@ -26224,7 +26224,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea eurekaSDConfigs
- + []EurekaSDConfig @@ -26238,7 +26238,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dockerSDConfigs
- + []DockerSDConfig @@ -26252,7 +26252,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea linodeSDConfigs
- + []LinodeSDConfig @@ -26266,7 +26266,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea hetznerSDConfigs
- + []HetznerSDConfig @@ -26280,7 +26280,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea NomadSDConfigs
- + []NomadSDConfig @@ -26294,7 +26294,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea dockerSwarmSDConfigs
- + []DockerSwarmSDConfig @@ -26308,7 +26308,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea puppetDBSDConfigs
- + []PuppetDBSDConfig @@ -26322,7 +26322,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea lightSailSDConfigs
- + []LightSailSDConfig @@ -26336,7 +26336,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea ovhcloudSDConfigs
- + []OVHCloudSDConfig @@ -26350,7 +26350,7 @@ operator to prevent duplicate job names, which Prometheus does not allow. Instea relabelings
- + []RelabelConfig @@ -26379,7 +26379,7 @@ string scrapeInterval
- + Duration @@ -26393,7 +26393,7 @@ Duration scrapeTimeout
- + Duration @@ -26407,7 +26407,7 @@ Duration scrapeProtocols
- + []ScrapeProtocol @@ -26502,7 +26502,7 @@ bool basicAuth
- + BasicAuth @@ -26516,7 +26516,7 @@ BasicAuth authorization
- + SafeAuthorization @@ -26530,7 +26530,7 @@ SafeAuthorization tlsConfig
- + SafeTLSConfig @@ -26621,7 +26621,7 @@ that will be kept in memory. 0 means no limit.

metricRelabelings
- + []RelabelConfig @@ -26703,10 +26703,10 @@ string -

SlackAction +

SlackAction

-(Appears on:SlackConfig) +(Appears on:SlackConfig)

SlackAction configures a single Slack action that is sent with each @@ -26790,7 +26790,7 @@ string confirm
- + SlackConfirmationField @@ -26801,10 +26801,10 @@ SlackConfirmationField -

SlackConfig +

SlackConfig

-(Appears on:Receiver) +(Appears on:Receiver)

SlackConfig configures notifications via Slack. @@ -26928,7 +26928,7 @@ string fields
- + []SlackField @@ -27052,7 +27052,7 @@ bool actions
- + []SlackAction @@ -27066,7 +27066,7 @@ bool httpConfig
- + HTTPConfig @@ -27078,10 +27078,10 @@ HTTPConfig -

SlackConfirmationField +

SlackConfirmationField

-(Appears on:SlackAction) +(Appears on:SlackAction)

SlackConfirmationField protect users from destructive actions or @@ -27143,10 +27143,10 @@ string -

SlackField +

SlackField

-(Appears on:SlackConfig) +(Appears on:SlackConfig)

SlackField configures a single Slack field that is sent with each notification. @@ -27195,10 +27195,10 @@ bool -

StaticConfig +

StaticConfig

-(Appears on:ScrapeConfigSpec) +(Appears on:ScrapeConfigSpec)

StaticConfig defines a Prometheus static configuration. @@ -27216,7 +27216,7 @@ See + []Target @@ -27240,18 +27240,18 @@ map[github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1.La -

Target +

Target (string alias)

-(Appears on:StaticConfig) +(Appears on:StaticConfig)

Target represents a target for Prometheus to scrape

-

TelegramConfig +

TelegramConfig

-(Appears on:Receiver) +(Appears on:Receiver)

TelegramConfig configures notifications via Telegram. @@ -27372,7 +27372,7 @@ string httpConfig
- + HTTPConfig @@ -27384,18 +27384,18 @@ HTTPConfig -

Time +

Time (string alias)

-(Appears on:TimeRange) +(Appears on:TimeRange)

Time defines a time in 24hr format

-

TimeInterval +

TimeInterval

-(Appears on:MuteTimeInterval) +(Appears on:MuteTimeInterval)

TimeInterval describes intervals of time

@@ -27412,7 +27412,7 @@ HTTPConfig times
- + []TimeRange @@ -27426,7 +27426,7 @@ HTTPConfig weekdays
- + []WeekdayRange @@ -27440,7 +27440,7 @@ HTTPConfig daysOfMonth
- + []DayOfMonthRange @@ -27454,7 +27454,7 @@ HTTPConfig months
- + []MonthRange @@ -27468,7 +27468,7 @@ HTTPConfig years
- + []YearRange @@ -27480,10 +27480,10 @@ HTTPConfig -

TimeRange +

TimeRange

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

TimeRange defines a start and end time in 24hr format

@@ -27500,7 +27500,7 @@ HTTPConfig startTime
- + Time @@ -27513,7 +27513,7 @@ Time endTime
- + Time @@ -27524,18 +27524,18 @@ Time -

URL +

URL (string alias)

-(Appears on:WebexConfig) +(Appears on:WebexConfig)

URL represents a valid URL

-

VictorOpsConfig +

VictorOpsConfig

-(Appears on:Receiver) +(Appears on:Receiver)

VictorOpsConfig configures notifications via VictorOps. @@ -27653,7 +27653,7 @@ string customFields
- + []KeyValue @@ -27667,7 +27667,7 @@ string httpConfig
- + HTTPConfig @@ -27679,10 +27679,10 @@ HTTPConfig -

WeChatConfig +

WeChatConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WeChatConfig configures notifications via WeChat. @@ -27818,7 +27818,7 @@ string httpConfig
- + HTTPConfig @@ -27830,10 +27830,10 @@ HTTPConfig -

WebexConfig +

WebexConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WebexConfig configures notification via Cisco Webex @@ -27863,7 +27863,7 @@ bool apiURL
- + URL @@ -27878,7 +27878,7 @@ Provide if different from the default API URL.

httpConfig
- + HTTPConfig @@ -27914,10 +27914,10 @@ string -

WebhookConfig +

WebhookConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WebhookConfig configures notifications via a generic receiver supporting the webhook payload. @@ -27978,7 +27978,7 @@ object and accessible by the Prometheus Operator.

httpConfig
- + HTTPConfig @@ -28002,7 +28002,7 @@ int32 -

Weekday +

Weekday (string alias)

Weekday is day of the week

@@ -28030,30 +28030,30 @@ int32 -

WeekdayRange +

WeekdayRange (string alias)

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

WeekdayRange is an inclusive range of days of the week beginning on Sunday Days can be specified by name (e.g ‘Sunday’) or as an inclusive range (e.g ‘Monday:Friday’)

-

YearRange +

YearRange (string alias)

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

YearRange is an inclusive range of years


-

monitoring.coreos.com/v1beta1

+

monitoring.rhobs/v1beta1

Resource Types: -

AlertmanagerConfig +

AlertmanagerConfig

AlertmanagerConfig configures the Prometheus Alertmanager, @@ -28073,7 +28073,7 @@ specifying how alerts should be grouped, inhibited and notified to external syst string -monitoring.coreos.com/v1beta1 +monitoring.rhobs/v1beta1 @@ -28102,7 +28102,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
- + AlertmanagerConfigSpec @@ -28115,7 +28115,7 @@ AlertmanagerConfigSpec route
- + Route @@ -28131,7 +28131,7 @@ configuration as a first-level route.

receivers
- + []Receiver @@ -28145,7 +28145,7 @@ configuration as a first-level route.

inhibitRules
- + []InhibitRule @@ -28160,7 +28160,7 @@ the resource’s namespace.

timeIntervals
- + []TimeInterval @@ -28175,10 +28175,10 @@ the resource’s namespace.

-

AlertmanagerConfigSpec +

AlertmanagerConfigSpec

-(Appears on:AlertmanagerConfig) +(Appears on:AlertmanagerConfig)

AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. @@ -28197,7 +28197,7 @@ the namespace label is equal to the namespace of the AlertmanagerCo route
- + Route @@ -28213,7 +28213,7 @@ configuration as a first-level route.

receivers
- + []Receiver @@ -28227,7 +28227,7 @@ configuration as a first-level route.

inhibitRules
- + []InhibitRule @@ -28242,7 +28242,7 @@ the resource’s namespace.

timeIntervals
- + []TimeInterval @@ -28254,10 +28254,10 @@ the resource’s namespace.

-

DayOfMonthRange +

DayOfMonthRange

-(Appears on:TimePeriod) +(Appears on:TimePeriod)

DayOfMonthRange is an inclusive range of days of the month beginning at 1

@@ -28294,10 +28294,10 @@ int -

DiscordConfig +

DiscordConfig

-(Appears on:Receiver) +(Appears on:Receiver)

DiscordConfig configures notifications via Discord. @@ -28366,7 +28366,7 @@ string httpConfig
- + HTTPConfig @@ -28378,10 +28378,10 @@ HTTPConfig -

EmailConfig +

EmailConfig

-(Appears on:Receiver) +(Appears on:Receiver)

EmailConfig configures notifications via Email.

@@ -28470,7 +28470,7 @@ string authPassword
- + SecretKeySelector @@ -28485,7 +28485,7 @@ object and accessible by the Prometheus Operator.

authSecret
- + SecretKeySelector @@ -28512,7 +28512,7 @@ string headers
- + []KeyValue @@ -28563,7 +28563,7 @@ Note that Go does not support unencrypted connections to remote SMTP endpoints.< tlsConfig
- + SafeTLSConfig @@ -28575,10 +28575,10 @@ SafeTLSConfig -

HTTPConfig +

HTTPConfig

-(Appears on:DiscordConfig, MSTeamsConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SNSConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebexConfig, WebhookConfig) +(Appears on:DiscordConfig, MSTeamsConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SNSConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebexConfig, WebhookConfig)

HTTPConfig defines a client HTTP configuration. @@ -28596,7 +28596,7 @@ See + SafeAuthorization @@ -28611,7 +28611,7 @@ This is mutually exclusive with BasicAuth and is only available starting from Al basicAuth
- + BasicAuth @@ -28626,7 +28626,7 @@ This is mutually exclusive with Authorization. If both are defined, BasicAuth ta oauth2
- + OAuth2 @@ -28640,7 +28640,7 @@ OAuth2 bearerTokenSecret
- + SecretKeySelector @@ -28657,7 +28657,7 @@ object and accessible by the Prometheus Operator.

tlsConfig
- + SafeTLSConfig @@ -28693,10 +28693,10 @@ bool -

InhibitRule +

InhibitRule

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

InhibitRule defines an inhibition rule that allows to mute alerts when other @@ -28715,7 +28715,7 @@ See + []Matcher @@ -28729,7 +28729,7 @@ operator enforces that the alert matches the resource’s namespace.

sourceMatch
- + []Matcher @@ -28754,10 +28754,10 @@ the inhibition to take effect.

-

KeyValue +

KeyValue

-(Appears on:EmailConfig, OpsGenieConfig, PagerDutyConfig, VictorOpsConfig) +(Appears on:EmailConfig, OpsGenieConfig, PagerDutyConfig, VictorOpsConfig)

KeyValue defines a (key, value) tuple.

@@ -28794,10 +28794,10 @@ string -

MSTeamsConfig +

MSTeamsConfig

-(Appears on:Receiver) +(Appears on:Receiver)

MSTeamsConfig configures notifications via Microsoft Teams. @@ -28877,7 +28877,7 @@ string httpConfig
- + HTTPConfig @@ -28889,10 +28889,10 @@ HTTPConfig -

MatchType +

MatchType (string alias)

-(Appears on:Matcher) +(Appears on:Matcher)

MatchType is a comparison operator on a Matcher

@@ -28914,10 +28914,10 @@ HTTPConfig -

Matcher +

Matcher

-(Appears on:InhibitRule, Route) +(Appears on:InhibitRule, Route)

Matcher defines how to match on alert’s labels.

@@ -28957,7 +28957,7 @@ string matchType
- + MatchType @@ -28970,7 +28970,7 @@ Negative operators (!= and !~) require Alertmanager &g -

Month +

Month (string alias)

Month of the year

@@ -29008,19 +29008,19 @@ Negative operators (!= and !~) require Alertmanager &g -

MonthRange +

MonthRange (string alias)

-(Appears on:TimePeriod) +(Appears on:TimePeriod)

MonthRange is an inclusive range of months of the year beginning in January Months can be specified by name (e.g ‘January’) by numerical month (e.g ‘1’) or as an inclusive range (e.g ‘January:March’, ‘1:3’, ‘1:March’)

-

OpsGenieConfig +

OpsGenieConfig

-(Appears on:Receiver) +(Appears on:Receiver)

OpsGenieConfig configures notifications via OpsGenie. @@ -29050,7 +29050,7 @@ bool apiKey
- + SecretKeySelector @@ -29150,7 +29150,7 @@ string details
- + []KeyValue @@ -29164,7 +29164,7 @@ string responders
- + []OpsGenieConfigResponder @@ -29178,7 +29178,7 @@ string httpConfig
- + HTTPConfig @@ -29214,10 +29214,10 @@ string -

OpsGenieConfigResponder +

OpsGenieConfigResponder

-(Appears on:OpsGenieConfig) +(Appears on:OpsGenieConfig)

OpsGenieConfigResponder defines a responder to an incident. @@ -29280,10 +29280,10 @@ string -

PagerDutyConfig +

PagerDutyConfig

-(Appears on:Receiver) +(Appears on:Receiver)

PagerDutyConfig configures notifications via PagerDuty. @@ -29313,7 +29313,7 @@ bool routingKey
- + SecretKeySelector @@ -29330,7 +29330,7 @@ object and accessible by the Prometheus Operator.

serviceKey
- + SecretKeySelector @@ -29444,7 +29444,7 @@ string details
- + []KeyValue @@ -29458,7 +29458,7 @@ string pagerDutyImageConfigs
- + []PagerDutyImageConfig @@ -29472,7 +29472,7 @@ string pagerDutyLinkConfigs
- + []PagerDutyLinkConfig @@ -29486,7 +29486,7 @@ string httpConfig
- + HTTPConfig @@ -29510,10 +29510,10 @@ string -

PagerDutyImageConfig +

PagerDutyImageConfig

-(Appears on:PagerDutyConfig) +(Appears on:PagerDutyConfig)

PagerDutyImageConfig attaches images to an incident

@@ -29564,10 +29564,10 @@ string -

PagerDutyLinkConfig +

PagerDutyLinkConfig

-(Appears on:PagerDutyConfig) +(Appears on:PagerDutyConfig)

PagerDutyLinkConfig attaches text links to an incident

@@ -29606,7 +29606,7 @@ string -

ParsedRange +

ParsedRange

ParsedRange is an integer representation of a range

@@ -29643,10 +29643,10 @@ int -

PushoverConfig +

PushoverConfig

-(Appears on:Receiver) +(Appears on:Receiver)

PushoverConfig configures notifications via Pushover. @@ -29676,7 +29676,7 @@ bool userKey
- + SecretKeySelector @@ -29707,7 +29707,7 @@ It requires Alertmanager >= v0.26.0.

token
- + SecretKeySelector @@ -29786,7 +29786,7 @@ string ttl
- + Duration @@ -29874,7 +29874,7 @@ bool httpConfig
- + HTTPConfig @@ -29886,10 +29886,10 @@ HTTPConfig -

Receiver +

Receiver

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

Receiver defines one or more notification integrations.

@@ -29917,7 +29917,7 @@ string opsgenieConfigs
- + []OpsGenieConfig @@ -29930,7 +29930,7 @@ string pagerdutyConfigs
- + []PagerDutyConfig @@ -29943,7 +29943,7 @@ string discordConfigs
- + []DiscordConfig @@ -29956,7 +29956,7 @@ string slackConfigs
- + []SlackConfig @@ -29969,7 +29969,7 @@ string webhookConfigs
- + []WebhookConfig @@ -29982,7 +29982,7 @@ string wechatConfigs
- + []WeChatConfig @@ -29995,7 +29995,7 @@ string emailConfigs
- + []EmailConfig @@ -30008,7 +30008,7 @@ string victoropsConfigs
- + []VictorOpsConfig @@ -30021,7 +30021,7 @@ string pushoverConfigs
- + []PushoverConfig @@ -30034,7 +30034,7 @@ string snsConfigs
- + []SNSConfig @@ -30047,7 +30047,7 @@ string telegramConfigs
- + []TelegramConfig @@ -30060,7 +30060,7 @@ string webexConfigs
- + []WebexConfig @@ -30073,7 +30073,7 @@ string msteamsConfigs
- + []MSTeamsConfig @@ -30085,10 +30085,10 @@ It requires Alertmanager >= 0.26.0.

-

Route +

Route

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

Route defines a node in the routing tree.

@@ -30174,7 +30174,7 @@ Example: “4h”

matchers
- + []Matcher @@ -30247,10 +30247,10 @@ MuteTimeIntervals is a list of TimeInterval names that will mute this route when -

SNSConfig +

SNSConfig

-(Appears on:Receiver) +(Appears on:Receiver)

SNSConfig configures notifications via AWS SNS. @@ -30293,7 +30293,7 @@ If not specified, the SNS API URL from the SNS SDK will be used.

sigv4
- + Sigv4 @@ -30382,7 +30382,7 @@ map[string]string httpConfig
- + HTTPConfig @@ -30394,10 +30394,10 @@ HTTPConfig -

SecretKeySelector +

SecretKeySelector

-(Appears on:EmailConfig, HTTPConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebhookConfig) +(Appears on:EmailConfig, HTTPConfig, OpsGenieConfig, PagerDutyConfig, PushoverConfig, SlackConfig, TelegramConfig, VictorOpsConfig, WeChatConfig, WebhookConfig)

SecretKeySelector selects a key of a Secret.

@@ -30434,10 +30434,10 @@ string -

SlackAction +

SlackAction

-(Appears on:SlackConfig) +(Appears on:SlackConfig)

SlackAction configures a single Slack action that is sent with each @@ -30521,7 +30521,7 @@ string confirm
- + SlackConfirmationField @@ -30532,10 +30532,10 @@ SlackConfirmationField -

SlackConfig +

SlackConfig

-(Appears on:Receiver) +(Appears on:Receiver)

SlackConfig configures notifications via Slack. @@ -30565,7 +30565,7 @@ bool apiURL
- + SecretKeySelector @@ -30659,7 +30659,7 @@ string fields
- + []SlackField @@ -30783,7 +30783,7 @@ bool actions
- + []SlackAction @@ -30797,7 +30797,7 @@ bool httpConfig
- + HTTPConfig @@ -30809,10 +30809,10 @@ HTTPConfig -

SlackConfirmationField +

SlackConfirmationField

-(Appears on:SlackAction) +(Appears on:SlackAction)

SlackConfirmationField protect users from destructive actions or @@ -30874,10 +30874,10 @@ string -

SlackField +

SlackField

-(Appears on:SlackConfig) +(Appears on:SlackConfig)

SlackField configures a single Slack field that is sent with each notification. @@ -30926,10 +30926,10 @@ bool -

TelegramConfig +

TelegramConfig

-(Appears on:Receiver) +(Appears on:Receiver)

TelegramConfig configures notifications via Telegram. @@ -30972,7 +30972,7 @@ If not specified, default API URL will be used.

botToken
- + SecretKeySelector @@ -31050,7 +31050,7 @@ string httpConfig
- + HTTPConfig @@ -31062,18 +31062,18 @@ HTTPConfig -

Time +

Time (string alias)

-(Appears on:TimeRange) +(Appears on:TimeRange)

Time defines a time in 24hr format

-

TimeInterval +

TimeInterval

-(Appears on:AlertmanagerConfigSpec) +(Appears on:AlertmanagerConfigSpec)

TimeInterval specifies the periods in time when notifications will be muted or active.

@@ -31101,7 +31101,7 @@ string timeIntervals
- + []TimePeriod @@ -31112,10 +31112,10 @@ string -

TimePeriod +

TimePeriod

-(Appears on:TimeInterval) +(Appears on:TimeInterval)

TimePeriod describes periods of time.

@@ -31132,7 +31132,7 @@ string times
- + []TimeRange @@ -31146,7 +31146,7 @@ string weekdays
- + []WeekdayRange @@ -31160,7 +31160,7 @@ string daysOfMonth
- + []DayOfMonthRange @@ -31174,7 +31174,7 @@ string months
- + []MonthRange @@ -31188,7 +31188,7 @@ string years
- + []YearRange @@ -31200,10 +31200,10 @@ string -

TimeRange +

TimeRange

-(Appears on:TimePeriod) +(Appears on:TimePeriod)

TimeRange defines a start and end time in 24hr format

@@ -31220,7 +31220,7 @@ string startTime
- + Time @@ -31233,7 +31233,7 @@ Time endTime
- + Time @@ -31244,18 +31244,18 @@ Time -

URL +

URL (string alias)

-(Appears on:WebexConfig) +(Appears on:WebexConfig)

URL represents a valid URL

-

VictorOpsConfig +

VictorOpsConfig

-(Appears on:Receiver) +(Appears on:Receiver)

VictorOpsConfig configures notifications via VictorOps. @@ -31285,7 +31285,7 @@ bool apiKey
- + SecretKeySelector @@ -31373,7 +31373,7 @@ string customFields
- + []KeyValue @@ -31387,7 +31387,7 @@ string httpConfig
- + HTTPConfig @@ -31399,10 +31399,10 @@ HTTPConfig -

WeChatConfig +

WeChatConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WeChatConfig configures notifications via WeChat. @@ -31432,7 +31432,7 @@ bool apiSecret
- + SecretKeySelector @@ -31538,7 +31538,7 @@ string httpConfig
- + HTTPConfig @@ -31550,10 +31550,10 @@ HTTPConfig -

WebexConfig +

WebexConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WebexConfig configures notification via Cisco Webex @@ -31583,7 +31583,7 @@ bool apiURL
- + URL @@ -31597,7 +31597,7 @@ URL httpConfig
- + HTTPConfig @@ -31632,10 +31632,10 @@ string -

WebhookConfig +

WebhookConfig

-(Appears on:Receiver) +(Appears on:Receiver)

WebhookConfig configures notifications via a generic receiver supporting the webhook payload. @@ -31678,7 +31678,7 @@ string urlSecret
- + SecretKeySelector @@ -31696,7 +31696,7 @@ object and accessible by the Prometheus Operator.

httpConfig
- + HTTPConfig @@ -31720,7 +31720,7 @@ int32 -

Weekday +

Weekday (string alias)

Weekday is day of the week

@@ -31748,19 +31748,19 @@ int32 -

WeekdayRange +

WeekdayRange (string alias)

-(Appears on:TimePeriod) +(Appears on:TimePeriod)

WeekdayRange is an inclusive range of days of the week beginning on Sunday Days can be specified by name (e.g ‘Sunday’) or as an inclusive range (e.g ‘Monday:Friday’)

-

YearRange +

YearRange (string alias)

-(Appears on:TimePeriod) +(Appears on:TimePeriod)

YearRange is an inclusive range of years

diff --git a/Documentation/design.md b/Documentation/design.md index 253da64aa..1735e922e 100644 --- a/Documentation/design.md +++ b/Documentation/design.md @@ -67,7 +67,7 @@ Both `ServiceMonitors` as well as discovered targets may come from any namespace One can discover targets in all namespaces like this: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app @@ -99,7 +99,7 @@ Using the `namespaceSelector` of the `PodMonitorSpec`, one can restrict the name Once can discover targets in all namespaces like this: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PodMonitor metadata: name: example-app @@ -128,7 +128,7 @@ Alerts and recording rules are reconciled by the Operator and dynamically loaded The `AlertmanagerConfig` custom resource definition (CRD) declaratively specifies subsections of the Alertmanager configuration, allowing routing of alerts to custom receivers, and setting inhibition rules. The `AlertmanagerConfig` can be defined on a namespace level providing an aggregated configuration to Alertmanager. An example on how to use it is provided below. Please be aware that this CRD is not stable yet. ```yaml mdox-exec="cat example/user-guides/alerting/alertmanager-config-example.yaml" -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: AlertmanagerConfig metadata: name: config-example diff --git a/Documentation/proposals/202212-scrape-config.md b/Documentation/proposals/202212-scrape-config.md index e5ec60e39..89e5d6ba6 100644 --- a/Documentation/proposals/202212-scrape-config.md +++ b/Documentation/proposals/202212-scrape-config.md @@ -80,7 +80,7 @@ prometheusConfig Using a pseudo custom resource definition, we should have the following: ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: name: my-scrape-config diff --git a/Documentation/proposals/202305-scrapeclasses.md b/Documentation/proposals/202305-scrapeclasses.md index be8fc0346..d474fbd85 100644 --- a/Documentation/proposals/202305-scrapeclasses.md +++ b/Documentation/proposals/202305-scrapeclasses.md @@ -63,7 +63,7 @@ One (and only one) scrape class may be designated as the default class. When a resource defines several default scrape classes, it should fail the reconciliation. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus spec: scrapeClasses: @@ -100,7 +100,7 @@ To ensure users will have proper information about the error, the operator may ( Allow the user to select a scrape class which applies to all endpoints. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PodMonitor spec: scrapeClassName: istio-mtls @@ -116,7 +116,7 @@ If the `Monitor` resource has a `tlsConfig` field defined, the Operator will use Allow the user to select a scrape class for the prober service. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Probe spec: scrapeClassName: istio-mtls @@ -127,7 +127,7 @@ spec: Allow the user to select a scrape class for all endpoints. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor spec: scrapeClassName: istio-mtls @@ -141,7 +141,7 @@ spec: Allow the user to select a scrape class for the whole scrape configuration. ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: name: scrape-config @@ -170,7 +170,7 @@ An alternative solution would be to apply a default TLS configuration to all mon For example, via a hypothetical field `spec.scrapeTlsConfig`: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus spec: scrapeTlsConfig: @@ -198,7 +198,7 @@ Objections: A variant of the proposed solution is to introduce a new custom resource for defining scrape classes. ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeClass metadata: name: istio-mtls diff --git a/Documentation/proposals/202310-shard-autoscaling.md b/Documentation/proposals/202310-shard-autoscaling.md index a8afd5406..2ff88687e 100644 --- a/Documentation/proposals/202310-shard-autoscaling.md +++ b/Documentation/proposals/202310-shard-autoscaling.md @@ -91,7 +91,7 @@ If the operator deletes Prometheus pods in excess during a scale-down operation, We propose that Prometheus-Operator introduces a new `shardRetentionPolicy` field to the Prometheus CRD: ```yaml -apiVersion: monitoring.coreos.com +apiVersion: monitoring.rhobs kind: Prometheus metadata: name: example diff --git a/Documentation/proposals/202405-agent-daemonset.md b/Documentation/proposals/202405-agent-daemonset.md index 08c402228..7432d1222 100644 --- a/Documentation/proposals/202405-agent-daemonset.md +++ b/Documentation/proposals/202405-agent-daemonset.md @@ -64,7 +64,7 @@ Currently, we already have a PrometheusAgent CRD that supports StatefulSet deplo The reason for enhancing existing CRD (instead of introducing a new CRD) is it would take less time to finish the MVP. We’ll let users experiment with the MVP, and in case users report a separate CRD is needed, we’ll separate the logic of DaemonSet deployment into a new CRD later. -The current [PrometheusAgent CRD](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1alpha1.PrometheusAgent) already has sufficient fields for the DaemonSet deployment. The DaemonSet deployment can use all the existing fields in the CRD except the ones related to: +The current [PrometheusAgent CRD](https://prometheus-operator.dev/docs/operator/api/#monitoring.rhobs/v1alpha1.PrometheusAgent) already has sufficient fields for the DaemonSet deployment. The DaemonSet deployment can use all the existing fields in the CRD except the ones related to: * Selectors for service, probe, ScrapeConfig * Replica * Shard diff --git a/Documentation/rbac-crd.md b/Documentation/rbac-crd.md index cedf83be8..53d6f9421 100644 --- a/Documentation/rbac-crd.md +++ b/Documentation/rbac-crd.md @@ -37,7 +37,7 @@ metadata: rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-view: "true" rules: -- apiGroups: ["monitoring.coreos.com"] +- apiGroups: ["monitoring.rhobs"] resources: ["alertmanagers", "alertmanagerconfigs", "prometheuses", "prometheusrules", "servicemonitors", "podmonitors", "probes"] verbs: ["get", "list", "watch"] --- @@ -49,7 +49,7 @@ metadata: rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-admin: "true" rules: -- apiGroups: ["monitoring.coreos.com"] +- apiGroups: ["monitoring.rhobs"] resources: ["alertmanagers", "alertmanagerconfigs", "prometheuses", "prometheusrules", "servicemonitors", "podmonitors", "probes"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] ``` diff --git a/Documentation/rbac.md b/Documentation/rbac.md index 542ce27b1..af0d66246 100644 --- a/Documentation/rbac.md +++ b/Documentation/rbac.md @@ -30,7 +30,7 @@ metadata: name: prometheus-operator rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs resources: - alertmanagers - alertmanagers/finalizers diff --git a/Documentation/thanos.md b/Documentation/thanos.md index 766cc1856..ea33a9412 100644 --- a/Documentation/thanos.md +++ b/Documentation/thanos.md @@ -89,7 +89,7 @@ The [Thanos Ruler](https://thanos.io/tip/components/rule.md/) component evaluate ```yaml ... -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ThanosRuler metadata: name: thanos-ruler-demo diff --git a/Documentation/troubleshooting.md b/Documentation/troubleshooting.md index bd8b8e77c..3bfd85a7c 100644 --- a/Documentation/troubleshooting.md +++ b/Documentation/troubleshooting.md @@ -17,7 +17,7 @@ When applying updated CRDs on a cluster, you may face the following error messag ```bash $ kubectl apply -f $MANIFESTS -The CustomResourceDefinition "prometheuses.monitoring.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes +The CustomResourceDefinition "prometheuses.monitoring.rhobs" is invalid: metadata.annotations: Too long: must have at most 262144 bytes ``` The reason is that apply runs in the client by default and saves information into the object annotations but there's a hard limit on the size of annotations. @@ -146,7 +146,7 @@ We would then define the service monitor using `web` as the port, not `"8080"`. **CORRECT** ```yaml mdox-exec="cat example/user-guides/getting-started/example-app-service-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app @@ -163,7 +163,7 @@ spec: **INCORRECT** ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app diff --git a/Documentation/user-guides/alerting.md b/Documentation/user-guides/alerting.md index 505c25df9..2f077eb4f 100644 --- a/Documentation/user-guides/alerting.md +++ b/Documentation/user-guides/alerting.md @@ -49,7 +49,7 @@ You have a running Prometheus operator. First, let's create a Alertmanager cluster with three replicas: ```yaml mdox-exec="cat example/user-guides/alerting/alertmanager-example.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example @@ -140,7 +140,7 @@ The following example configuration creates an AlertmanagerConfig resource that sends notifications to a fictitious webhook service. ```yaml mdox-exec="cat example/user-guides/alerting/alertmanager-config-example.yaml" -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: AlertmanagerConfig metadata: name: config-example @@ -171,7 +171,7 @@ the previous example, the label `alertmanagerConfig: example` is added, so the Alertmanager object should be updated like this: ```yaml mdox-exec="cat example/user-guides/alerting/alertmanager-selector-example.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example @@ -189,7 +189,7 @@ an AlertmanagerConfig resource to be used for the Alertmanager configuration instead of the `alertmanager-example` secret. ```yaml mdox-exec="cat example/user-guides/alerting/alertmanager-example-alertmanager-configuration.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example @@ -242,7 +242,7 @@ alerts are fired against it. First, create a Prometheus instance that will send alerts to the Alertmanger cluster: ```yaml mdox-exec="cat example/user-guides/alerting/prometheus-example.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: example @@ -288,7 +288,7 @@ Discover `PrometheusRule` resources with `role=alert-rules` and `prometheus=example` labels from all namespaces with `team=frontend` label: ```yaml mdox-exec="cat example/user-guides/alerting/prometheus-example-rule-namespace-selector.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: example @@ -322,7 +322,7 @@ Create a PrometheusRule object from the following manifest. Note that the object's labels match with the `spec.ruleSelector` of the Prometheus object. ```yaml mdox-exec="cat example/user-guides/alerting/prometheus-example-rules.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PrometheusRule metadata: creationTimestamp: null diff --git a/Documentation/user-guides/basic-auth.md b/Documentation/user-guides/basic-auth.md index 0470142b4..193b06830 100644 --- a/Documentation/user-guides/basic-auth.md +++ b/Documentation/user-guides/basic-auth.md @@ -5,10 +5,10 @@ ## Basic auth for targets -To authenticate a `ServiceMonitor`s over a metrics endpoint use [`basicAuth`](../api.md#monitoring.coreos.com/v1.BasicAuth) +To authenticate a `ServiceMonitor`s over a metrics endpoint use [`basicAuth`](../api.md#monitoring.rhobs/v1.BasicAuth) ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: labels: diff --git a/Documentation/user-guides/exposing-prometheus-and-alertmanager.md b/Documentation/user-guides/exposing-prometheus-and-alertmanager.md index c26812d9a..58e29b3b8 100644 --- a/Documentation/user-guides/exposing-prometheus-and-alertmanager.md +++ b/Documentation/user-guides/exposing-prometheus-and-alertmanager.md @@ -14,7 +14,7 @@ The easiest way to expose Prometheus or Alertmanager is to use a Service of type Create a simple Prometheus object with one replica: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: main @@ -48,7 +48,7 @@ After creating a Service with the above manifest, the web UI of Prometheus will Exposing the Alertmanager works in the same fashion, with the selector `alertmanager: `. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: main @@ -111,7 +111,7 @@ spec: Prometheus and Alertmanager must be configured with the full URL at which they will be exposed. Therefore the Prometheus manifest requires an entry for `externalUrl`: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: main @@ -129,7 +129,7 @@ Once the Prometheus Pods are running they are reachable under the specified `ext The Alertmanager object's manifest follows the same rules: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: main @@ -232,7 +232,7 @@ spec: Finally, the Prometheus and `Alertmanager` objects must be created, specifying the `externalUrl` at which they will be found. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: main @@ -242,7 +242,7 @@ spec: requests: memory: 400Mi --- -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: main diff --git a/Documentation/user-guides/getting-started.md b/Documentation/user-guides/getting-started.md index 11e69c703..1a49b560e 100644 --- a/Documentation/user-guides/getting-started.md +++ b/Documentation/user-guides/getting-started.md @@ -118,7 +118,7 @@ label (in this case `team: frontend`) to identify which team is responsible for monitoring the application/service. ```yaml mdox-exec="cat example/user-guides/getting-started/example-app-service-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app @@ -204,7 +204,7 @@ to create new ServiceMonitors and Services without having to reconfigure the Prometheus object. ```yaml mdox-exec="cat example/user-guides/getting-started/prometheus-service-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus @@ -236,7 +236,7 @@ creation of a Kubernetes Service. In practice, the `spec.selector` label tells Prometheus which Pods should be scraped. ```yaml mdox-exec="cat example/user-guides/getting-started/example-app-pod-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PodMonitor metadata: name: example-app @@ -254,7 +254,7 @@ Similarly the Prometheus object defines which PodMonitors get selected with the `spec.podMonitorSelector` field. ```yaml mdox-exec="cat example/user-guides/getting-started/prometheus-pod-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus @@ -313,7 +313,7 @@ flag. The following example exposes the admin API: > ensure only clients authorized to perform these actions can do so. ```yaml mdox-exec="cat example/user-guides/getting-started/prometheus-admin-api.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/Documentation/user-guides/monitoring-kubernetes-ingress.md b/Documentation/user-guides/monitoring-kubernetes-ingress.md index c09a5e72d..d2ae0f083 100644 --- a/Documentation/user-guides/monitoring-kubernetes-ingress.md +++ b/Documentation/user-guides/monitoring-kubernetes-ingress.md @@ -132,7 +132,7 @@ spec: selector: prometheus: prometheus --- -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus @@ -163,7 +163,7 @@ Finally, we need tell Prometheus where to scrape metrics from. The Prometheus Op ```yaml --- -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: ambassador-monitor diff --git a/Documentation/user-guides/prometheus-agent.md b/Documentation/user-guides/prometheus-agent.md index c5b15ab00..298619c41 100644 --- a/Documentation/user-guides/prometheus-agent.md +++ b/Documentation/user-guides/prometheus-agent.md @@ -30,7 +30,7 @@ metadata: name: prometheus-operator rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs resources: - alertmanagers - alertmanagers/finalizers @@ -175,7 +175,7 @@ subjects: Lastly, we can deploy the Agent. The `spec` field is very similar to the Prometheus CRD but the features that aren't applicable to the agent mode (like alerting, retention, Thanos, ...) are not available. ```yaml mdox-exec="cat example/rbac/prometheus-agent/prometheus.yaml" -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: PrometheusAgent metadata: name: prometheus-agent diff --git a/Documentation/user-guides/running-exporters.md b/Documentation/user-guides/running-exporters.md index da834b5cf..15bb61b98 100644 --- a/Documentation/user-guides/running-exporters.md +++ b/Documentation/user-guides/running-exporters.md @@ -29,7 +29,7 @@ metadata: app: kube-state-metrics k8s-app: kube-state-metrics annotations: - alpha.monitoring.coreos.com/non-namespaced: "true" + alpha.monitoring.rhobs/non-namespaced: "true" name: kube-state-metrics spec: ports: @@ -48,7 +48,7 @@ This Service targets all Pods with the label `k8s-app: kube-state-metrics`. This ServiceMonitor targets **all** Services with the label `k8s-app` (`spec.selector`) any value, in the namespaces `kube-system` and `monitoring` (`spec.namespaceSelector`). ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: k8s-apps-http @@ -145,7 +145,7 @@ The following snippet will configure Prometheus to scrape metrics from the targe The following `ServiceMonitor` configures Prometheus to only select targets that have the `team` label set to `prometheus` and exclude the ones that have `datacenter` set to `west_europe`. The same configuration may be used with a `PodMonitor`. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app @@ -203,7 +203,7 @@ metricRelabelings: The following `PodMonitor` configures Prometheus to drop metrics where the `id` label matches the regex `/system.slice/var-lib-docker-containers.*-shm.mount`. The same configuration could also be used with a `ServiceMonitor` ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PodMonitor metadata: name: example-app diff --git a/Documentation/user-guides/scrapeconfig.md b/Documentation/user-guides/scrapeconfig.md index 709c91f01..3340d8075 100644 --- a/Documentation/user-guides/scrapeconfig.md +++ b/Documentation/user-guides/scrapeconfig.md @@ -43,7 +43,7 @@ to generate scrape configurations. * `kubernetes_sd` * `consul_sd` -The following examples are basic and don't cover all the supported service discovery mechanisms. The CRD is constantly evolving, adding new features and support for new Service Discoveries. Check the [API documentation](https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1alpha1.ScrapeConfig) to see all supported fields. +The following examples are basic and don't cover all the supported service discovery mechanisms. The CRD is constantly evolving, adding new features and support for new Service Discoveries. Check the [API documentation](https://prometheus-operator.dev/docs/operator/api/#monitoring.rhobs/v1alpha1.ScrapeConfig) to see all supported fields. If you have an interest in another service discovery mechanism or you see something missing in the implementation, please [open an issue](https://github.com/prometheus-operator/prometheus-operator/issues). @@ -53,7 +53,7 @@ If you have an interest in another service discovery mechanism or you see someth For example, to scrape the target located at `http://prometheus.demo.do.prometheus.io:9090`, use the following: ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: name: static-config @@ -95,7 +95,7 @@ data: This `ConfigMap` will then need to be mounted in the `Prometheus` spec: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: your-prometheus @@ -113,7 +113,7 @@ spec: You can then use ScrapeConfig to reference that file and scrape the associated targets: ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: name: file-sd @@ -132,7 +132,7 @@ spec: `http_sd` uses an endpoint for data, unlike `file_sd` which uses a file, removing the need for a configmap. For instance: ```yaml -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: ScrapeConfig metadata: name: http-sd diff --git a/Documentation/user-guides/shards-and-replicas.md b/Documentation/user-guides/shards-and-replicas.md index c2d8a9a16..50194b300 100644 --- a/Documentation/user-guides/shards-and-replicas.md +++ b/Documentation/user-guides/shards-and-replicas.md @@ -17,7 +17,7 @@ View the complete [Shards manifests](../../example/shards). The following manifest creates a Prometheus server with two replicas: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: labels: @@ -86,7 +86,7 @@ spec: ``` ```yaml mdox-exec="cat example/shards/example-app-service-monitor.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app @@ -113,7 +113,7 @@ We find the prometheus server scrapes three targets. Expand prometheus to two shards as shown below: ```yaml mdox-exec="cat example/shards/prometheus.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: labels: diff --git a/Documentation/user-guides/storage.md b/Documentation/user-guides/storage.md index e6b0c11f4..ecdcb4359 100644 --- a/Documentation/user-guides/storage.md +++ b/Documentation/user-guides/storage.md @@ -53,7 +53,7 @@ instead of making the following change to your `Prometheus` resource, see the example). ```yaml mdox-exec="cat example/storage/persisted-prometheus.yaml" -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: persisted @@ -89,7 +89,7 @@ For example, using an NFS volume might be accomplished with the following manifests: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: my-example-prometheus-name diff --git a/Documentation/user-guides/strategic-merge-patch.md b/Documentation/user-guides/strategic-merge-patch.md index 336882872..cce4f331a 100644 --- a/Documentation/user-guides/strategic-merge-patch.md +++ b/Documentation/user-guides/strategic-merge-patch.md @@ -35,7 +35,7 @@ The following manifest overwrites the `failureThreshold` value of startup probe of the Prometheus container: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: overwrite-failureThreshold @@ -52,7 +52,7 @@ The following manifest overwrites the `failureThreshold` values of the readiness and liveness probes for the Alertmanager container. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: overwrite-probes @@ -70,7 +70,7 @@ spec: The following manifest injects the environment variable `GOMEMLIMIT` to the Prometheus container: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: inject-env-var @@ -87,7 +87,7 @@ spec: The following manifest injects an additional container to the generated StatefulSet: ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: inject-sidecar @@ -109,7 +109,7 @@ Using `.spec.containers[*].args` directly would instead overwrite the container' `args` list completely, including the default arguments. ```yaml -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: additional-arguments diff --git a/Documentation/user-guides/webhook.md b/Documentation/user-guides/webhook.md index df9c0b4ef..8e91ecf61 100644 --- a/Documentation/user-guides/webhook.md +++ b/Documentation/user-guides/webhook.md @@ -226,11 +226,11 @@ webhooks: namespace: default path: /admission-prometheusrules/validate failurePolicy: Fail - name: prometheusrulevalidate.monitoring.coreos.com + name: prometheusrulevalidate.monitoring.rhobs namespaceSelector: {} rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - '*' operations: @@ -266,11 +266,11 @@ webhooks: namespace: default path: /admission-prometheusrules/mutate failurePolicy: Fail - name: prometheusrulemutate.monitoring.coreos.com + name: prometheusrulemutate.monitoring.rhobs namespaceSelector: {} rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - '*' operations: @@ -306,11 +306,11 @@ webhooks: namespace: default path: /admission-alertmanagerconfigs/validate failurePolicy: Fail - name: alertmanagerconfigsvalidate.monitoring.coreos.com + name: alertmanagerconfigsvalidate.monitoring.rhobs namespaceSelector: {} rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - v1alpha1 operations: @@ -331,10 +331,10 @@ For more details, refer to the [Kubernetes documentation](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#webhook-conversion). The following command patches the -`alertmanagerconfigs.monitoring.coreos.com` CRD to enable the conversion. +`alertmanagerconfigs.monitoring.rhobs` CRD to enable the conversion. ```bash -cat < Note: If you're not using cert-manager, check the [CA Bundle]({{< ref "#ca-bundle" >}}) section. diff --git a/Makefile b/Makefile index 591b6bc38..7f5fcf917 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ endif CONTAINER_CLI ?= docker -GO_PKG=github.com/prometheus-operator/prometheus-operator -IMAGE_OPERATOR?=quay.io/prometheus-operator/prometheus-operator -IMAGE_RELOADER?=quay.io/prometheus-operator/prometheus-config-reloader -IMAGE_WEBHOOK?=quay.io/prometheus-operator/admission-webhook +GO_PKG=github.com/rhobs/obo-prometheus-operator +IMAGE_OPERATOR?=quay.io/rhobs/obo-prometheus-operator +IMAGE_RELOADER?=quay.io/rhobs/obo-prometheus-config-reloader +IMAGE_WEBHOOK?=quay.io/rhobs/obo-admission-webhook TAG?=$(shell git rev-parse --short HEAD) VERSION?=$(shell cat VERSION | tr -d " \t\n\r") @@ -230,7 +230,7 @@ generate-crds: $(CONTROLLER_GEN_BINARY) $(GOJSONTOYAML_BINARY) $(TYPES_V1_TARGET find example/prometheus-operator-crd/ -name '*.yaml' -print0 | xargs -0 -I{} sh -c '$(GOJSONTOYAML_BINARY) -yamltojson < "$$1" | jq > "$(PWD)/jsonnet/prometheus-operator/$$(basename $$1 | cut -d'_' -f2 | cut -d. -f1)-crd.json"' -- {} cd pkg/apis/monitoring && $(CONTROLLER_GEN_BINARY) crd:crdVersions=v1 paths=./... output:crd:dir=$(PWD)/example/prometheus-operator-crd-full echo "// Code generated using 'make generate-crds'. DO NOT EDIT." > $(PWD)/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet - echo "{spec+: {versions+: $$($(GOJSONTOYAML_BINARY) -yamltojson < example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagerconfigs.yaml | jq '.spec.versions | map(select(.name == "v1beta1"))')}}" | $(JSONNETFMT_BINARY) - >> $(PWD)/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet + echo "{spec+: {versions+: $$($(GOJSONTOYAML_BINARY) -yamltojson < example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagerconfigs.yaml | jq '.spec.versions | map(select(.name == "v1beta1"))')}}" | $(JSONNETFMT_BINARY) - >> $(PWD)/jsonnet/prometheus-operator/alertmanagerconfigs-v1beta1-crd.libsonnet .PHONY: generate-remote-write-certs generate-remote-write-certs: @@ -247,7 +247,7 @@ bundle.yaml: generate-crds $(shell find example/rbac/prometheus-operator/*.yaml # description fields being removed. It is meant as a workaround for the issue # that `kubectl apply -f ...` might fail with the full version of the CRDs # because of too long annotations field. -# See https://github.com/prometheus-operator/prometheus-operator/issues/4355 +# See https://github.com/rhobs/obo-prometheus-operator/issues/4355 stripped-down-crds.yaml: $(shell find example/prometheus-operator-crd/*.yaml -type f) $(GOJSONTOYAML_BINARY) : > $@ for f in example/prometheus-operator-crd/*.yaml; do echo '---' >> $@; $(GOJSONTOYAML_BINARY) -yamltojson < $$f | jq 'walk(if type == "object" then with_entries(if .value|type=="object" then . else select(.key | test("description") | not) end) else . end)' | $(GOJSONTOYAML_BINARY) >> $@; done @@ -284,7 +284,7 @@ Documentation/compatibility.md: pkg/operator/defaults.go $(MDOX_BINARY) fmt $@ Documentation/api.md: $(TYPES_V1_TARGET) $(TYPES_V1ALPHA1_TARGET) $(TYPES_V1BETA1_TARGET) - $(API_DOC_GEN_BINARY) -api-dir "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/" -config "$(PWD)/scripts/docs/config.json" -template-dir "$(PWD)/scripts/docs/templates" -out-file "$(PWD)/Documentation/api.md" + $(API_DOC_GEN_BINARY) -api-dir "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/" -config "$(PWD)/scripts/docs/config.json" -template-dir "$(PWD)/scripts/docs/templates" -out-file "$(PWD)/Documentation/api.md" ############## # Formatting # diff --git a/README.md b/README.md index 67c85caa7..6290be62f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Prometheus Operator -[![Build Status](https://github.com/prometheus-operator/prometheus-operator/workflows/ci/badge.svg)](https://github.com/prometheus-operator/prometheus-operator/actions) +[![Build Status](https://github.com/rhobs/obo-prometheus-operator/workflows/ci/badge.svg)](https://github.com/rhobs/obo-prometheus-operator/actions) [![Go Report Card](https://goreportcard.com/badge/prometheus-operator/prometheus-operator "Go Report Card")](https://goreportcard.com/report/prometheus-operator/prometheus-operator) [![Slack](https://img.shields.io/badge/join%20slack-%23prometheus--operator-brightgreen.svg)](https://kubernetes.slack.com) @@ -21,15 +21,15 @@ The Prometheus operator includes, but is not limited to, the following features: * **Prometheus Target Configuration**: Automatically generate monitoring target configurations based on familiar Kubernetes label queries; no need to learn a Prometheus specific configuration language. -For an introduction to the Prometheus Operator, see the [getting started](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md) guide. +For an introduction to the Prometheus Operator, see the [getting started](https://github.com/rhobs/obo-prometheus-operator/blob/main/Documentation/user-guides/getting-started.md) guide. ## Project Status The operator in itself is considered to be production ready. Please refer to the Custom Resource Definition (CRD) versions for the status of each CRD: -* `monitoring.coreos.com/v1`: **stable** CRDs and API, changes are made in a backward-compatible way. -* `monitoring.coreos.com/v1beta1`: **unstable** CRDs and API, changes can happen but the team is focused on avoiding them. We encourage usage in production for users that accept the risk of breaking changes. -* `monitoring.coreos.com/v1alpha1`: **unstable** CRDs and API, changes can happen frequently, and we suggest avoiding its usage on mission-critical environments. +* `monitoring.rhobs/v1`: **stable** CRDs and API, changes are made in a backward-compatible way. +* `monitoring.rhobs/v1beta1`: **unstable** CRDs and API, changes can happen but the team is focused on avoiding them. We encourage usage in production for users that accept the risk of breaking changes. +* `monitoring.rhobs/v1alpha1`: **unstable** CRDs and API, changes can happen frequently, and we suggest avoiding its usage on mission-critical environments. ## Prometheus Operator vs. kube-prometheus vs. community helm chart @@ -152,11 +152,11 @@ for n in $(kubectl get namespaces -o jsonpath={..metadata.name}); do done kubectl delete --ignore-not-found customresourcedefinitions \ - prometheuses.monitoring.coreos.com \ - servicemonitors.monitoring.coreos.com \ - podmonitors.monitoring.coreos.com \ - alertmanagers.monitoring.coreos.com \ - prometheusrules.monitoring.coreos.com + prometheuses.monitoring.rhobs \ + servicemonitors.monitoring.rhobs \ + podmonitors.monitoring.rhobs \ + alertmanagers.monitoring.rhobs \ + prometheusrules.monitoring.rhobs ``` ## Testing diff --git a/RELEASE.md b/RELEASE.md index ad783e78c..38af93523 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -21,7 +21,7 @@ The release cycle for cutting releases is every 6 weeks | v0.66 | 2023-06-14 | Arthur Sens (Github: @ArthurSens) | | v0.65 | 2023-05-03 | Philip Gough (GitHub: @PhilipGough) | -If any of the maintainers is interested in volunteering please create a pull request against the [prometheus-operator/prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) repository and propose yourself for the release series of your choice. +If any of the maintainers is interested in volunteering please create a pull request against the [prometheus-operator/prometheus-operator](https://github.com/rhobs/obo-prometheus-operator) repository and propose yourself for the release series of your choice. ## Release shepherd responsibilities @@ -60,7 +60,7 @@ make tidy ## Update operand versions -A couple of days before the release, update the [default versions](https://github.com/prometheus-operator/prometheus-operator/blob/f6ce472ecd6064fb6769e306b55b149dfb6af903/pkg/operator/defaults.go#L20-L31) of Prometheus, Alertmanager and Thanos if newer versions are available. +A couple of days before the release, update the [default versions](https://github.com/rhobs/obo-prometheus-operator/blob/f6ce472ecd6064fb6769e306b55b149dfb6af903/pkg/operator/defaults.go#L20-L31) of Prometheus, Alertmanager and Thanos if newer versions are available. ## Prepare your release @@ -77,9 +77,9 @@ make clean generate Bump the version of the `pkg/apis/monitoring` and `pkg/client` packages in `go.mod`: ```bash -go mod edit -require "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring@v$(< VERSION)" pkg/client/go.mod -go mod edit -require "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring@v$(< VERSION)" -go mod edit -require "github.com/prometheus-operator/prometheus-operator/pkg/client@v$(< VERSION)" +go mod edit -require "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring@v$(< VERSION)" pkg/client/go.mod +go mod edit -require "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring@v$(< VERSION)" +go mod edit -require "github.com/rhobs/obo-prometheus-operator/pkg/client@v$(< VERSION)" ``` Now that all version information has been updated, an entry for the new version can be added to the `CHANGELOG.md` file. @@ -97,7 +97,7 @@ Create a PR for the changes to be reviewed. You can use the GitHub UI to see the difference between the release branch and the latest stable release. -For example: https://github.com/prometheus-operator/prometheus-operator/compare/v0.72.0...release-0.73 +For example: https://github.com/rhobs/obo-prometheus-operator/compare/v0.72.0...release-0.73 Unless exception, the latest tag shouldn't contain commits that don't exist in the release branch. @@ -106,7 +106,7 @@ Unless exception, the latest tag shouldn't contain commits that don't exist in t For new minor and major releases, create the `release-.` branch starting at the PR merge commit. Push the branch to the remote repository with -**Note:** The remote name `origin` is assumed to be pointed to `github.com/prometheus-operator/prometheus-operator`. If you have a different remote name, use that instead of `origin`. Verify this using `git remote -v`. +**Note:** The remote name `origin` is assumed to be pointed to `github.com/rhobs/obo-prometheus-operator`. If you have a different remote name, use that instead of `origin`. Verify this using `git remote -v`. ```bash git push origin release-. @@ -116,7 +116,7 @@ You could also create the release branch directly from Github UI as well if the From now on, all work happens on the `release-.` branch. -Tag the new release with a tag named `v..`, e.g. `v2.1.3`. Note the `v` prefix. Tag also the `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` module with `pkg/apis/monitoring/v..` and the `github.com/prometheus-operator/prometheus-operator/pkg/client` module with `pkg/client/v..`. You can do the tagging on the commandline: +Tag the new release with a tag named `v..`, e.g. `v2.1.3`. Note the `v` prefix. Tag also the `github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring` module with `pkg/apis/monitoring/v..` and the `github.com/rhobs/obo-prometheus-operator/pkg/client` module with `pkg/client/v..`. You can do the tagging on the commandline: ```bash tag="v$(< VERSION)" @@ -128,13 +128,13 @@ git push origin "${tag}" "pkg/apis/monitoring/${tag}" "pkg/client/${tag}" Signed tag with a GPG key is appreciated, but in case you can't add a GPG key to your Github account using the following [procedure](https://docs.github.com/articles/generating-a-gpg-key), you can replace the `-s` flag by `-a` flag of the `git tag` command to only annotate the tag without signing. -Once a tag is created, the `publish` Github action will push the container images to [quay.io](https://quay.io/organization/prometheus-operator) and [ghcr.io](https://github.com/prometheus-operator/prometheus-operator/pkgs/container/prometheus-operator). Wait until the [publish](https://github.com/prometheus-operator/prometheus-operator/actions/workflows/publish.yaml) workflow is complete before going to the next step. +Once a tag is created, the `publish` Github action will push the container images to [quay.io](https://quay.io/organization/prometheus-operator) and [ghcr.io](https://github.com/rhobs/obo-prometheus-operator/pkgs/container/prometheus-operator). Wait until the [publish](https://github.com/rhobs/obo-prometheus-operator/actions/workflows/publish.yaml) workflow is complete before going to the next step. We have observed in the past that if we create a draft release and publish it later assets are not attached correctly hence its advised to wait till all workflow jobs (at least the publish job) are completed to create the release. -Go to https://github.com/prometheus-operator/prometheus-operator/releases/new, associate the new release with the before pushed tag, paste in changes made to `CHANGELOG.md` and click "Publish release". +Go to https://github.com/rhobs/obo-prometheus-operator/releases/new, associate the new release with the before pushed tag, paste in changes made to `CHANGELOG.md` and click "Publish release". -Once release is published, [release job](https://github.com/prometheus-operator/prometheus-operator/actions/workflows/release.yaml) will be triggered to upload assets to the newly created release. +Once release is published, [release job](https://github.com/rhobs/obo-prometheus-operator/actions/workflows/release.yaml) will be triggered to upload assets to the newly created release. For patch releases, submit a pull request to merge back the release branch into the `main` branch. diff --git a/TESTING.md b/TESTING.md index 895982bb6..9f9a9e3d7 100644 --- a/TESTING.md +++ b/TESTING.md @@ -16,7 +16,7 @@ Imagine you're working on a PR that adds a new field to the ScrapeConfig CRD and Here is an example test that checks if the string generated from ScrapeConfigs are equal to an expected file. -https://github.com/prometheus-operator/prometheus-operator/blob/cb534214415beb3c39353988ae85f2bb07f245e7/pkg/prometheus/promcfg_test.go#L4945-L4956 +https://github.com/rhobs/obo-prometheus-operator/blob/cb534214415beb3c39353988ae85f2bb07f245e7/pkg/prometheus/promcfg_test.go#L4945-L4956 Unit tests can be run with: @@ -42,7 +42,7 @@ Golden files are plain-text documents designed to facilitate the validation of l In the example below, we're generating the Prometheus configuration (which can easily have 100+ lines for each individual test) and comparing it against a golden file: -https://github.com/prometheus-operator/prometheus-operator/blob/aeceb0b4fadc8307a44dc55afdceca0bea50bbb0/pkg/prometheus/promcfg_test.go#L102-L277 +https://github.com/rhobs/obo-prometheus-operator/blob/aeceb0b4fadc8307a44dc55afdceca0bea50bbb0/pkg/prometheus/promcfg_test.go#L102-L277 If not for golden files, the test above, instead of ~150 lines, would easily require around ~1000 lines. The usage of golden files help us maintain test suites with several multi line strings comparison without sacrificing test readability. @@ -104,9 +104,9 @@ When working on a contribution though, it's rare that you'll need to make a chan ### Skipping test suites -https://github.com/prometheus-operator/prometheus-operator/blob/272df8a2411bcf877107b3251e79ae8aa8c24761/test/e2e/main_test.go#L46-L50 +https://github.com/rhobs/obo-prometheus-operator/blob/272df8a2411bcf877107b3251e79ae8aa8c24761/test/e2e/main_test.go#L46-L50 -As shown above, particular test suites can be skipped with Environment Variables. You can also look at our [CI pipeline as example](https://github.com/prometheus-operator/prometheus-operator/blob/272df8a2411bcf877107b3251e79ae8aa8c24761/.github/workflows/e2e.yaml#L85-L94). Although we always run all tests in CI, skipping irrelevant tests are great during development as they shorten the feedback loop. +As shown above, particular test suites can be skipped with Environment Variables. You can also look at our [CI pipeline as example](https://github.com/rhobs/obo-prometheus-operator/blob/272df8a2411bcf877107b3251e79ae8aa8c24761/.github/workflows/e2e.yaml#L85-L94). Although we always run all tests in CI, skipping irrelevant tests are great during development as they shorten the feedback loop. The following Makefile targets can run specific end-to-end tests: diff --git a/VERSION b/VERSION index be0e1ece7..c6bb8051f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.75.2 +0.75.2-rhobs1 diff --git a/bundle.yaml b/bundle.yaml index 49c313223..cad1070cf 100644 --- a/bundle.yaml +++ b/bundle.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: alertmanagerconfigs.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagerconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: AlertmanagerConfig listKind: AlertmanagerConfigList plural: alertmanagerconfigs - shortNames: - - amcfg singular: alertmanagerconfig scope: Namespaced versions: @@ -6703,18 +6701,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: alertmanagers.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Alertmanager listKind: AlertmanagerList plural: alertmanagers - shortNames: - - am singular: alertmanager scope: Namespaced versions: @@ -15022,18 +15018,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: podmonitors.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: podmonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PodMonitor listKind: PodMonitorList plural: podmonitors - shortNames: - - pmon singular: podmonitor scope: Namespaced versions: @@ -15989,18 +15983,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: probes.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: probes.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Probe listKind: ProbeList plural: probes - shortNames: - - prb singular: probe scope: Namespaced versions: @@ -16932,18 +16924,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheusagents.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusagents.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusAgent listKind: PrometheusAgentList plural: prometheusagents - shortNames: - - promagent singular: prometheusagent scope: Namespaced versions: @@ -19977,11 +19967,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources @@ -27277,18 +27267,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheuses.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheuses.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Prometheus listKind: PrometheusList plural: prometheuses - shortNames: - - prom singular: prometheus scope: Namespaced versions: @@ -31047,11 +31035,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources @@ -39646,18 +39634,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheusrules.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusrules.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusRule listKind: PrometheusRuleList plural: prometheusrules - shortNames: - - promrule singular: prometheusrule scope: Namespaced versions: @@ -39786,18 +39772,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: scrapeconfigs.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: scrapeconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ScrapeConfig listKind: ScrapeConfigList plural: scrapeconfigs - shortNames: - - scfg singular: scrapeconfig scope: Namespaced versions: @@ -47238,18 +47222,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: servicemonitors.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: servicemonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ServiceMonitor listKind: ServiceMonitorList plural: servicemonitors - shortNames: - - smon singular: servicemonitor scope: Namespaced versions: @@ -48229,18 +48211,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: thanosrulers.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: thanosrulers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ThanosRuler listKind: ThanosRulerList plural: thanosrulers - shortNames: - - ruler singular: thanosruler scope: Namespaced versions: @@ -50782,11 +50762,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources @@ -56187,7 +56167,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator roleRef: apiGroup: rbac.authorization.k8s.io @@ -56204,11 +56184,11 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs resources: - alertmanagers - alertmanagers/finalizers @@ -56304,7 +56284,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default spec: @@ -56320,17 +56300,17 @@ spec: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 spec: automountServiceAccountToken: true containers: - args: - --kubelet-service=kube-system/kubelet - - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.75.2 + - --prometheus-config-reloader=quay.io/rhobs/obo-prometheus-config-reloader:v0.75.2-rhobs1 env: - name: GOGC value: "30" - image: quay.io/prometheus-operator/prometheus-operator:v0.75.2 + image: quay.io/rhobs/obo-prometheus-operator:v0.75.2-rhobs1 name: prometheus-operator ports: - containerPort: 8080 @@ -56364,7 +56344,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default --- @@ -56374,7 +56354,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default spec: diff --git a/cmd/admission-webhook/main.go b/cmd/admission-webhook/main.go index e43ec37be..73a7cd22c 100644 --- a/cmd/admission-webhook/main.go +++ b/cmd/admission-webhook/main.go @@ -31,11 +31,11 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "golang.org/x/sync/errgroup" - "github.com/prometheus-operator/prometheus-operator/internal/goruntime" - logging "github.com/prometheus-operator/prometheus-operator/internal/log" - "github.com/prometheus-operator/prometheus-operator/pkg/admission" - "github.com/prometheus-operator/prometheus-operator/pkg/server" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + "github.com/rhobs/obo-prometheus-operator/internal/goruntime" + logging "github.com/rhobs/obo-prometheus-operator/internal/log" + "github.com/rhobs/obo-prometheus-operator/pkg/admission" + "github.com/rhobs/obo-prometheus-operator/pkg/server" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) const defaultGOMemlimitRatio = 0.0 diff --git a/cmd/operator/main.go b/cmd/operator/main.go index fcaf98e27..9d2830f56 100644 --- a/cmd/operator/main.go +++ b/cmd/operator/main.go @@ -42,21 +42,21 @@ import ( k8sflag "k8s.io/component-base/cli/flag" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/internal/goruntime" - logging "github.com/prometheus-operator/prometheus-operator/internal/log" - "github.com/prometheus-operator/prometheus-operator/pkg/admission" - alertmanagercontroller "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/kubelet" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prometheusagentcontroller "github.com/prometheus-operator/prometheus-operator/pkg/prometheus/agent" - prometheuscontroller "github.com/prometheus-operator/prometheus-operator/pkg/prometheus/server" - "github.com/prometheus-operator/prometheus-operator/pkg/server" - thanoscontroller "github.com/prometheus-operator/prometheus-operator/pkg/thanos" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + "github.com/rhobs/obo-prometheus-operator/internal/goruntime" + logging "github.com/rhobs/obo-prometheus-operator/internal/log" + "github.com/rhobs/obo-prometheus-operator/pkg/admission" + alertmanagercontroller "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/kubelet" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prometheusagentcontroller "github.com/rhobs/obo-prometheus-operator/pkg/prometheus/agent" + prometheuscontroller "github.com/rhobs/obo-prometheus-operator/pkg/prometheus/server" + "github.com/rhobs/obo-prometheus-operator/pkg/server" + thanoscontroller "github.com/rhobs/obo-prometheus-operator/pkg/thanos" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) // checkPrerequisites verifies that the CRD is installed in the cluster and diff --git a/cmd/po-docgen/compatibility.go b/cmd/po-docgen/compatibility.go index 68691a7d3..cf3364bfe 100644 --- a/cmd/po-docgen/compatibility.go +++ b/cmd/po-docgen/compatibility.go @@ -15,7 +15,7 @@ package main import ( - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) type compatibilityMatrix struct { diff --git a/cmd/po-docgen/main.go b/cmd/po-docgen/main.go index 273d01719..b2a479722 100644 --- a/cmd/po-docgen/main.go +++ b/cmd/po-docgen/main.go @@ -18,7 +18,7 @@ import ( "fmt" "os" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) func main() { diff --git a/cmd/po-rule-migration/main.go b/cmd/po-rule-migration/main.go index bb977f78a..ebae0397f 100644 --- a/cmd/po-rule-migration/main.go +++ b/cmd/po-rule-migration/main.go @@ -28,9 +28,9 @@ import ( k8sYAML "k8s.io/apimachinery/pkg/util/yaml" "sigs.k8s.io/yaml" - monitoring "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + monitoring "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) func main() { diff --git a/cmd/prometheus-config-reloader/main.go b/cmd/prometheus-config-reloader/main.go index 9d60afde5..891185168 100644 --- a/cmd/prometheus-config-reloader/main.go +++ b/cmd/prometheus-config-reloader/main.go @@ -38,10 +38,10 @@ import ( "github.com/prometheus/exporter-toolkit/web" "github.com/thanos-io/thanos/pkg/reloader" - "github.com/prometheus-operator/prometheus-operator/internal/goruntime" - logging "github.com/prometheus-operator/prometheus-operator/internal/log" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + "github.com/rhobs/obo-prometheus-operator/internal/goruntime" + logging "github.com/rhobs/obo-prometheus-operator/internal/log" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) const ( diff --git a/cmd/prometheus-config-reloader/main_test.go b/cmd/prometheus-config-reloader/main_test.go index 0180efe25..eb88bbda5 100644 --- a/cmd/prometheus-config-reloader/main_test.go +++ b/cmd/prometheus-config-reloader/main_test.go @@ -24,7 +24,7 @@ import ( "github.com/go-test/deep" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) var cases = []struct { diff --git a/contrib/kube-prometheus/README.md b/contrib/kube-prometheus/README.md index 349ce74ee..0889db8b0 100644 --- a/contrib/kube-prometheus/README.md +++ b/contrib/kube-prometheus/README.md @@ -9,7 +9,7 @@ Moving kube-prometheus into its own repository is going to allow us to move more As an example, we are now going to publish versioned kube-prometheus releases, something that was not possible before. Take a look at this issue for more information: -https://github.com/prometheus-operator/prometheus-operator/issues/2553 +https://github.com/rhobs/obo-prometheus-operator/issues/2553 **What do I need to do?** @@ -22,7 +22,7 @@ Users depending on kube-prometheus with jsonnet-bundler, should change this thei "name": "kube-prometheus", "source": { "git": { -- "remote": "https://github.com/prometheus-operator/prometheus-operator", +- "remote": "https://github.com/rhobs/obo-prometheus-operator", - "subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus" + "remote": "https://github.com/prometheus-operator/kube-prometheus", + "subdir": "jsonnet/kube-prometheus" diff --git a/example/additional-scrape-configs/prometheus.yaml b/example/additional-scrape-configs/prometheus.yaml index ee4cc0c6b..9192ae9c4 100644 --- a/example/additional-scrape-configs/prometheus.yaml +++ b/example/additional-scrape-configs/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/example/admission-webhook/deployment.yaml b/example/admission-webhook/deployment.yaml index 785f6b3b2..5bbf729f5 100644 --- a/example/admission-webhook/deployment.yaml +++ b/example/admission-webhook/deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator-admission-webhook namespace: default spec: @@ -20,7 +20,7 @@ spec: kubectl.kubernetes.io/default-container: prometheus-operator-admission-webhook labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 spec: affinity: podAntiAffinity: @@ -37,7 +37,7 @@ spec: - --web.enable-tls=true - --web.cert-file=/etc/tls/private/tls.crt - --web.key-file=/etc/tls/private/tls.key - image: quay.io/prometheus-operator/admission-webhook:v0.75.2 + image: quay.io/rhobs/obo-admission-webhook:v0.75.2-rhobs1 name: prometheus-operator-admission-webhook ports: - containerPort: 8443 diff --git a/example/admission-webhook/pod-disruption-budget.yaml b/example/admission-webhook/pod-disruption-budget.yaml index d74464f2c..630bfa6d4 100644 --- a/example/admission-webhook/pod-disruption-budget.yaml +++ b/example/admission-webhook/pod-disruption-budget.yaml @@ -3,7 +3,7 @@ kind: PodDisruptionBudget metadata: labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator-admission-webhook namespace: default spec: diff --git a/example/admission-webhook/service-account.yaml b/example/admission-webhook/service-account.yaml index 4cc7c8ba0..0d589c995 100644 --- a/example/admission-webhook/service-account.yaml +++ b/example/admission-webhook/service-account.yaml @@ -4,6 +4,6 @@ kind: ServiceAccount metadata: labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator-admission-webhook namespace: default diff --git a/example/admission-webhook/service-monitor.yaml b/example/admission-webhook/service-monitor.yaml index 43d593346..410086732 100644 --- a/example/admission-webhook/service-monitor.yaml +++ b/example/admission-webhook/service-monitor.yaml @@ -1,9 +1,9 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator-admission-webhook namespace: default spec: @@ -13,4 +13,4 @@ spec: selector: matchLabels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 diff --git a/example/admission-webhook/service.yaml b/example/admission-webhook/service.yaml index 570fed0ce..c71a07f3c 100644 --- a/example/admission-webhook/service.yaml +++ b/example/admission-webhook/service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: labels: app.kubernetes.io/name: prometheus-operator-admission-webhook - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator-admission-webhook namespace: default spec: diff --git a/example/alertmanager-crd-conversion/patch.json b/example/alertmanager-crd-conversion/patch.json index 7bf23a991..64e89ac91 100644 --- a/example/alertmanager-crd-conversion/patch.json +++ b/example/alertmanager-crd-conversion/patch.json @@ -4,9 +4,9 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "alertmanagerconfigs.monitoring.coreos.com" + "name": "alertmanagerconfigs.monitoring.rhobs" }, "spec": { "conversion": { diff --git a/example/alertmanager-webhook/Makefile b/example/alertmanager-webhook/Makefile index 998546f07..00f46d292 100644 --- a/example/alertmanager-webhook/Makefile +++ b/example/alertmanager-webhook/Makefile @@ -1,4 +1,4 @@ -IMAGE ?= quay.io/prometheus-operator/prometheus-alertmanager-test-webhook +IMAGE ?= quay.io/rhobs/obo-prometheus-alertmanager-test-webhook TAG ?= latest .PHONY: build diff --git a/example/alertmanager-webhook/README.md b/example/alertmanager-webhook/README.md index 333b19e0a..ffe8e6c8e 100644 --- a/example/alertmanager-webhook/README.md +++ b/example/alertmanager-webhook/README.md @@ -2,14 +2,14 @@ This directory contains a very simple program that can receive alert notifications from Alertmanager. It is used by the end-to-end tests to verify that Alertmanager works as expected. -The program is available at `quay.io/prometheus-operator/prometheus-alertmanager-test-webhook:latest`. +The program is available at `quay.io/rhobs/obo-prometheus-alertmanager-test-webhook:latest`. ## Updating the image on quay.io The image requires very few updates since the program is very simple and only used for testing. Pre-requisites: -* Credentials to push the image to `quay.io/prometheus-operator/prometheus-alertmanager-test-webhook`. +* Credentials to push the image to `quay.io/rhobs/obo-prometheus-alertmanager-test-webhook`. * Buildah CLI + the `qemu-user-static` package. Running `make manifest` should be all that is needed. diff --git a/example/non-rbac/prometheus-operator.yaml b/example/non-rbac/prometheus-operator.yaml index 554c677b9..80267055d 100644 --- a/example/non-rbac/prometheus-operator.yaml +++ b/example/non-rbac/prometheus-operator.yaml @@ -25,8 +25,8 @@ spec: containers: - args: - --kubelet-service=kube-system/kubelet - - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.52.0 - image: quay.io/prometheus-operator/prometheus-operator:v0.52.0 + - --prometheus-config-reloader=quay.io/rhobs/obo-prometheus-config-reloader:v0.52.0 + image: quay.io/rhobs/obo-prometheus-operator:v0.52.0 name: prometheus-operator ports: - containerPort: 8080 diff --git a/example/non-rbac/prometheus.yaml b/example/non-rbac/prometheus.yaml index fa9c0e8e0..88da96516 100644 --- a/example/non-rbac/prometheus.yaml +++ b/example/non-rbac/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: main diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagerconfigs.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagerconfigs.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagerconfigs.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagerconfigs.yaml index ad27b2ad9..72d5a6591 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagerconfigs.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagerconfigs.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: alertmanagerconfigs.monitoring.coreos.com + name: alertmanagerconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: AlertmanagerConfig listKind: AlertmanagerConfigList plural: alertmanagerconfigs - shortNames: - - amcfg singular: alertmanagerconfig scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagers.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagers.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagers.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagers.yaml index 274d33daf..c65c08ad0 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_alertmanagers.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_alertmanagers.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: alertmanagers.monitoring.coreos.com + name: alertmanagers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Alertmanager listKind: AlertmanagerList plural: alertmanagers - shortNames: - - am singular: alertmanager scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_podmonitors.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_podmonitors.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_podmonitors.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_podmonitors.yaml index 75fecd6e6..1ac267195 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_podmonitors.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_podmonitors.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: podmonitors.monitoring.coreos.com + name: podmonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PodMonitor listKind: PodMonitorList plural: podmonitors - shortNames: - - pmon singular: podmonitor scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_probes.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_probes.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_probes.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_probes.yaml index 22c325603..ed7e97059 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_probes.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_probes.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: probes.monitoring.coreos.com + name: probes.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Probe listKind: ProbeList plural: probes - shortNames: - - prb singular: probe scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusagents.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheusagents.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusagents.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_prometheusagents.yaml index 9bcd7efa5..3a74be778 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusagents.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheusagents.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: prometheusagents.monitoring.coreos.com + name: prometheusagents.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusAgent listKind: PrometheusAgentList plural: prometheusagents - shortNames: - - promagent singular: prometheusagent scope: Namespaced versions: @@ -3048,11 +3046,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheuses.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheuses.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_prometheuses.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_prometheuses.yaml index 3815b1255..2e4cc9265 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheuses.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheuses.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: prometheuses.monitoring.coreos.com + name: prometheuses.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Prometheus listKind: PrometheusList plural: prometheuses - shortNames: - - prom singular: prometheus scope: Namespaced versions: @@ -3773,11 +3771,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusrules.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheusrules.yaml similarity index 97% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusrules.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_prometheusrules.yaml index 403d0c54b..449b47f5f 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_prometheusrules.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_prometheusrules.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: prometheusrules.monitoring.coreos.com + name: prometheusrules.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusRule listKind: PrometheusRuleList plural: prometheusrules - shortNames: - - promrule singular: prometheusrule scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_scrapeconfigs.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_scrapeconfigs.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_scrapeconfigs.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_scrapeconfigs.yaml index 9145216b7..fec6b99dd 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_scrapeconfigs.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_scrapeconfigs.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: scrapeconfigs.monitoring.coreos.com + name: scrapeconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ScrapeConfig listKind: ScrapeConfigList plural: scrapeconfigs - shortNames: - - scfg singular: scrapeconfig scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_servicemonitors.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_servicemonitors.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_servicemonitors.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_servicemonitors.yaml index a29b8f566..62e756556 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_servicemonitors.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_servicemonitors.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: servicemonitors.monitoring.coreos.com + name: servicemonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ServiceMonitor listKind: ServiceMonitorList plural: servicemonitors - shortNames: - - smon singular: servicemonitor scope: Namespaced versions: diff --git a/example/prometheus-operator-crd-full/monitoring.coreos.com_thanosrulers.yaml b/example/prometheus-operator-crd-full/monitoring.rhobs_thanosrulers.yaml similarity index 99% rename from example/prometheus-operator-crd-full/monitoring.coreos.com_thanosrulers.yaml rename to example/prometheus-operator-crd-full/monitoring.rhobs_thanosrulers.yaml index b030aa6eb..879d36236 100644 --- a/example/prometheus-operator-crd-full/monitoring.coreos.com_thanosrulers.yaml +++ b/example/prometheus-operator-crd-full/monitoring.rhobs_thanosrulers.yaml @@ -4,17 +4,15 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - name: thanosrulers.monitoring.coreos.com + name: thanosrulers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ThanosRuler listKind: ThanosRulerList plural: thanosrulers - shortNames: - - ruler singular: thanosruler scope: Namespaced versions: @@ -2556,11 +2554,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml b/example/prometheus-operator-crd/monitoring.rhobs_alertmanagerconfigs.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_alertmanagerconfigs.yaml index 00c1008b3..087dcc6b6 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_alertmanagerconfigs.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: alertmanagerconfigs.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagerconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: AlertmanagerConfig listKind: AlertmanagerConfigList plural: alertmanagerconfigs - shortNames: - - amcfg singular: alertmanagerconfig scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml b/example/prometheus-operator-crd/monitoring.rhobs_alertmanagers.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_alertmanagers.yaml index 1aa1dd406..3b62e3002 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_alertmanagers.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: alertmanagers.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Alertmanager listKind: AlertmanagerList plural: alertmanagers - shortNames: - - am singular: alertmanager scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml b/example/prometheus-operator-crd/monitoring.rhobs_podmonitors.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_podmonitors.yaml index 37a06ca73..fc2b414c6 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_podmonitors.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: podmonitors.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: podmonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PodMonitor listKind: PodMonitorList plural: podmonitors - shortNames: - - pmon singular: podmonitor scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml b/example/prometheus-operator-crd/monitoring.rhobs_probes.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_probes.yaml index a01abee20..9534b5e9a 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_probes.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: probes.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: probes.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Probe listKind: ProbeList plural: probes - shortNames: - - prb singular: probe scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml b/example/prometheus-operator-crd/monitoring.rhobs_prometheusagents.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_prometheusagents.yaml index f74bfe01a..88650fc20 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_prometheusagents.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheusagents.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusagents.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusAgent listKind: PrometheusAgentList plural: prometheusagents - shortNames: - - promagent singular: prometheusagent scope: Namespaced versions: @@ -3049,11 +3047,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml b/example/prometheus-operator-crd/monitoring.rhobs_prometheuses.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_prometheuses.yaml index a3dc1c266..d2f93b0f1 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_prometheuses.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheuses.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheuses.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: Prometheus listKind: PrometheusList plural: prometheuses - shortNames: - - prom singular: prometheus scope: Namespaced versions: @@ -3774,11 +3772,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml b/example/prometheus-operator-crd/monitoring.rhobs_prometheusrules.yaml similarity index 97% rename from example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_prometheusrules.yaml index c8c1e4d27..bbc5998f0 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_prometheusrules.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: prometheusrules.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusrules.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: PrometheusRule listKind: PrometheusRuleList plural: prometheusrules - shortNames: - - promrule singular: prometheusrule scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml b/example/prometheus-operator-crd/monitoring.rhobs_scrapeconfigs.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_scrapeconfigs.yaml index 2be9f9f42..1ab669f54 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_scrapeconfigs.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: scrapeconfigs.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: scrapeconfigs.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ScrapeConfig listKind: ScrapeConfigList plural: scrapeconfigs - shortNames: - - scfg singular: scrapeconfig scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml b/example/prometheus-operator-crd/monitoring.rhobs_servicemonitors.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_servicemonitors.yaml index 10b640d68..079332ba5 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_servicemonitors.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: servicemonitors.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: servicemonitors.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ServiceMonitor listKind: ServiceMonitorList plural: servicemonitors - shortNames: - - smon singular: servicemonitor scope: Namespaced versions: diff --git a/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml b/example/prometheus-operator-crd/monitoring.rhobs_thanosrulers.yaml similarity index 99% rename from example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml rename to example/prometheus-operator-crd/monitoring.rhobs_thanosrulers.yaml index aece4b9c0..cce6e2cb6 100644 --- a/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml +++ b/example/prometheus-operator-crd/monitoring.rhobs_thanosrulers.yaml @@ -4,18 +4,16 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.15.0 - operator.prometheus.io/version: 0.75.2 - name: thanosrulers.monitoring.coreos.com + operator.prometheus.io/version: 0.75.2-rhobs1 + name: thanosrulers.monitoring.rhobs spec: - group: monitoring.coreos.com + group: monitoring.rhobs names: categories: - - prometheus-operator + - rhobs-prometheus-operator kind: ThanosRuler listKind: ThanosRulerList plural: thanosrulers - shortNames: - - ruler singular: thanosruler scope: Namespaced versions: @@ -2557,11 +2555,11 @@ spec: Probe or PrometheusRule object. properties: group: - default: monitoring.coreos.com + default: monitoring.rhobs description: Group of the referent. When not specified, it defaults - to `monitoring.coreos.com` + to `monitoring.rhobs` enum: - - monitoring.coreos.com + - monitoring.rhobs type: string name: description: Name of the referent. When not set, all resources diff --git a/example/rbac/prometheus-agent/prometheus.yaml b/example/rbac/prometheus-agent/prometheus.yaml index 5be07f40c..28e824e07 100644 --- a/example/rbac/prometheus-agent/prometheus.yaml +++ b/example/rbac/prometheus-agent/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: PrometheusAgent metadata: name: prometheus-agent diff --git a/example/rbac/prometheus-operator-crd/prometheus-operator-crd-cluster-roles.yaml b/example/rbac/prometheus-operator-crd/prometheus-operator-crd-cluster-roles.yaml index cb4452631..1ee9aad05 100644 --- a/example/rbac/prometheus-operator-crd/prometheus-operator-crd-cluster-roles.yaml +++ b/example/rbac/prometheus-operator-crd/prometheus-operator-crd-cluster-roles.yaml @@ -7,7 +7,7 @@ metadata: rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-view: "true" rules: -- apiGroups: ["monitoring.coreos.com"] +- apiGroups: ["monitoring.rhobs"] resources: ["alertmanagers", "alertmanagerconfigs", "prometheuses", "prometheusrules", "servicemonitors", "podmonitors", "probes"] verbs: ["get", "list", "watch"] --- @@ -19,6 +19,6 @@ metadata: rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-admin: "true" rules: -- apiGroups: ["monitoring.coreos.com"] +- apiGroups: ["monitoring.rhobs"] resources: ["alertmanagers", "alertmanagerconfigs", "prometheuses", "prometheusrules", "servicemonitors", "podmonitors", "probes"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] diff --git a/example/rbac/prometheus-operator/prometheus-operator-cluster-role-binding.yaml b/example/rbac/prometheus-operator/prometheus-operator-cluster-role-binding.yaml index 4ba53b360..f718391dd 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-cluster-role-binding.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-cluster-role-binding.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml b/example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml index 114372827..23eb6d6b8 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml @@ -4,11 +4,11 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs resources: - alertmanagers - alertmanagers/finalizers diff --git a/example/rbac/prometheus-operator/prometheus-operator-deployment.yaml b/example/rbac/prometheus-operator/prometheus-operator-deployment.yaml index 6a4277cd6..68c5dd5bd 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-deployment.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-deployment.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default spec: @@ -20,17 +20,17 @@ spec: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 spec: automountServiceAccountToken: true containers: - args: - --kubelet-service=kube-system/kubelet - - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.75.2 + - --prometheus-config-reloader=quay.io/rhobs/obo-prometheus-config-reloader:v0.75.2-rhobs1 env: - name: GOGC value: "30" - image: quay.io/prometheus-operator/prometheus-operator:v0.75.2 + image: quay.io/rhobs/obo-prometheus-operator:v0.75.2-rhobs1 name: prometheus-operator ports: - containerPort: 8080 diff --git a/example/rbac/prometheus-operator/prometheus-operator-service-account.yaml b/example/rbac/prometheus-operator/prometheus-operator-service-account.yaml index e3eaa2162..7d849be84 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-service-account.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-service-account.yaml @@ -5,6 +5,6 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default diff --git a/example/rbac/prometheus-operator/prometheus-operator-service-monitor.yaml b/example/rbac/prometheus-operator/prometheus-operator-service-monitor.yaml index 0c9736836..c7fcba741 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-service-monitor.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-service-monitor.yaml @@ -1,10 +1,10 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default spec: @@ -15,4 +15,4 @@ spec: matchLabels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 diff --git a/example/rbac/prometheus-operator/prometheus-operator-service.yaml b/example/rbac/prometheus-operator/prometheus-operator-service.yaml index a909c9d60..6f04ef198 100644 --- a/example/rbac/prometheus-operator/prometheus-operator-service.yaml +++ b/example/rbac/prometheus-operator/prometheus-operator-service.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/component: controller app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 0.75.2 + app.kubernetes.io/version: 0.75.2-rhobs1 name: prometheus-operator namespace: default spec: diff --git a/example/rbac/prometheus/prometheus.yaml b/example/rbac/prometheus/prometheus.yaml index 2adaef137..798ccc8e7 100644 --- a/example/rbac/prometheus/prometheus.yaml +++ b/example/rbac/prometheus/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/example/shards/example-app-service-monitor.yaml b/example/shards/example-app-service-monitor.yaml index d2a68fc95..87a529554 100644 --- a/example/shards/example-app-service-monitor.yaml +++ b/example/shards/example-app-service-monitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app diff --git a/example/shards/prometheus.yaml b/example/shards/prometheus.yaml index 8cf3d8c27..9f9f46105 100644 --- a/example/shards/prometheus.yaml +++ b/example/shards/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: labels: diff --git a/example/storage/persisted-prometheus.yaml b/example/storage/persisted-prometheus.yaml index 6d5a955c6..11339de4d 100644 --- a/example/storage/persisted-prometheus.yaml +++ b/example/storage/persisted-prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: persisted diff --git a/example/stripped-down-crds/all.yaml b/example/stripped-down-crds/all.yaml new file mode 100644 index 000000000..8bdf3b442 --- /dev/null +++ b/example/stripped-down-crds/all.yaml @@ -0,0 +1,26381 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagerconfigs.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: AlertmanagerConfig + listKind: AlertmanagerConfigList + plural: alertmanagerconfigs + singular: alertmanagerconfig + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + inhibitRules: + items: + properties: + equal: + items: + type: string + type: array + sourceMatch: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + targetMatch: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + type: object + type: array + muteTimeIntervals: + items: + properties: + name: + type: string + timeIntervals: + items: + properties: + daysOfMonth: + items: + properties: + end: + maximum: 31 + minimum: -31 + type: integer + start: + maximum: 31 + minimum: -31 + type: integer + type: object + type: array + months: + items: + pattern: ^((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9])(?:((:((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9]))$)|$) + type: string + type: array + times: + items: + properties: + endTime: + pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) + type: string + startTime: + pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) + type: string + type: object + type: array + weekdays: + items: + pattern: ^((?i)sun|mon|tues|wednes|thurs|fri|satur)day(?:((:(sun|mon|tues|wednes|thurs|fri|satur)day)$)|$) + type: string + type: array + years: + items: + pattern: ^2\d{3}(?::2\d{3}|$) + type: string + type: array + type: object + type: array + type: object + type: array + receivers: + items: + properties: + discordConfigs: + items: + properties: + apiURL: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + sendResolved: + type: boolean + title: + type: string + required: + - apiURL + type: object + type: array + emailConfigs: + items: + properties: + authIdentity: + type: string + authPassword: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authUsername: + type: string + from: + type: string + headers: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + hello: + type: string + html: + type: string + requireTLS: + type: boolean + sendResolved: + type: boolean + smarthost: + type: string + text: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + to: + type: string + type: object + type: array + msteamsConfigs: + items: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + sendResolved: + type: boolean + summary: + type: string + text: + type: string + title: + type: string + webhookUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - webhookUrl + type: object + type: array + name: + minLength: 1 + type: string + opsgenieConfigs: + items: + properties: + actions: + type: string + apiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiURL: + type: string + description: + type: string + details: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + entity: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + note: + type: string + priority: + type: string + responders: + items: + properties: + id: + type: string + name: + type: string + type: + minLength: 1 + type: string + username: + type: string + required: + - type + type: object + type: array + sendResolved: + type: boolean + source: + type: string + tags: + type: string + updateAlerts: + type: boolean + type: object + type: array + pagerdutyConfigs: + items: + properties: + class: + type: string + client: + type: string + clientURL: + type: string + component: + type: string + description: + type: string + details: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + group: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + pagerDutyImageConfigs: + items: + properties: + alt: + type: string + href: + type: string + src: + type: string + type: object + type: array + pagerDutyLinkConfigs: + items: + properties: + alt: + type: string + href: + type: string + type: object + type: array + routingKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sendResolved: + type: boolean + serviceKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + severity: + type: string + source: + type: string + url: + type: string + type: object + type: array + pushoverConfigs: + items: + properties: + device: + type: string + expire: + pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ + type: string + html: + type: boolean + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + priority: + type: string + retry: + pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ + type: string + sendResolved: + type: boolean + sound: + type: string + title: + type: string + token: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tokenFile: + type: string + ttl: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + url: + type: string + urlTitle: + type: string + userKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + userKeyFile: + type: string + type: object + type: array + slackConfigs: + items: + properties: + actions: + items: + properties: + confirm: + properties: + dismissText: + type: string + okText: + type: string + text: + minLength: 1 + type: string + title: + type: string + required: + - text + type: object + name: + type: string + style: + type: string + text: + minLength: 1 + type: string + type: + minLength: 1 + type: string + url: + type: string + value: + type: string + required: + - text + - type + type: object + type: array + apiURL: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + callbackId: + type: string + channel: + type: string + color: + type: string + fallback: + type: string + fields: + items: + properties: + short: + type: boolean + title: + minLength: 1 + type: string + value: + minLength: 1 + type: string + required: + - title + - value + type: object + type: array + footer: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + iconEmoji: + type: string + iconURL: + type: string + imageURL: + type: string + linkNames: + type: boolean + mrkdwnIn: + items: + type: string + type: array + pretext: + type: string + sendResolved: + type: boolean + shortFields: + type: boolean + text: + type: string + thumbURL: + type: string + title: + type: string + titleLink: + type: string + username: + type: string + type: object + type: array + snsConfigs: + items: + properties: + apiURL: + type: string + attributes: + additionalProperties: + type: string + type: object + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + phoneNumber: + type: string + sendResolved: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + subject: + type: string + targetARN: + type: string + topicARN: + type: string + type: object + type: array + telegramConfigs: + items: + properties: + apiURL: + type: string + botToken: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + botTokenFile: + type: string + chatID: + format: int64 + type: integer + disableNotifications: + type: boolean + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + parseMode: + enum: + - MarkdownV2 + - Markdown + - HTML + type: string + sendResolved: + type: boolean + type: object + type: array + victoropsConfigs: + items: + properties: + apiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiUrl: + type: string + customFields: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + entityDisplayName: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + messageType: + type: string + monitoringTool: + type: string + routingKey: + type: string + sendResolved: + type: boolean + stateMessage: + type: string + type: object + type: array + webexConfigs: + items: + properties: + apiURL: + pattern: ^https?://.+$ + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + roomID: + minLength: 1 + type: string + sendResolved: + type: boolean + required: + - roomID + type: object + type: array + webhookConfigs: + items: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + maxAlerts: + format: int32 + minimum: 0 + type: integer + sendResolved: + type: boolean + url: + type: string + urlSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + wechatConfigs: + items: + properties: + agentID: + type: string + apiSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiURL: + type: string + corpID: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + messageType: + type: string + sendResolved: + type: boolean + toParty: + type: string + toTag: + type: string + toUser: + type: string + type: object + type: array + required: + - name + type: object + type: array + route: + properties: + activeTimeIntervals: + items: + type: string + type: array + continue: + type: boolean + groupBy: + items: + type: string + type: array + groupInterval: + type: string + groupWait: + type: string + matchers: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + muteTimeIntervals: + items: + type: string + type: array + receiver: + type: string + repeatInterval: + type: string + routes: + items: + x-kubernetes-preserve-unknown-fields: true + type: array + type: object + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: alertmanagers.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Alertmanager + listKind: AlertmanagerList + plural: alertmanagers + singular: alertmanager + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Replicas + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalPeers: + items: + type: string + type: array + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alertmanagerConfigMatcherStrategy: + properties: + type: + default: OnNamespace + enum: + - OnNamespace + - None + type: string + type: object + alertmanagerConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + alertmanagerConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + alertmanagerConfiguration: + properties: + global: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + opsGenieApiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + opsGenieApiUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + pagerdutyUrl: + type: string + resolveTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + slackApiUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + smtp: + properties: + authIdentity: + type: string + authPassword: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authUsername: + type: string + from: + type: string + hello: + type: string + requireTLS: + type: boolean + smartHost: + properties: + host: + minLength: 1 + type: string + port: + minLength: 1 + type: string + required: + - host + - port + type: object + type: object + type: object + name: + minLength: 1 + type: string + templates: + items: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + type: object + automountServiceAccountToken: + type: boolean + baseImage: + type: string + clusterAdvertiseAddress: + type: string + clusterGossipInterval: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + clusterLabel: + type: string + clusterPeerTimeout: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + clusterPushpullInterval: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + configMaps: + items: + type: string + type: array + configSecret: + type: string + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enableFeatures: + items: + type: string + type: array + externalUrl: + type: string + forceEnableClusterMode: + type: boolean + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + paused: + type: boolean + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + portName: + default: web + type: string + priorityClassName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + default: 120h + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + routePrefix: + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + sha: + type: string + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tag: + type: string + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + web: + properties: + getConcurrency: + format: int32 + type: integer + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + timeout: + format: int32 + type: integer + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: podmonitors.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PodMonitor + listKind: PodMonitorList + plural: podmonitors + singular: podmonitor + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + attachMetadata: + properties: + node: + type: boolean + type: object + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + jobLabel: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + podMetricsEndpoints: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + enableHttp2: + type: boolean + filterRunning: + type: boolean + followRedirects: + type: boolean + honorLabels: + type: boolean + honorTimestamps: + type: boolean + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + params: + additionalProperties: + items: + type: string + type: array + type: object + path: + type: string + port: + type: string + proxyUrl: + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + enum: + - http + - https + type: string + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetPort: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + type: array + podTargetLabels: + items: + type: string + type: array + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + targetLimit: + format: int64 + type: integer + required: + - selector + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: probes.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Probe + listKind: ProbeList + plural: probes + singular: probe + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + jobName: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + module: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + prober: + properties: + path: + default: /probe + type: string + proxyUrl: + type: string + scheme: + enum: + - http + - https + type: string + url: + type: string + required: + - url + type: object + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetLimit: + format: int64 + type: integer + targets: + properties: + ingress: + properties: + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + relabelingConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + type: object + staticConfig: + properties: + labels: + additionalProperties: + type: string + type: object + relabelingConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + static: + items: + type: string + type: array + type: object + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusagents.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PrometheusAgent + listKind: PrometheusAgentList + plural: prometheusagents + singular: prometheusagent + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Desired + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + additionalScrapeConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + apiserverConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + host: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + arbitraryFSAccessThroughSMs: + properties: + deny: + type: boolean + type: object + automountServiceAccountToken: + type: boolean + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + configMaps: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enableFeatures: + items: + minLength: 1 + type: string + type: array + x-kubernetes-list-type: set + enableRemoteWriteReceiver: + type: boolean + enforcedBodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + enforcedKeepDroppedTargets: + format: int64 + type: integer + enforcedLabelLimit: + format: int64 + type: integer + enforcedLabelNameLengthLimit: + format: int64 + type: integer + enforcedLabelValueLengthLimit: + format: int64 + type: integer + enforcedNamespaceLabel: + type: string + enforcedSampleLimit: + format: int64 + type: integer + enforcedTargetLimit: + format: int64 + type: integer + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + externalLabels: + additionalProperties: + type: string + type: object + externalUrl: + type: string + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + hostNetwork: + type: boolean + ignoreNamespaceSelectors: + type: boolean + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + maximumStartupDurationSeconds: + format: int32 + minimum: 60 + type: integer + minReadySeconds: + format: int32 + type: integer + mode: + enum: + - StatefulSet + - DaemonSet + type: string + nodeSelector: + additionalProperties: + type: string + type: object + overrideHonorLabels: + type: boolean + overrideHonorTimestamps: + type: boolean + paused: + type: boolean + persistentVolumeClaimRetentionPolicy: + properties: + whenDeleted: + type: string + whenScaled: + type: string + type: object + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + podMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podTargetLabels: + items: + type: string + type: array + portName: + default: web + type: string + priorityClassName: + type: string + probeNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + probeSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + prometheusExternalLabelName: + type: string + reloadStrategy: + enum: + - HTTP + - ProcessSignal + type: string + remoteWrite: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + azureAd: + properties: + cloud: + enum: + - AzureChina + - AzureGovernment + - AzurePublic + type: string + managedIdentity: + properties: + clientId: + type: string + required: + - clientId + type: object + oauth: + properties: + clientId: + minLength: 1 + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tenantId: + minLength: 1 + pattern: ^[0-9a-zA-Z-.]+$ + type: string + required: + - clientId + - clientSecret + - tenantId + type: object + sdk: + properties: + tenantId: + pattern: ^[0-9a-zA-Z-.]+$ + type: string + type: object + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + metadataConfig: + properties: + send: + type: boolean + sendInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + queueConfig: + properties: + batchSendDeadline: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + capacity: + type: integer + maxBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + maxRetries: + type: integer + maxSamplesPerSend: + type: integer + maxShards: + type: integer + minBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + minShards: + type: integer + retryOnRateLimit: + type: boolean + sampleAgeLimit: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + sendExemplars: + type: boolean + sendNativeHistograms: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + writeRelabelConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + required: + - url + type: object + type: array + replicaExternalLabelName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + routePrefix: + type: string + sampleLimit: + format: int64 + type: integer + scrapeClasses: + items: + properties: + default: + type: boolean + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + name: + minLength: 1 + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + scrapeConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + serviceMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + serviceMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + shards: + format: int32 + type: integer + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + targetLimit: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + additionalLabelSelectors: + enum: + - OnResource + - OnShard + type: string + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + clientType: + enum: + - http + - grpc + type: string + compression: + enum: + - gzip + type: string + endpoint: + minLength: 1 + type: string + headers: + additionalProperties: + type: string + type: object + insecure: + type: boolean + samplingFraction: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - endpoint + type: object + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + walCompression: + type: boolean + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + maxConnections: + format: int32 + minimum: 0 + type: integer + pageTitle: + type: string + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + selector: + type: string + shardStatuses: + items: + properties: + availableReplicas: + format: int32 + type: integer + replicas: + format: int32 + type: integer + shardID: + type: string + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - replicas + - shardID + - unavailableReplicas + - updatedReplicas + type: object + type: array + x-kubernetes-list-map-keys: + - shardID + x-kubernetes-list-type: map + shards: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + scale: + labelSelectorPath: .status.selector + specReplicasPath: .spec.shards + statusReplicasPath: .status.shards + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheuses.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Prometheus + listKind: PrometheusList + plural: prometheuses + singular: prometheus + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Desired + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalAlertManagerConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + additionalAlertRelabelConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + additionalScrapeConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alerting: + properties: + alertmanagers: + items: + properties: + alertRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + apiVersion: + type: string + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenFile: + type: string + enableHttp2: + type: boolean + name: + type: string + namespace: + type: string + pathPrefix: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + type: string + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + - namespace + - port + type: object + type: array + required: + - alertmanagers + type: object + allowOverlappingBlocks: + type: boolean + apiserverConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + host: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + arbitraryFSAccessThroughSMs: + properties: + deny: + type: boolean + type: object + automountServiceAccountToken: + type: boolean + baseImage: + type: string + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + configMaps: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + disableCompaction: + type: boolean + enableAdminAPI: + type: boolean + enableFeatures: + items: + minLength: 1 + type: string + type: array + x-kubernetes-list-type: set + enableRemoteWriteReceiver: + type: boolean + enforcedBodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + enforcedKeepDroppedTargets: + format: int64 + type: integer + enforcedLabelLimit: + format: int64 + type: integer + enforcedLabelNameLengthLimit: + format: int64 + type: integer + enforcedLabelValueLengthLimit: + format: int64 + type: integer + enforcedNamespaceLabel: + type: string + enforcedSampleLimit: + format: int64 + type: integer + enforcedTargetLimit: + format: int64 + type: integer + evaluationInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + exemplars: + properties: + maxSize: + format: int64 + type: integer + type: object + externalLabels: + additionalProperties: + type: string + type: object + externalUrl: + type: string + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + hostNetwork: + type: boolean + ignoreNamespaceSelectors: + type: boolean + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + maximumStartupDurationSeconds: + format: int32 + minimum: 60 + type: integer + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + overrideHonorLabels: + type: boolean + overrideHonorTimestamps: + type: boolean + paused: + type: boolean + persistentVolumeClaimRetentionPolicy: + properties: + whenDeleted: + type: string + whenScaled: + type: string + type: object + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + podMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podTargetLabels: + items: + type: string + type: array + portName: + default: web + type: string + priorityClassName: + type: string + probeNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + probeSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + prometheusExternalLabelName: + type: string + prometheusRulesExcludedFromEnforce: + items: + properties: + ruleName: + type: string + ruleNamespace: + type: string + required: + - ruleName + - ruleNamespace + type: object + type: array + query: + properties: + lookbackDelta: + type: string + maxConcurrency: + format: int32 + minimum: 1 + type: integer + maxSamples: + format: int32 + type: integer + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + queryLogFile: + type: string + reloadStrategy: + enum: + - HTTP + - ProcessSignal + type: string + remoteRead: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + filterExternalLabels: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + readRecent: + type: boolean + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + requiredMatchers: + additionalProperties: + type: string + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + required: + - url + type: object + type: array + remoteWrite: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + azureAd: + properties: + cloud: + enum: + - AzureChina + - AzureGovernment + - AzurePublic + type: string + managedIdentity: + properties: + clientId: + type: string + required: + - clientId + type: object + oauth: + properties: + clientId: + minLength: 1 + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tenantId: + minLength: 1 + pattern: ^[0-9a-zA-Z-.]+$ + type: string + required: + - clientId + - clientSecret + - tenantId + type: object + sdk: + properties: + tenantId: + pattern: ^[0-9a-zA-Z-.]+$ + type: string + type: object + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + metadataConfig: + properties: + send: + type: boolean + sendInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + queueConfig: + properties: + batchSendDeadline: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + capacity: + type: integer + maxBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + maxRetries: + type: integer + maxSamplesPerSend: + type: integer + maxShards: + type: integer + minBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + minShards: + type: integer + retryOnRateLimit: + type: boolean + sampleAgeLimit: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + sendExemplars: + type: boolean + sendNativeHistograms: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + writeRelabelConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + required: + - url + type: object + type: array + replicaExternalLabelName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + retentionSize: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + routePrefix: + type: string + ruleNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + ruleSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + rules: + properties: + alert: + properties: + forGracePeriod: + type: string + forOutageTolerance: + type: string + resendDelay: + type: string + type: object + type: object + sampleLimit: + format: int64 + type: integer + scrapeClasses: + items: + properties: + default: + type: boolean + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + name: + minLength: 1 + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + scrapeConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + serviceMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + serviceMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + sha: + type: string + shards: + format: int32 + type: integer + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tag: + type: string + targetLimit: + format: int64 + type: integer + thanos: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + baseImage: + type: string + blockSize: + default: 2h + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + getConfigInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + getConfigTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + grpcListenLocal: + type: boolean + grpcServerTlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + httpListenLocal: + type: boolean + image: + type: string + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minTime: + type: string + objectStorageConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + objectStorageConfigFile: + type: string + readyTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + sha: + type: string + tag: + type: string + tracingConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tracingConfigFile: + type: string + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + type: object + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + additionalLabelSelectors: + enum: + - OnResource + - OnShard + type: string + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + clientType: + enum: + - http + - grpc + type: string + compression: + enum: + - gzip + type: string + endpoint: + minLength: 1 + type: string + headers: + additionalProperties: + type: string + type: object + insecure: + type: boolean + samplingFraction: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - endpoint + type: object + tsdb: + properties: + outOfOrderTimeWindow: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + walCompression: + type: boolean + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + maxConnections: + format: int32 + minimum: 0 + type: integer + pageTitle: + type: string + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + selector: + type: string + shardStatuses: + items: + properties: + availableReplicas: + format: int32 + type: integer + replicas: + format: int32 + type: integer + shardID: + type: string + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - replicas + - shardID + - unavailableReplicas + - updatedReplicas + type: object + type: array + x-kubernetes-list-map-keys: + - shardID + x-kubernetes-list-type: map + shards: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + scale: + labelSelectorPath: .status.selector + specReplicasPath: .spec.shards + statusReplicasPath: .status.shards + status: {} +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: prometheusrules.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PrometheusRule + listKind: PrometheusRuleList + plural: prometheusrules + singular: prometheusrule + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + groups: + items: + properties: + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + limit: + type: integer + name: + minLength: 1 + type: string + partial_response_strategy: + pattern: ^(?i)(abort|warn)?$ + type: string + rules: + items: + properties: + alert: + type: string + annotations: + additionalProperties: + type: string + type: object + expr: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + for: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + keep_firing_for: + minLength: 1 + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + labels: + additionalProperties: + type: string + type: object + record: + type: string + required: + - expr + type: object + type: array + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: scrapeconfigs.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ScrapeConfig + listKind: ScrapeConfigList + plural: scrapeconfigs + singular: scrapeconfig + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + NomadSDConfigs: + items: + properties: + allowStale: + type: boolean + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespace: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + type: string + server: + minLength: 1 + type: string + tagSeparator: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + azureSDConfigs: + items: + properties: + authenticationMethod: + enum: + - OAuth + - ManagedIdentity + - SDK + type: string + clientID: + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + environment: + type: string + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + resourceGroup: + type: string + subscriptionID: + minLength: 1 + type: string + tenantID: + type: string + required: + - subscriptionID + type: object + type: array + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + consulSDConfigs: + items: + properties: + allowStale: + type: boolean + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + datacenter: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespace: + type: string + noProxy: + type: string + nodeMeta: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + partition: + type: string + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scheme: + enum: + - HTTP + - HTTPS + type: string + server: + minLength: 1 + type: string + services: + items: + type: string + type: array + x-kubernetes-list-type: atomic + tagSeparator: + type: string + tags: + items: + type: string + type: array + x-kubernetes-list-type: atomic + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + tokenRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - server + type: object + type: array + digitalOceanSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + dnsSDConfigs: + items: + properties: + names: + items: + type: string + minItems: 1 + type: array + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: + enum: + - SRV + - A + - AAAA + - MX + - NS + type: string + required: + - names + type: object + type: array + dockerSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + filters: + items: + properties: + name: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + followRedirects: + type: boolean + host: + minLength: 1 + type: string + hostNetworkingHost: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + type: array + dockerSwarmSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + filters: + items: + properties: + name: + type: string + values: + items: + type: string + minItems: 1 + type: array + required: + - name + - values + type: object + type: array + followRedirects: + type: boolean + host: + pattern: ^[a-zA-Z][a-zA-Z0-9+.-]*://.+$ + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + role: + enum: + - Services + - Tasks + - Nodes + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + - role + type: object + type: array + ec2SDConfigs: + items: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + filters: + items: + properties: + name: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + type: string + roleARN: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + enableCompression: + type: boolean + eurekaSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + server: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + fileSDConfigs: + items: + properties: + files: + items: + pattern: ^[^*]*(\*[^/]*)?\.(json|yml|yaml|JSON|YML|YAML)$ + type: string + minItems: 1 + type: array + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + required: + - files + type: object + type: array + gceSDConfigs: + items: + properties: + filter: + type: string + port: + type: integer + project: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tagSeparator: + type: string + zone: + minLength: 1 + type: string + required: + - project + - zone + type: object + type: array + hetznerSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + role: + enum: + - hcloud + - Hcloud + - robot + - Robot + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - role + type: object + type: array + honorLabels: + type: boolean + honorTimestamps: + type: boolean + httpSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + noProxy: + type: string + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + minLength: 1 + pattern: ^http(s)?://.+$ + type: string + required: + - url + type: object + type: array + jobName: + minLength: 1 + type: string + keepDroppedTargets: + format: int64 + type: integer + kubernetesSDConfigs: + items: + properties: + apiServer: + type: string + attachMetadata: + properties: + node: + type: boolean + type: object + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespaces: + properties: + names: + items: + type: string + type: array + ownNamespace: + type: boolean + type: object + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + role: + enum: + - Node + - node + - Service + - service + - Pod + - pod + - Endpoints + - endpoints + - EndpointSlice + - endpointslice + - Ingress + - ingress + type: string + selectors: + items: + properties: + field: + type: string + label: + type: string + role: + enum: + - Node + - node + - Service + - service + - Pod + - pod + - Endpoints + - endpoints + - EndpointSlice + - endpointslice + - Ingress + - ingress + type: string + required: + - role + type: object + type: array + x-kubernetes-list-map-keys: + - role + x-kubernetes-list-type: map + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - role + type: object + type: array + kumaSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientID: + type: string + enableHTTP2: + type: boolean + fetchTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + server: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + lightSailSDConfigs: + items: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + endpoint: + minLength: 1 + type: string + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + roleARN: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + linodeSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + tagSeparator: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + metricsPath: + type: string + noProxy: + type: string + openstackSDConfigs: + items: + properties: + allTenants: + type: boolean + applicationCredentialId: + type: string + applicationCredentialName: + type: string + applicationCredentialSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + availability: + enum: + - Public + - public + - Admin + - admin + - Internal + - internal + type: string + domainID: + type: string + domainName: + type: string + identityEndpoint: + type: string + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + port: + type: integer + projectID: + type: string + projectName: + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + role: + enum: + - Instance + - instance + - Hypervisor + - hypervisor + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + userid: + type: string + username: + type: string + required: + - region + - role + type: object + type: array + ovhcloudSDConfigs: + items: + properties: + applicationKey: + minLength: 1 + type: string + applicationSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + consumerKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpoint: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + service: + allOf: + - enum: + - VPS + - DedicatedServer + - enum: + - VPS + - DedicatedServer + type: string + required: + - applicationKey + - applicationSecret + - consumerKey + - service + type: object + type: array + params: + additionalProperties: + items: + type: string + type: array + type: object + x-kubernetes-map-type: atomic + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + puppetDBSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + includeParameters: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + query: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + minLength: 1 + pattern: ^http(s)?://.+$ + type: string + required: + - query + - url + type: object + type: array + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + sampleLimit: + format: int64 + type: integer + scheme: + enum: + - HTTP + - HTTPS + type: string + scrapeClass: + minLength: 1 + type: string + scrapeInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + staticConfigs: + items: + properties: + labels: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + targets: + items: + type: string + type: array + type: object + type: array + targetLimit: + format: int64 + type: integer + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: servicemonitors.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ServiceMonitor + listKind: ServiceMonitorList + plural: servicemonitors + singular: servicemonitor + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + attachMetadata: + properties: + node: + type: boolean + type: object + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + endpoints: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenFile: + type: string + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + enableHttp2: + type: boolean + filterRunning: + type: boolean + followRedirects: + type: boolean + honorLabels: + type: boolean + honorTimestamps: + type: boolean + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + params: + additionalProperties: + items: + type: string + type: array + type: object + path: + type: string + port: + type: string + proxyUrl: + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + enum: + - http + - https + type: string + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetPort: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + type: array + jobLabel: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + podTargetLabels: + items: + type: string + type: array + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + targetLabels: + items: + type: string + type: array + targetLimit: + format: int64 + type: integer + required: + - selector + type: object + required: + - spec + type: object + served: true + storage: true +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + name: thanosrulers.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ThanosRuler + listKind: ThanosRulerList + plural: thanosrulers + singular: thanosruler + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Replicas + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alertDropLabels: + items: + type: string + type: array + alertQueryUrl: + type: string + alertRelabelConfigFile: + type: string + alertRelabelConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + alertmanagersConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + alertmanagersUrl: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enforcedNamespaceLabel: + type: string + evaluationInterval: + default: 15s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + externalPrefix: + type: string + grpcServerTlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + labels: + additionalProperties: + type: string + type: object + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + objectStorageConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + objectStorageConfigFile: + type: string + paused: + type: boolean + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + portName: + default: web + type: string + priorityClassName: + type: string + prometheusRulesExcludedFromEnforce: + items: + properties: + ruleName: + type: string + ruleNamespace: + type: string + required: + - ruleName + - ruleNamespace + type: object + type: array + queryConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + queryEndpoints: + items: + type: string + type: array + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + default: 24h + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + routePrefix: + type: string + ruleNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + ruleSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tracingConfigFile: + type: string + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/example/thanos/prometheus-rule.yaml b/example/thanos/prometheus-rule.yaml index d4844d5fe..97a5abcc0 100644 --- a/example/thanos/prometheus-rule.yaml +++ b/example/thanos/prometheus-rule.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PrometheusRule metadata: creationTimestamp: null diff --git a/example/thanos/prometheus-servicemonitor.yaml b/example/thanos/prometheus-servicemonitor.yaml index cd588618f..e26c7432a 100644 --- a/example/thanos/prometheus-servicemonitor.yaml +++ b/example/thanos/prometheus-servicemonitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: labels: diff --git a/example/thanos/prometheus.yaml b/example/thanos/prometheus.yaml index a1cd634da..b275968c4 100644 --- a/example/thanos/prometheus.yaml +++ b/example/thanos/prometheus.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: labels: diff --git a/example/thanos/thanos-ruler.yaml b/example/thanos/thanos-ruler.yaml index b3926f5b0..895c09f9c 100644 --- a/example/thanos/thanos-ruler.yaml +++ b/example/thanos/thanos-ruler.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ThanosRuler metadata: labels: diff --git a/example/user-guides/alerting/alertmanager-config-example.yaml b/example/user-guides/alerting/alertmanager-config-example.yaml index e3e746564..ffae26222 100644 --- a/example/user-guides/alerting/alertmanager-config-example.yaml +++ b/example/user-guides/alerting/alertmanager-config-example.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1alpha1 +apiVersion: monitoring.rhobs/v1alpha1 kind: AlertmanagerConfig metadata: name: config-example diff --git a/example/user-guides/alerting/alertmanager-example-alertmanager-configuration.yaml b/example/user-guides/alerting/alertmanager-example-alertmanager-configuration.yaml index 3724f7914..f8c8f8493 100644 --- a/example/user-guides/alerting/alertmanager-example-alertmanager-configuration.yaml +++ b/example/user-guides/alerting/alertmanager-example-alertmanager-configuration.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example diff --git a/example/user-guides/alerting/alertmanager-example.yaml b/example/user-guides/alerting/alertmanager-example.yaml index f2ffb360d..6ba59f296 100644 --- a/example/user-guides/alerting/alertmanager-example.yaml +++ b/example/user-guides/alerting/alertmanager-example.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example diff --git a/example/user-guides/alerting/alertmanager-selector-example.yaml b/example/user-guides/alerting/alertmanager-selector-example.yaml index a1c0db9fb..4d88ea879 100644 --- a/example/user-guides/alerting/alertmanager-selector-example.yaml +++ b/example/user-guides/alerting/alertmanager-selector-example.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Alertmanager metadata: name: example diff --git a/example/user-guides/alerting/prometheus-example-rule-namespace-selector.yaml b/example/user-guides/alerting/prometheus-example-rule-namespace-selector.yaml index 634f9ebd0..2f5f6b2ea 100644 --- a/example/user-guides/alerting/prometheus-example-rule-namespace-selector.yaml +++ b/example/user-guides/alerting/prometheus-example-rule-namespace-selector.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: example diff --git a/example/user-guides/alerting/prometheus-example-rules.yaml b/example/user-guides/alerting/prometheus-example-rules.yaml index ef5f43053..adf1295d9 100644 --- a/example/user-guides/alerting/prometheus-example-rules.yaml +++ b/example/user-guides/alerting/prometheus-example-rules.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PrometheusRule metadata: creationTimestamp: null diff --git a/example/user-guides/alerting/prometheus-example.yaml b/example/user-guides/alerting/prometheus-example.yaml index 9e98f1d28..51a431423 100644 --- a/example/user-guides/alerting/prometheus-example.yaml +++ b/example/user-guides/alerting/prometheus-example.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: example diff --git a/example/user-guides/getting-started/example-app-pod-monitor.yaml b/example/user-guides/getting-started/example-app-pod-monitor.yaml index a7df2f5bb..b9fc1d360 100644 --- a/example/user-guides/getting-started/example-app-pod-monitor.yaml +++ b/example/user-guides/getting-started/example-app-pod-monitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: PodMonitor metadata: name: example-app diff --git a/example/user-guides/getting-started/example-app-service-monitor.yaml b/example/user-guides/getting-started/example-app-service-monitor.yaml index d2a68fc95..87a529554 100644 --- a/example/user-guides/getting-started/example-app-service-monitor.yaml +++ b/example/user-guides/getting-started/example-app-service-monitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: ServiceMonitor metadata: name: example-app diff --git a/example/user-guides/getting-started/prometheus-admin-api.yaml b/example/user-guides/getting-started/prometheus-admin-api.yaml index 1e9332fb1..02e4e83e8 100644 --- a/example/user-guides/getting-started/prometheus-admin-api.yaml +++ b/example/user-guides/getting-started/prometheus-admin-api.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/example/user-guides/getting-started/prometheus-pod-monitor.yaml b/example/user-guides/getting-started/prometheus-pod-monitor.yaml index 0ce4a61fb..05b4de0cf 100644 --- a/example/user-guides/getting-started/prometheus-pod-monitor.yaml +++ b/example/user-guides/getting-started/prometheus-pod-monitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/example/user-guides/getting-started/prometheus-service-monitor.yaml b/example/user-guides/getting-started/prometheus-service-monitor.yaml index 4e937fb3e..9232da85b 100644 --- a/example/user-guides/getting-started/prometheus-service-monitor.yaml +++ b/example/user-guides/getting-started/prometheus-service-monitor.yaml @@ -1,4 +1,4 @@ -apiVersion: monitoring.coreos.com/v1 +apiVersion: monitoring.rhobs/v1 kind: Prometheus metadata: name: prometheus diff --git a/go.mod b/go.mod index a96fad5f7..f1cee6103 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/prometheus-operator/prometheus-operator +module github.com/rhobs/obo-prometheus-operator go 1.22.0 @@ -21,13 +21,13 @@ require ( github.com/mitchellh/hashstructure v1.1.0 github.com/oklog/run v1.1.0 github.com/prometheus-community/prom-label-proxy v0.10.0 - github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.75.2 - github.com/prometheus-operator/prometheus-operator/pkg/client v0.75.2 github.com/prometheus/alertmanager v0.27.0 github.com/prometheus/client_golang v1.19.1 github.com/prometheus/common v0.54.0 github.com/prometheus/exporter-toolkit v0.11.0 github.com/prometheus/prometheus v0.53.0 + github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.75.2-rhobs1 + github.com/rhobs/obo-prometheus-operator/pkg/client v0.75.2-rhobs1 github.com/stretchr/testify v1.9.0 github.com/thanos-io/thanos v0.35.1 go.uber.org/automaxprocs v1.5.3 @@ -141,7 +141,7 @@ require ( ) replace ( - github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring => ./pkg/apis/monitoring - github.com/prometheus-operator/prometheus-operator/pkg/client => ./pkg/client + github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring => ./pkg/apis/monitoring + github.com/rhobs/obo-prometheus-operator/pkg/client => ./pkg/client k8s.io/klog/v2 => github.com/simonpasquier/klog-gokit/v3 v3.4.0 ) diff --git a/governance.md b/governance.md index 71ae1e1b8..b95d94517 100644 --- a/governance.md +++ b/governance.md @@ -56,7 +56,7 @@ This email will also be CC'd to the [prometheus-operator mailing list](https://g If they choose to accept, the following steps are taken: -* The new triage team member is added to the [Prometheus Operator project](http://github.com/prometheus-operator/prometheus-operator) with `Member` role and `Triage` permission. +* The new triage team member is added to the [Prometheus Operator project](http://github.com/rhobs/obo-prometheus-operator) with `Member` role and `Triage` permission. * The new triage team member is added to the [prometheus-operator mailing list](https://groups.google.com/forum/#!forum/prometheus-operator-team). * The new triage team member is added to the [MAINTAINERS.md](MAINTAINERS.md) file under the Triage section. * The new triage team member is announced on the [Prometheus Operator Twitter](https://twitter.com/PromOperator) by an existing team member. @@ -70,13 +70,13 @@ Upon death of a member, their Triage team membership ends automatically. ### Technical decisions Smaller technical decisions are made informally and [lazy consensus](#consensus) is assumed. Technical decisions that span multiple parts of the Prometheus Operator project -should be discussed and made on the [GitHub issues](https://github.com/prometheus-operator/prometheus-operator/issues) and in most cases followed by proposal as described [here](https://github.com/prometheus-operator/prometheus-operator/blob/main/CONTRIBUTING.md). +should be discussed and made on the [GitHub issues](https://github.com/rhobs/obo-prometheus-operator/issues) and in most cases followed by proposal as described [here](https://github.com/rhobs/obo-prometheus-operator/blob/main/CONTRIBUTING.md). Decisions are usually made by [lazy consensus](#consensus). If no consensus can be reached, the matter may be resolved by [majority vote](#majority-vote). ### Governance changes -Material changes to this document are discussed publicly on the [Prometheus Operator GitHub](http://github.com/prometheus-operator/prometheus-operator). +Material changes to this document are discussed publicly on the [Prometheus Operator GitHub](http://github.com/rhobs/obo-prometheus-operator). Any change requires a [supermajority](#supermajority-vote) in favor. Editorial changes may be made by [lazy consensus](#consensus) unless challenged. ### Other matters @@ -161,7 +161,7 @@ It's about number of up votes to agree on the decision. ### How do I propose a decision? -See the [Contributing guide](https://github.com/prometheus-operator/prometheus-operator/blob/main/CONTRIBUTING.md). +See the [Contributing guide](https://github.com/rhobs/obo-prometheus-operator/blob/main/CONTRIBUTING.md). ### How do I become a team member? @@ -173,7 +173,7 @@ Should the decision be in favor, your new membership will also be announced on t ### How do I add a project? -As a team member, propose the new project on the [Prometheus Operator GitHub Issue](https://github.com/prometheus-operator/prometheus-operator/issues). However, currently to maintain a project in our organization, you have to become a [Maintainers Team](#maintainers-team) member. +As a team member, propose the new project on the [Prometheus Operator GitHub Issue](https://github.com/rhobs/obo-prometheus-operator/issues). However, currently to maintain a project in our organization, you have to become a [Maintainers Team](#maintainers-team) member. ### How do I remove a Maintainer or Triage member? diff --git a/helm/README.md b/helm/README.md index cb1b27ff7..8ddec5d44 100644 --- a/helm/README.md +++ b/helm/README.md @@ -9,4 +9,4 @@ It is still possible to run multiple prometheus instances on a single cluster - Issues and pull requests should be tracked using the [prometheus-community/helm-charts](https://github.com/prometheus-community/helm-charts) repository. -You can check out the tickets for this change [here](https://github.com/prometheus-operator/prometheus-operator/issues/592) and [here](https://github.com/helm/charts/pull/6765) +You can check out the tickets for this change [here](https://github.com/rhobs/obo-prometheus-operator/issues/592) and [here](https://github.com/helm/charts/pull/6765) diff --git a/jsonnet/prometheus-operator/admission-webhook.libsonnet b/jsonnet/prometheus-operator/admission-webhook.libsonnet index 201a12378..253c9f3e6 100644 --- a/jsonnet/prometheus-operator/admission-webhook.libsonnet +++ b/jsonnet/prometheus-operator/admission-webhook.libsonnet @@ -148,7 +148,7 @@ function(params) { }, serviceMonitor: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'ServiceMonitor', metadata: aw._metadata, spec: { diff --git a/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json b/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json index 486612862..0beee6e2e 100644 --- a/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json +++ b/jsonnet/prometheus-operator/alertmanagerconfigs-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "alertmanagerconfigs.monitoring.coreos.com" + "name": "alertmanagerconfigs.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "AlertmanagerConfig", "listKind": "AlertmanagerConfigList", "plural": "alertmanagerconfigs", - "shortNames": [ - "amcfg" - ], "singular": "alertmanagerconfig" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/alertmanagers-crd.json b/jsonnet/prometheus-operator/alertmanagers-crd.json index 5b71164eb..28e513c7c 100644 --- a/jsonnet/prometheus-operator/alertmanagers-crd.json +++ b/jsonnet/prometheus-operator/alertmanagers-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "alertmanagers.monitoring.coreos.com" + "name": "alertmanagers.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "Alertmanager", "listKind": "AlertmanagerList", "plural": "alertmanagers", - "shortNames": [ - "am" - ], "singular": "alertmanager" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/podmonitors-crd.json b/jsonnet/prometheus-operator/podmonitors-crd.json index 6cbe9bc3b..d38b02822 100644 --- a/jsonnet/prometheus-operator/podmonitors-crd.json +++ b/jsonnet/prometheus-operator/podmonitors-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "podmonitors.monitoring.coreos.com" + "name": "podmonitors.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "PodMonitor", "listKind": "PodMonitorList", "plural": "podmonitors", - "shortNames": [ - "pmon" - ], "singular": "podmonitor" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/probes-crd.json b/jsonnet/prometheus-operator/probes-crd.json index f15c5aef3..5b25ccac9 100644 --- a/jsonnet/prometheus-operator/probes-crd.json +++ b/jsonnet/prometheus-operator/probes-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "probes.monitoring.coreos.com" + "name": "probes.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "Probe", "listKind": "ProbeList", "plural": "probes", - "shortNames": [ - "prb" - ], "singular": "probe" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/prometheus-operator.libsonnet b/jsonnet/prometheus-operator/prometheus-operator.libsonnet index d342d9c11..ae6c3df9f 100644 --- a/jsonnet/prometheus-operator/prometheus-operator.libsonnet +++ b/jsonnet/prometheus-operator/prometheus-operator.libsonnet @@ -76,7 +76,7 @@ function(params) { }, rules: [ { - apiGroups: ['monitoring.coreos.com'], + apiGroups: ['monitoring.rhobs'], resources: [ 'alertmanagers', 'alertmanagers/finalizers', @@ -246,7 +246,7 @@ function(params) { }, serviceMonitor: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'ServiceMonitor', metadata: { name: 'prometheus-operator', diff --git a/jsonnet/prometheus-operator/prometheusagents-crd.json b/jsonnet/prometheus-operator/prometheusagents-crd.json index 407055944..6d887941c 100644 --- a/jsonnet/prometheus-operator/prometheusagents-crd.json +++ b/jsonnet/prometheus-operator/prometheusagents-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "prometheusagents.monitoring.coreos.com" + "name": "prometheusagents.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "PrometheusAgent", "listKind": "PrometheusAgentList", "plural": "prometheusagents", - "shortNames": [ - "promagent" - ], "singular": "prometheusagent" }, "scope": "Namespaced", @@ -2490,10 +2487,10 @@ "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", "properties": { "group": { - "default": "monitoring.coreos.com", - "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "default": "monitoring.rhobs", + "description": "Group of the referent. When not specified, it defaults to `monitoring.rhobs`", "enum": [ - "monitoring.coreos.com" + "monitoring.rhobs" ], "type": "string" }, diff --git a/jsonnet/prometheus-operator/prometheuses-crd.json b/jsonnet/prometheus-operator/prometheuses-crd.json index 9b79d4961..cf19f9be5 100644 --- a/jsonnet/prometheus-operator/prometheuses-crd.json +++ b/jsonnet/prometheus-operator/prometheuses-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "prometheuses.monitoring.coreos.com" + "name": "prometheuses.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "Prometheus", "listKind": "PrometheusList", "plural": "prometheuses", - "shortNames": [ - "prom" - ], "singular": "prometheus" }, "scope": "Namespaced", @@ -3067,10 +3064,10 @@ "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", "properties": { "group": { - "default": "monitoring.coreos.com", - "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "default": "monitoring.rhobs", + "description": "Group of the referent. When not specified, it defaults to `monitoring.rhobs`", "enum": [ - "monitoring.coreos.com" + "monitoring.rhobs" ], "type": "string" }, diff --git a/jsonnet/prometheus-operator/prometheusrules-crd.json b/jsonnet/prometheus-operator/prometheusrules-crd.json index 3f88e8f9d..124e7b182 100644 --- a/jsonnet/prometheus-operator/prometheusrules-crd.json +++ b/jsonnet/prometheus-operator/prometheusrules-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "prometheusrules.monitoring.coreos.com" + "name": "prometheusrules.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "PrometheusRule", "listKind": "PrometheusRuleList", "plural": "prometheusrules", - "shortNames": [ - "promrule" - ], "singular": "prometheusrule" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/scrapeconfigs-crd.json b/jsonnet/prometheus-operator/scrapeconfigs-crd.json index 761e17993..a4f5e6137 100644 --- a/jsonnet/prometheus-operator/scrapeconfigs-crd.json +++ b/jsonnet/prometheus-operator/scrapeconfigs-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "scrapeconfigs.monitoring.coreos.com" + "name": "scrapeconfigs.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "ScrapeConfig", "listKind": "ScrapeConfigList", "plural": "scrapeconfigs", - "shortNames": [ - "scfg" - ], "singular": "scrapeconfig" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/servicemonitors-crd.json b/jsonnet/prometheus-operator/servicemonitors-crd.json index 64e774386..03895be76 100644 --- a/jsonnet/prometheus-operator/servicemonitors-crd.json +++ b/jsonnet/prometheus-operator/servicemonitors-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "servicemonitors.monitoring.coreos.com" + "name": "servicemonitors.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "ServiceMonitor", "listKind": "ServiceMonitorList", "plural": "servicemonitors", - "shortNames": [ - "smon" - ], "singular": "servicemonitor" }, "scope": "Namespaced", diff --git a/jsonnet/prometheus-operator/thanosrulers-crd.json b/jsonnet/prometheus-operator/thanosrulers-crd.json index 07e45746e..c5b6a723b 100644 --- a/jsonnet/prometheus-operator/thanosrulers-crd.json +++ b/jsonnet/prometheus-operator/thanosrulers-crd.json @@ -4,22 +4,19 @@ "metadata": { "annotations": { "controller-gen.kubebuilder.io/version": "v0.15.0", - "operator.prometheus.io/version": "0.75.2" + "operator.prometheus.io/version": "0.75.2-rhobs1" }, - "name": "thanosrulers.monitoring.coreos.com" + "name": "thanosrulers.monitoring.rhobs" }, "spec": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "names": { "categories": [ - "prometheus-operator" + "rhobs-prometheus-operator" ], "kind": "ThanosRuler", "listKind": "ThanosRulerList", "plural": "thanosrulers", - "shortNames": [ - "ruler" - ], "singular": "thanosruler" }, "scope": "Namespaced", @@ -2205,10 +2202,10 @@ "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", "properties": { "group": { - "default": "monitoring.coreos.com", - "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "default": "monitoring.rhobs", + "description": "Group of the referent. When not specified, it defaults to `monitoring.rhobs`", "enum": [ - "monitoring.coreos.com" + "monitoring.rhobs" ], "type": "string" }, diff --git a/jsonnet/thanos/config.libsonnet b/jsonnet/thanos/config.libsonnet index 9b77e287b..ca469b3da 100644 --- a/jsonnet/thanos/config.libsonnet +++ b/jsonnet/thanos/config.libsonnet @@ -55,7 +55,7 @@ local service(name, namespace, labels, selector, ports) = { thanosRulerName:: $._config.thanosRulerName, thanosSidecarName:: $._config.thanosSidecarName, prometheus+:: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'Prometheus', metadata: { labels: po.prometheusLabels, @@ -129,7 +129,7 @@ local service(name, namespace, labels, selector, ports) = { ), serviceMonitor: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'ServiceMonitor', metadata: { name: po.prometheusName, @@ -219,7 +219,7 @@ local service(name, namespace, labels, selector, ports) = { }, thanosRuler: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'ThanosRuler', metadata: { labels: po.rulerLabels, @@ -238,7 +238,7 @@ local service(name, namespace, labels, selector, ports) = { }, prometheusRule: { - apiVersion: 'monitoring.coreos.com/v1', + apiVersion: 'monitoring.rhobs/v1', kind: 'PrometheusRule', metadata: { labels: { diff --git a/pkg/admission/admission.go b/pkg/admission/admission.go index 448b46731..96fb54d11 100644 --- a/pkg/admission/admission.go +++ b/pkg/admission/admission.go @@ -30,12 +30,12 @@ import ( kscheme "k8s.io/client-go/kubernetes/scheme" "sigs.k8s.io/controller-runtime/pkg/webhook/conversion" - validationv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation/v1alpha1" - validationv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation/v1beta1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - promoperator "github.com/prometheus-operator/prometheus-operator/pkg/operator" + validationv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation/v1alpha1" + validationv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + promoperator "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const ( @@ -45,7 +45,7 @@ const ( errUnmarshalRules = "Cannot unmarshal rules from spec" errUnmarshalConfig = "Cannot unmarhsal config from spec" - group = "monitoring.coreos.com" + group = "monitoring.rhobs" prometheusRuleResource = monitoringv1.PrometheusRuleName prometheusRuleVersion = monitoringv1.Version diff --git a/pkg/admission/admission_test.go b/pkg/admission/admission_test.go index 31424da5b..ec3ec2739 100644 --- a/pkg/admission/admission_test.go +++ b/pkg/admission/admission_test.go @@ -33,8 +33,8 @@ import ( v1 "k8s.io/api/admission/v1" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) func TestMutateRule(t *testing.T) { @@ -363,7 +363,7 @@ func buildAdmissionReviewFromAlertmanagerConfigSpec(t *testing.T, version, spec "kind": "%s" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "%s", "resource": "%s" }, @@ -377,7 +377,7 @@ func buildAdmissionReviewFromAlertmanagerConfigSpec(t *testing.T, version, spec ] }, "object": { - "apiVersion": "monitoring.coreos.com/%s", + "apiVersion": "monitoring.rhobs/%s", "kind": "%s", "metadata": { "creationTimestamp": "2019-03-27T13:02:09Z", @@ -412,9 +412,9 @@ func buildConversionReviewFromAlertmanagerConfigSpec(t *testing.T, from, to, spe "apiVersion": "apiextensions.k8s.io/v1", "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", - "desiredAPIVersion": "monitoring.coreos.com/%s", + "desiredAPIVersion": "monitoring.rhobs/%s", "objects": [{ - "apiVersion": "monitoring.coreos.com/%s", + "apiVersion": "monitoring.rhobs/%s", "kind": "%s", "metadata": { "creationTimestamp": "2019-03-27T13:02:09Z", diff --git a/pkg/admission/testdata/badRulesNoAnnotations.golden b/pkg/admission/testdata/badRulesNoAnnotations.golden index ec8ff95ca..e5a5d875e 100644 --- a/pkg/admission/testdata/badRulesNoAnnotations.golden +++ b/pkg/admission/testdata/badRulesNoAnnotations.golden @@ -4,12 +4,12 @@ "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", "kind": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "kind": "PrometheusRule" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "resource": "prometheusrules" }, @@ -23,7 +23,7 @@ ] }, "object": { - "apiVersion": "monitoring.coreos.com/v1", + "apiVersion": "monitoring.rhobs/v1", "kind": "PrometheusRule", "metadata": { "creationTimestamp": "2019-03-27T13:02:09Z", diff --git a/pkg/admission/testdata/badRulesWithBooleanInAnnotations.golden b/pkg/admission/testdata/badRulesWithBooleanInAnnotations.golden index 57c099855..d8dacd1e1 100644 --- a/pkg/admission/testdata/badRulesWithBooleanInAnnotations.golden +++ b/pkg/admission/testdata/badRulesWithBooleanInAnnotations.golden @@ -4,12 +4,12 @@ "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", "kind": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "kind": "PrometheusRule" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "resource": "prometheusrules" }, @@ -23,11 +23,11 @@ ] }, "object": { - "apiVersion": "monitoring.coreos.com/v1", + "apiVersion": "monitoring.rhobs/v1", "kind": "PrometheusRule", "metadata": { "annotations": { - "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.coreos.com/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.rhobs/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" }, "creationTimestamp": "2019-03-27T13:02:09Z", "generation": 1, diff --git a/pkg/admission/testdata/goodRulesWithAnnotations.golden b/pkg/admission/testdata/goodRulesWithAnnotations.golden index fe92c9411..b12ed2f60 100644 --- a/pkg/admission/testdata/goodRulesWithAnnotations.golden +++ b/pkg/admission/testdata/goodRulesWithAnnotations.golden @@ -4,12 +4,12 @@ "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", "kind": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "kind": "PrometheusRule" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "resource": "prometheusrules" }, @@ -23,11 +23,11 @@ ] }, "object": { - "apiVersion": "monitoring.coreos.com/v1", + "apiVersion": "monitoring.rhobs/v1", "kind": "PrometheusRule", "metadata": { "annotations": { - "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.coreos.com/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.rhobs/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" }, "creationTimestamp": "2019-03-27T13:02:09Z", "generation": 1, diff --git a/pkg/admission/testdata/goodRulesWithExternalLabelsInAnnotations.golden b/pkg/admission/testdata/goodRulesWithExternalLabelsInAnnotations.golden index 26cfe43ed..0002eec72 100644 --- a/pkg/admission/testdata/goodRulesWithExternalLabelsInAnnotations.golden +++ b/pkg/admission/testdata/goodRulesWithExternalLabelsInAnnotations.golden @@ -4,12 +4,12 @@ "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", "kind": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "kind": "PrometheusRule" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "resource": "prometheusrules" }, @@ -23,11 +23,11 @@ ] }, "object": { - "apiVersion": "monitoring.coreos.com/v1", + "apiVersion": "monitoring.rhobs/v1", "kind": "PrometheusRule", "metadata": { "annotations": { - "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.coreos.com/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.rhobs/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" }, "creationTimestamp": "2019-03-27T13:02:09Z", "generation": 1, diff --git a/pkg/admission/testdata/nonStringsInLabelsAnnotations.golden b/pkg/admission/testdata/nonStringsInLabelsAnnotations.golden index 4f545ab9d..cd1bbeae8 100644 --- a/pkg/admission/testdata/nonStringsInLabelsAnnotations.golden +++ b/pkg/admission/testdata/nonStringsInLabelsAnnotations.golden @@ -4,12 +4,12 @@ "request": { "uid": "87c5df7f-5090-11e9-b9b4-02425473f309", "kind": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "kind": "PrometheusRule" }, "resource": { - "group": "monitoring.coreos.com", + "group": "monitoring.rhobs", "version": "v1", "resource": "prometheusrules" }, @@ -23,11 +23,11 @@ ] }, "object": { - "apiVersion": "monitoring.coreos.com/v1", + "apiVersion": "monitoring.rhobs/v1", "kind": "PrometheusRule", "metadata": { "annotations": { - "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.coreos.com/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" + "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"monitoring.rhobs/v1\",\"kind\":\"PrometheusRule\",\"metadata\":{\"annotations\":{},\"name\":\"test\",\"namespace\":\"monitoring\"},\"spec\":{\"groups\":[{\"name\":\"test.rules\",\"rules\":[{\"alert\":\"Test\",\"annotations\":{\"message\":\"Test rule\"},\"expr\":\"vector(1))\",\"for\":\"5m\",\"labels\":{\"severity\":\"critical\"}}]}]}}\n" }, "creationTimestamp": "2019-03-27T13:02:09Z", "generation": 1, diff --git a/pkg/alertmanager/amcfg.go b/pkg/alertmanager/amcfg.go index 9eebd7254..2d4392dd3 100644 --- a/pkg/alertmanager/amcfg.go +++ b/pkg/alertmanager/amcfg.go @@ -36,10 +36,10 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" ) const inhibitRuleNamespaceKey = "namespace" diff --git a/pkg/alertmanager/amcfg_test.go b/pkg/alertmanager/amcfg_test.go index b6dcaf7a9..27e32b601 100644 --- a/pkg/alertmanager/amcfg_test.go +++ b/pkg/alertmanager/amcfg_test.go @@ -37,9 +37,9 @@ import ( "k8s.io/client-go/kubernetes/fake" "k8s.io/utils/ptr" - monitoringingv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" + monitoringingv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" ) func mustMarshalRoute(r monitoringv1alpha1.Route) []byte { diff --git a/pkg/alertmanager/collector.go b/pkg/alertmanager/collector.go index 33d015505..a9e202b49 100644 --- a/pkg/alertmanager/collector.go +++ b/pkg/alertmanager/collector.go @@ -18,7 +18,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "k8s.io/client-go/tools/cache" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) var ( diff --git a/pkg/alertmanager/operator.go b/pkg/alertmanager/operator.go index dad7791e0..5d64f3711 100644 --- a/pkg/alertmanager/operator.go +++ b/pkg/alertmanager/operator.go @@ -42,18 +42,18 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/record" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation" - validationv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation/v1alpha1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - monitoringv1ac "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/listwatch" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation" + validationv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + monitoringv1ac "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/listwatch" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( @@ -744,7 +744,7 @@ func createSSetInputHash(a monitoringv1.Alertmanager, c Config, tlsAssets *opera // The controller should ignore any changes to RevisionHistoryLimit field because // it may be modified by external actors. - // See https://github.com/prometheus-operator/prometheus-operator/issues/5712 + // See https://github.com/rhobs/obo-prometheus-operator/issues/5712 s.RevisionHistoryLimit = nil hash, err := hashstructure.Hash(struct { diff --git a/pkg/alertmanager/operator_test.go b/pkg/alertmanager/operator_test.go index 96e4be81c..222d7a292 100644 --- a/pkg/alertmanager/operator_test.go +++ b/pkg/alertmanager/operator_test.go @@ -34,11 +34,11 @@ import ( "k8s.io/client-go/kubernetes/fake" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - monitoringfake "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/fake" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + monitoringfake "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/fake" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) func TestCreateStatefulSetInputHash(t *testing.T) { diff --git a/pkg/alertmanager/statefulset.go b/pkg/alertmanager/statefulset.go index ab6018efb..865585499 100644 --- a/pkg/alertmanager/statefulset.go +++ b/pkg/alertmanager/statefulset.go @@ -31,10 +31,10 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( diff --git a/pkg/alertmanager/statefulset_test.go b/pkg/alertmanager/statefulset_test.go index f7bfd954b..796ccb644 100644 --- a/pkg/alertmanager/statefulset_test.go +++ b/pkg/alertmanager/statefulset_test.go @@ -28,8 +28,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) var ( diff --git a/pkg/alertmanager/validation/v1alpha1/validation.go b/pkg/alertmanager/validation/v1alpha1/validation.go index 74efafc53..de016c60f 100644 --- a/pkg/alertmanager/validation/v1alpha1/validation.go +++ b/pkg/alertmanager/validation/v1alpha1/validation.go @@ -21,8 +21,8 @@ import ( "regexp" "strings" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) var durationRe = regexp.MustCompile(`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$`) diff --git a/pkg/alertmanager/validation/v1beta1/validation.go b/pkg/alertmanager/validation/v1beta1/validation.go index 4024adada..dad20f089 100644 --- a/pkg/alertmanager/validation/v1beta1/validation.go +++ b/pkg/alertmanager/validation/v1beta1/validation.go @@ -21,8 +21,8 @@ import ( "regexp" "strings" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager/validation" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager/validation" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) var durationRe = regexp.MustCompile(`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$`) diff --git a/pkg/alertmanager/validation/v1beta1/validation_test.go b/pkg/alertmanager/validation/v1beta1/validation_test.go index 4b22f621c..d2596313e 100644 --- a/pkg/alertmanager/validation/v1beta1/validation_test.go +++ b/pkg/alertmanager/validation/v1beta1/validation_test.go @@ -19,7 +19,7 @@ import ( "k8s.io/utils/ptr" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) func TestValidateAlertmanagerConfig(t *testing.T) { diff --git a/pkg/apis/monitoring/go.mod b/pkg/apis/monitoring/go.mod index 95164dc08..898258401 100644 --- a/pkg/apis/monitoring/go.mod +++ b/pkg/apis/monitoring/go.mod @@ -1,4 +1,4 @@ -module github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring +module github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring go 1.22.0 diff --git a/pkg/apis/monitoring/register.go b/pkg/apis/monitoring/register.go index 6f4298483..e12d368e5 100644 --- a/pkg/apis/monitoring/register.go +++ b/pkg/apis/monitoring/register.go @@ -15,11 +15,11 @@ package monitoring // GroupName is set to var instead of const, since this provides the ability for clients importing the module - -// github.com/prometheus-operator/prometheus-operator/pkg/apis to manage the operator's objects in a different +// github.com/rhobs/obo-prometheus-operator/pkg/apis to manage the operator's objects in a different // API group // // Use `ldflags` in the client side, e.g.: -// go run -ldflags="-s -X github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring.GroupName=monitoring.example.com" ./example/client/. +// go run -ldflags="-s -X github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring.GroupName=monitoring.example.com" ./example/client/. var ( - GroupName = "monitoring.coreos.com" + GroupName = "monitoring.rhobs" ) diff --git a/pkg/apis/monitoring/v1/alertmanager_types.go b/pkg/apis/monitoring/v1/alertmanager_types.go index f99dedf43..c1e542c78 100644 --- a/pkg/apis/monitoring/v1/alertmanager_types.go +++ b/pkg/apis/monitoring/v1/alertmanager_types.go @@ -28,7 +28,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="am" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version",description="The version of Alertmanager" // +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="The number of desired replicas" // +kubebuilder:printcolumn:name="Ready",type="integer",JSONPath=".status.availableReplicas",description="The number of ready replicas" diff --git a/pkg/apis/monitoring/v1/doc.go b/pkg/apis/monitoring/v1/doc.go index 64c472527..f63a726a8 100644 --- a/pkg/apis/monitoring/v1/doc.go +++ b/pkg/apis/monitoring/v1/doc.go @@ -13,6 +13,6 @@ // limitations under the License. // +k8s:deepcopy-gen=package -// +groupName=monitoring.coreos.com +// +groupName=monitoring.rhobs package v1 diff --git a/pkg/apis/monitoring/v1/podmonitor_types.go b/pkg/apis/monitoring/v1/podmonitor_types.go index aa0217501..fb1bbbbe3 100644 --- a/pkg/apis/monitoring/v1/podmonitor_types.go +++ b/pkg/apis/monitoring/v1/podmonitor_types.go @@ -29,7 +29,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="pmon" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // PodMonitor defines monitoring for a set of pods. type PodMonitor struct { diff --git a/pkg/apis/monitoring/v1/probe_types.go b/pkg/apis/monitoring/v1/probe_types.go index 4e8427c6c..1b954a21d 100644 --- a/pkg/apis/monitoring/v1/probe_types.go +++ b/pkg/apis/monitoring/v1/probe_types.go @@ -28,7 +28,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="prb" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // Probe defines monitoring for a set of static targets or ingresses. type Probe struct { diff --git a/pkg/apis/monitoring/v1/prometheus_types.go b/pkg/apis/monitoring/v1/prometheus_types.go index e22d785fb..921ae0e91 100644 --- a/pkg/apis/monitoring/v1/prometheus_types.go +++ b/pkg/apis/monitoring/v1/prometheus_types.go @@ -802,7 +802,7 @@ func (cpf *CommonPrometheusFields) WebRoutePrefix() string { // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="prom" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version",description="The version of Prometheus" // +kubebuilder:printcolumn:name="Desired",type="integer",JSONPath=".spec.replicas",description="The number of desired replicas" // +kubebuilder:printcolumn:name="Ready",type="integer",JSONPath=".status.availableReplicas",description="The number of ready replicas" diff --git a/pkg/apis/monitoring/v1/prometheusrule_types.go b/pkg/apis/monitoring/v1/prometheusrule_types.go index 8c9a4afe6..94e44987a 100644 --- a/pkg/apis/monitoring/v1/prometheusrule_types.go +++ b/pkg/apis/monitoring/v1/prometheusrule_types.go @@ -28,7 +28,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="promrule" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // PrometheusRule defines recording and alerting rules for a Prometheus instance type PrometheusRule struct { diff --git a/pkg/apis/monitoring/v1/register.go b/pkg/apis/monitoring/v1/register.go index 37786147a..17a2532ff 100644 --- a/pkg/apis/monitoring/v1/register.go +++ b/pkg/apis/monitoring/v1/register.go @@ -19,7 +19,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" ) // SchemeGroupVersion is the group version used to register these objects diff --git a/pkg/apis/monitoring/v1/servicemonitor_types.go b/pkg/apis/monitoring/v1/servicemonitor_types.go index 8002a1328..257445793 100644 --- a/pkg/apis/monitoring/v1/servicemonitor_types.go +++ b/pkg/apis/monitoring/v1/servicemonitor_types.go @@ -27,7 +27,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="smon" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // ServiceMonitor defines monitoring for a set of services. type ServiceMonitor struct { diff --git a/pkg/apis/monitoring/v1/thanos_types.go b/pkg/apis/monitoring/v1/thanos_types.go index 82c569ee1..a56e2405f 100644 --- a/pkg/apis/monitoring/v1/thanos_types.go +++ b/pkg/apis/monitoring/v1/thanos_types.go @@ -28,7 +28,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="ruler" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version",description="The version of Thanos Ruler" // +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="The number of desired replicas" // +kubebuilder:printcolumn:name="Ready",type="integer",JSONPath=".status.availableReplicas",description="The number of ready replicas" diff --git a/pkg/apis/monitoring/v1/types.go b/pkg/apis/monitoring/v1/types.go index 5676566fa..466f23c60 100644 --- a/pkg/apis/monitoring/v1/types.go +++ b/pkg/apis/monitoring/v1/types.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/intstr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" ) const ( @@ -107,10 +107,10 @@ type ProxyConfig struct { // ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object. type ObjectReference struct { - // Group of the referent. When not specified, it defaults to `monitoring.coreos.com` + // Group of the referent. When not specified, it defaults to `monitoring.rhobs` // +optional - // +kubebuilder:default:="monitoring.coreos.com" - // +kubebuilder:validation:Enum=monitoring.coreos.com + // +kubebuilder:default:="monitoring.rhobs" + // +kubebuilder:validation:Enum=monitoring.rhobs Group string `json:"group"` // Resource of the referent. // +kubebuilder:validation:Required diff --git a/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go b/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go index de1f852ca..e47862ae6 100644 --- a/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go +++ b/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" v1 "k8s.io/api/core/v1" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" @@ -40,7 +40,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="amcfg" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:storageversion // AlertmanagerConfig configures the Prometheus Alertmanager, diff --git a/pkg/apis/monitoring/v1alpha1/doc.go b/pkg/apis/monitoring/v1alpha1/doc.go index aca68fd17..07c888280 100644 --- a/pkg/apis/monitoring/v1alpha1/doc.go +++ b/pkg/apis/monitoring/v1alpha1/doc.go @@ -13,6 +13,6 @@ // limitations under the License. // +k8s:deepcopy-gen=package -// +groupName=monitoring.coreos.com +// +groupName=monitoring.rhobs package v1alpha1 diff --git a/pkg/apis/monitoring/v1alpha1/prometheusagent_types.go b/pkg/apis/monitoring/v1alpha1/prometheusagent_types.go index 139d016e5..7a2499b8f 100644 --- a/pkg/apis/monitoring/v1alpha1/prometheusagent_types.go +++ b/pkg/apis/monitoring/v1alpha1/prometheusagent_types.go @@ -15,7 +15,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" ) @@ -40,7 +40,7 @@ func (l *PrometheusAgent) GetStatus() monitoringv1.PrometheusStatus { // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="promagent" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version",description="The version of Prometheus agent" // +kubebuilder:printcolumn:name="Desired",type="integer",JSONPath=".spec.replicas",description="The number of desired replicas" // +kubebuilder:printcolumn:name="Ready",type="integer",JSONPath=".status.availableReplicas",description="The number of ready replicas" diff --git a/pkg/apis/monitoring/v1alpha1/register.go b/pkg/apis/monitoring/v1alpha1/register.go index e78380913..b13eb7f63 100644 --- a/pkg/apis/monitoring/v1alpha1/register.go +++ b/pkg/apis/monitoring/v1alpha1/register.go @@ -19,7 +19,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" ) // SchemeGroupVersion is the group version used to register these objects diff --git a/pkg/apis/monitoring/v1alpha1/scrapeconfig_test.go b/pkg/apis/monitoring/v1alpha1/scrapeconfig_test.go index 593f5a23f..703e170d7 100644 --- a/pkg/apis/monitoring/v1alpha1/scrapeconfig_test.go +++ b/pkg/apis/monitoring/v1alpha1/scrapeconfig_test.go @@ -16,7 +16,7 @@ package v1alpha1 import ( "encoding/json" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/apis/monitoring/v1alpha1/scrapeconfig_types.go b/pkg/apis/monitoring/v1alpha1/scrapeconfig_types.go index 7e510c1bf..60897c818 100644 --- a/pkg/apis/monitoring/v1alpha1/scrapeconfig_types.go +++ b/pkg/apis/monitoring/v1alpha1/scrapeconfig_types.go @@ -15,7 +15,7 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" @@ -94,7 +94,7 @@ type K8SSelectorConfig struct { // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="scfg" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // +kubebuilder:storageversion // ScrapeConfig defines a namespaced Prometheus scrape_config to be aggregated across diff --git a/pkg/apis/monitoring/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/monitoring/v1alpha1/zz_generated.deepcopy.go index 586b27abe..f61bf6f5b 100644 --- a/pkg/apis/monitoring/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/monitoring/v1alpha1/zz_generated.deepcopy.go @@ -19,7 +19,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) diff --git a/pkg/apis/monitoring/v1beta1/alertmanager_config_types.go b/pkg/apis/monitoring/v1beta1/alertmanager_config_types.go index 7fd26eac4..334b613bf 100644 --- a/pkg/apis/monitoring/v1beta1/alertmanager_config_types.go +++ b/pkg/apis/monitoring/v1beta1/alertmanager_config_types.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" v1 "k8s.io/api/core/v1" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" @@ -40,7 +40,7 @@ const ( // +genclient // +k8s:openapi-gen=true -// +kubebuilder:resource:categories="prometheus-operator",shortName="amcfg" +// +kubebuilder:resource:categories="rhobs-prometheus-operator" // AlertmanagerConfig configures the Prometheus Alertmanager, // specifying how alerts should be grouped, inhibited and notified to external systems. diff --git a/pkg/apis/monitoring/v1beta1/conversion_from.go b/pkg/apis/monitoring/v1beta1/conversion_from.go index 3b78bb66b..3024f7aab 100644 --- a/pkg/apis/monitoring/v1beta1/conversion_from.go +++ b/pkg/apis/monitoring/v1beta1/conversion_from.go @@ -22,7 +22,7 @@ import ( apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "sigs.k8s.io/controller-runtime/pkg/conversion" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func convertRouteFrom(in *v1alpha1.Route) (*Route, error) { diff --git a/pkg/apis/monitoring/v1beta1/conversion_to.go b/pkg/apis/monitoring/v1beta1/conversion_to.go index 7c8e9088c..0f71f3a9c 100644 --- a/pkg/apis/monitoring/v1beta1/conversion_to.go +++ b/pkg/apis/monitoring/v1beta1/conversion_to.go @@ -22,7 +22,7 @@ import ( apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "sigs.k8s.io/controller-runtime/pkg/conversion" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func convertRouteTo(in *Route) (*v1alpha1.Route, error) { diff --git a/pkg/apis/monitoring/v1beta1/doc.go b/pkg/apis/monitoring/v1beta1/doc.go index 5b75b1421..66f6821a6 100644 --- a/pkg/apis/monitoring/v1beta1/doc.go +++ b/pkg/apis/monitoring/v1beta1/doc.go @@ -13,6 +13,6 @@ // limitations under the License. // +k8s:deepcopy-gen=package -// +groupName=monitoring.coreos.com +// +groupName=monitoring.rhobs package v1beta1 diff --git a/pkg/apis/monitoring/v1beta1/register.go b/pkg/apis/monitoring/v1beta1/register.go index 96e40e832..6787b0e81 100644 --- a/pkg/apis/monitoring/v1beta1/register.go +++ b/pkg/apis/monitoring/v1beta1/register.go @@ -19,7 +19,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" ) // SchemeGroupVersion is the group version used to register these objects diff --git a/pkg/apis/monitoring/v1beta1/zz_generated.deepcopy.go b/pkg/apis/monitoring/v1beta1/zz_generated.deepcopy.go index 7ed5e2bd8..24e12f1be 100644 --- a/pkg/apis/monitoring/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/monitoring/v1beta1/zz_generated.deepcopy.go @@ -19,7 +19,7 @@ package v1beta1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) diff --git a/pkg/assets/interface.go b/pkg/assets/interface.go index 142d2d87f..1360d1177 100644 --- a/pkg/assets/interface.go +++ b/pkg/assets/interface.go @@ -17,7 +17,7 @@ package assets import ( v1 "k8s.io/api/core/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // StoreGetter can get data from ConfigMap/Secret objects via key selectors. diff --git a/pkg/assets/store.go b/pkg/assets/store.go index 47a26b520..bdfb43a3d 100644 --- a/pkg/assets/store.go +++ b/pkg/assets/store.go @@ -24,7 +24,7 @@ import ( corev1client "k8s.io/client-go/kubernetes/typed/core/v1" "k8s.io/client-go/tools/cache" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // StoreBuilder is a store that fetches and caches TLS materials, bearer tokens diff --git a/pkg/assets/store_test.go b/pkg/assets/store_test.go index 5c6615f2c..afb9bc869 100644 --- a/pkg/assets/store_test.go +++ b/pkg/assets/store_test.go @@ -23,7 +23,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/fake" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) var ( diff --git a/pkg/assets/tls.go b/pkg/assets/tls.go index 17dacab2e..45381fc6f 100644 --- a/pkg/assets/tls.go +++ b/pkg/assets/tls.go @@ -23,7 +23,7 @@ import ( v1 "k8s.io/api/core/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) type source int diff --git a/pkg/client/applyconfiguration/monitoring/v1/alertmanager.go b/pkg/client/applyconfiguration/monitoring/v1/alertmanager.go index 5df19c3b3..1a2a81fca 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/alertmanager.go +++ b/pkg/client/applyconfiguration/monitoring/v1/alertmanager.go @@ -38,7 +38,7 @@ func Alertmanager(name, namespace string) *AlertmanagerApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("Alertmanager") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerendpoints.go b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerendpoints.go index 8a351e4de..dddb076fe 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerendpoints.go +++ b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerendpoints.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" intstr "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerglobalconfig.go b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerglobalconfig.go index 0a9ca6a8e..f5408ffd2 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerglobalconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerglobalconfig.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerspec.go b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerspec.go index c400fbd30..12a54a987 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/alertmanagerspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/alertmanagerspec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/commonprometheusfields.go b/pkg/client/applyconfiguration/monitoring/v1/commonprometheusfields.go index 809d55add..2bdcac8ff 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/commonprometheusfields.go +++ b/pkg/client/applyconfiguration/monitoring/v1/commonprometheusfields.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" diff --git a/pkg/client/applyconfiguration/monitoring/v1/condition.go b/pkg/client/applyconfiguration/monitoring/v1/condition.go index 11f02ee06..21c6038f1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/condition.go +++ b/pkg/client/applyconfiguration/monitoring/v1/condition.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/embeddedpersistentvolumeclaim.go b/pkg/client/applyconfiguration/monitoring/v1/embeddedpersistentvolumeclaim.go index ff6883a20..00a2bcebe 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/embeddedpersistentvolumeclaim.go +++ b/pkg/client/applyconfiguration/monitoring/v1/embeddedpersistentvolumeclaim.go @@ -35,7 +35,7 @@ type EmbeddedPersistentVolumeClaimApplyConfiguration struct { func EmbeddedPersistentVolumeClaim() *EmbeddedPersistentVolumeClaimApplyConfiguration { b := &EmbeddedPersistentVolumeClaimApplyConfiguration{} b.WithKind("EmbeddedPersistentVolumeClaim") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/endpoint.go b/pkg/client/applyconfiguration/monitoring/v1/endpoint.go index f3564ccf4..63f22bf2f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/endpoint.go +++ b/pkg/client/applyconfiguration/monitoring/v1/endpoint.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" intstr "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/metadataconfig.go b/pkg/client/applyconfiguration/monitoring/v1/metadataconfig.go index c9ec12704..089836ad1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/metadataconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1/metadataconfig.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // MetadataConfigApplyConfiguration represents an declarative configuration of the MetadataConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1/podmetricsendpoint.go b/pkg/client/applyconfiguration/monitoring/v1/podmetricsendpoint.go index 7e824f66e..07e756771 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/podmetricsendpoint.go +++ b/pkg/client/applyconfiguration/monitoring/v1/podmetricsendpoint.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" intstr "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/podmonitor.go b/pkg/client/applyconfiguration/monitoring/v1/podmonitor.go index debd1415a..2a1b3d71e 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/podmonitor.go +++ b/pkg/client/applyconfiguration/monitoring/v1/podmonitor.go @@ -37,7 +37,7 @@ func PodMonitor(name, namespace string) *PodMonitorApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("PodMonitor") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/podmonitorspec.go b/pkg/client/applyconfiguration/monitoring/v1/podmonitorspec.go index a2efa7f0a..f91a3310b 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/podmonitorspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/podmonitorspec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/probe.go b/pkg/client/applyconfiguration/monitoring/v1/probe.go index 464ab9485..479458ea1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/probe.go +++ b/pkg/client/applyconfiguration/monitoring/v1/probe.go @@ -37,7 +37,7 @@ func Probe(name, namespace string) *ProbeApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("Probe") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/probespec.go b/pkg/client/applyconfiguration/monitoring/v1/probespec.go index fb65ac883..c1f3624dc 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/probespec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/probespec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/prometheus.go b/pkg/client/applyconfiguration/monitoring/v1/prometheus.go index 28a7b0df7..3e1a33ada 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/prometheus.go +++ b/pkg/client/applyconfiguration/monitoring/v1/prometheus.go @@ -38,7 +38,7 @@ func Prometheus(name, namespace string) *PrometheusApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("Prometheus") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/prometheusrule.go b/pkg/client/applyconfiguration/monitoring/v1/prometheusrule.go index 9b6567f2b..daea1caf4 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/prometheusrule.go +++ b/pkg/client/applyconfiguration/monitoring/v1/prometheusrule.go @@ -37,7 +37,7 @@ func PrometheusRule(name, namespace string) *PrometheusRuleApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("PrometheusRule") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/prometheusspec.go b/pkg/client/applyconfiguration/monitoring/v1/prometheusspec.go index 82dd8ffc3..51448bc28 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/prometheusspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/prometheusspec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" diff --git a/pkg/client/applyconfiguration/monitoring/v1/prometheustracingconfig.go b/pkg/client/applyconfiguration/monitoring/v1/prometheustracingconfig.go index b9957a72d..7d1cf0cf7 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/prometheustracingconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1/prometheustracingconfig.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" resource "k8s.io/apimachinery/pkg/api/resource" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/queryspec.go b/pkg/client/applyconfiguration/monitoring/v1/queryspec.go index f3cef0728..a1deb6341 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/queryspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/queryspec.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // QuerySpecApplyConfiguration represents an declarative configuration of the QuerySpec type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1/queueconfig.go b/pkg/client/applyconfiguration/monitoring/v1/queueconfig.go index b8f9953ed..d5de4bd0b 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/queueconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1/queueconfig.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // QueueConfigApplyConfiguration represents an declarative configuration of the QueueConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1/relabelconfig.go b/pkg/client/applyconfiguration/monitoring/v1/relabelconfig.go index f52f4a316..3e4980305 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/relabelconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1/relabelconfig.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // RelabelConfigApplyConfiguration represents an declarative configuration of the RelabelConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1/remotereadspec.go b/pkg/client/applyconfiguration/monitoring/v1/remotereadspec.go index 1c4dd930a..10c29515c 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/remotereadspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/remotereadspec.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/remotewritespec.go b/pkg/client/applyconfiguration/monitoring/v1/remotewritespec.go index 5aa71de81..180f60ff5 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/remotewritespec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/remotewritespec.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/rule.go b/pkg/client/applyconfiguration/monitoring/v1/rule.go index 8cbc73c89..abc8080b9 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/rule.go +++ b/pkg/client/applyconfiguration/monitoring/v1/rule.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" intstr "k8s.io/apimachinery/pkg/util/intstr" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/rulegroup.go b/pkg/client/applyconfiguration/monitoring/v1/rulegroup.go index c2b5c5280..2470d6ba6 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/rulegroup.go +++ b/pkg/client/applyconfiguration/monitoring/v1/rulegroup.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // RuleGroupApplyConfiguration represents an declarative configuration of the RuleGroup type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1/servicemonitor.go b/pkg/client/applyconfiguration/monitoring/v1/servicemonitor.go index 6b87ef476..416f858f4 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/servicemonitor.go +++ b/pkg/client/applyconfiguration/monitoring/v1/servicemonitor.go @@ -37,7 +37,7 @@ func ServiceMonitor(name, namespace string) *ServiceMonitorApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("ServiceMonitor") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/servicemonitorspec.go b/pkg/client/applyconfiguration/monitoring/v1/servicemonitorspec.go index 960faa850..c589739f5 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/servicemonitorspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/servicemonitorspec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/thanosruler.go b/pkg/client/applyconfiguration/monitoring/v1/thanosruler.go index fd80ebd74..3428bff16 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/thanosruler.go +++ b/pkg/client/applyconfiguration/monitoring/v1/thanosruler.go @@ -38,7 +38,7 @@ func ThanosRuler(name, namespace string) *ThanosRulerApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("ThanosRuler") - b.WithAPIVersion("monitoring.coreos.com/v1") + b.WithAPIVersion("monitoring.rhobs/v1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1/thanosrulerspec.go b/pkg/client/applyconfiguration/monitoring/v1/thanosrulerspec.go index cf76d2ea2..c23f81e68 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/thanosrulerspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/thanosrulerspec.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/thanosspec.go b/pkg/client/applyconfiguration/monitoring/v1/thanosspec.go index 91e01109d..93680dad5 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/thanosspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/thanosspec.go @@ -17,7 +17,7 @@ package v1 import ( - apismonitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + apismonitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/topologyspreadconstraint.go b/pkg/client/applyconfiguration/monitoring/v1/topologyspreadconstraint.go index 8ce14df5a..aa50e1fc0 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/topologyspreadconstraint.go +++ b/pkg/client/applyconfiguration/monitoring/v1/topologyspreadconstraint.go @@ -17,7 +17,7 @@ package v1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1/tsdbspec.go b/pkg/client/applyconfiguration/monitoring/v1/tsdbspec.go index fffda73cd..24e27f7a9 100644 --- a/pkg/client/applyconfiguration/monitoring/v1/tsdbspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1/tsdbspec.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // TSDBSpecApplyConfiguration represents an declarative configuration of the TSDBSpec type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/alertmanagerconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/alertmanagerconfig.go index 62eb676c6..67ed1d71f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/alertmanagerconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/alertmanagerconfig.go @@ -37,7 +37,7 @@ func AlertmanagerConfig(name, namespace string) *AlertmanagerConfigApplyConfigur b.WithName(name) b.WithNamespace(namespace) b.WithKind("AlertmanagerConfig") - b.WithAPIVersion("monitoring.coreos.com/v1alpha1") + b.WithAPIVersion("monitoring.rhobs/v1alpha1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/azuresdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/azuresdconfig.go index 92ee156d0..215b912b1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/azuresdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/azuresdconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/consulsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/consulsdconfig.go index dfbd69cb0..f021cba04 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/consulsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/consulsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - applyconfigurationmonitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + applyconfigurationmonitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/digitaloceansdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/digitaloceansdconfig.go index 71f1b077c..f0a817fca 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/digitaloceansdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/digitaloceansdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/dnssdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/dnssdconfig.go index a25316865..8fc205025 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/dnssdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/dnssdconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // DNSSDConfigApplyConfiguration represents an declarative configuration of the DNSSDConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/dockersdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/dockersdconfig.go index 3ed0829d0..d1bd67338 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/dockersdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/dockersdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/dockerswarmsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/dockerswarmsdconfig.go index 4d4189d2c..b34f973a1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/dockerswarmsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/dockerswarmsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/ec2sdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/ec2sdconfig.go index 2a838009c..da6f9b87a 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/ec2sdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/ec2sdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/emailconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/emailconfig.go index 9f3e9fa2e..daf38b8d7 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/emailconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/emailconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/eurekasdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/eurekasdconfig.go index c42593ecb..bc5477fa2 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/eurekasdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/eurekasdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/filesdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/filesdconfig.go index f88ac8b18..8d79351fd 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/filesdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/filesdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // FileSDConfigApplyConfiguration represents an declarative configuration of the FileSDConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/gcesdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/gcesdconfig.go index 0574dec51..eb4cba8e9 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/gcesdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/gcesdconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // GCESDConfigApplyConfiguration represents an declarative configuration of the GCESDConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/hetznersdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/hetznersdconfig.go index a15e12855..b6715eba1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/hetznersdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/hetznersdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/httpconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/httpconfig.go index 0fe4a92a4..3032b5e0d 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/httpconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/httpconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/httpsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/httpsdconfig.go index 9ccca7fbe..c70a20f2f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/httpsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/httpsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/k8sselectorconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/k8sselectorconfig.go index a274e6fcd..98875400c 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/k8sselectorconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/k8sselectorconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // K8SSelectorConfigApplyConfiguration represents an declarative configuration of the K8SSelectorConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/kubernetessdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/kubernetessdconfig.go index 8c02fed94..6ab50ebd2 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/kubernetessdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/kubernetessdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/kumasdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/kumasdconfig.go index f84137734..bb6cd8995 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/kumasdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/kumasdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/lightsailsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/lightsailsdconfig.go index e090a1cf1..4b1a73cdc 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/lightsailsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/lightsailsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - applyconfigurationmonitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + applyconfigurationmonitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/linodesdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/linodesdconfig.go index fba2174e8..7b287a84f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/linodesdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/linodesdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/matcher.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/matcher.go index 4491e98ac..a9737dbae 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/matcher.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/matcher.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // MatcherApplyConfiguration represents an declarative configuration of the Matcher type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/nomadsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/nomadsdconfig.go index c36211b16..722455117 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/nomadsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/nomadsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/openstacksdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/openstacksdconfig.go index 5826a77a6..6954f6542 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/openstacksdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/openstacksdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - applyconfigurationmonitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + applyconfigurationmonitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/ovhcloudsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/ovhcloudsdconfig.go index cbd953080..ad6f727b3 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/ovhcloudsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/ovhcloudsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagent.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagent.go index 1bb14cb7d..d2f2ff832 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagent.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagent.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" v1 "k8s.io/client-go/applyconfigurations/meta/v1" @@ -39,7 +39,7 @@ func PrometheusAgent(name, namespace string) *PrometheusAgentApplyConfiguration b.WithName(name) b.WithNamespace(namespace) b.WithKind("PrometheusAgent") - b.WithAPIVersion("monitoring.coreos.com/v1alpha1") + b.WithAPIVersion("monitoring.rhobs/v1alpha1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagentspec.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagentspec.go index 19ee2be20..ead7a8ad0 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagentspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/prometheusagentspec.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/puppetdbsdconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/puppetdbsdconfig.go index e05a7aacd..55a7f4316 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/puppetdbsdconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/puppetdbsdconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/pushoverconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/pushoverconfig.go index 21d389575..4452803a5 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/pushoverconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/pushoverconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" v1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfig.go index 6c5dc1665..759f8d9ee 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfig.go @@ -37,7 +37,7 @@ func ScrapeConfig(name, namespace string) *ScrapeConfigApplyConfiguration { b.WithName(name) b.WithNamespace(namespace) b.WithKind("ScrapeConfig") - b.WithAPIVersion("monitoring.coreos.com/v1alpha1") + b.WithAPIVersion("monitoring.rhobs/v1alpha1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfigspec.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfigspec.go index c5a46f5ac..62bf1f5c1 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfigspec.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/scrapeconfigspec.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/snsconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/snsconfig.go index 00616e002..a296f57d2 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/snsconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/snsconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" ) // SNSConfigApplyConfiguration represents an declarative configuration of the SNSConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/staticconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/staticconfig.go index 896cbba9b..ba28ff676 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/staticconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/staticconfig.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // StaticConfigApplyConfiguration represents an declarative configuration of the StaticConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/timeinterval.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/timeinterval.go index cc0eaa780..d42519d35 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/timeinterval.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/timeinterval.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // TimeIntervalApplyConfiguration represents an declarative configuration of the TimeInterval type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/timerange.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/timerange.go index 0fb7a155f..f0fa6628f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/timerange.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/timerange.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // TimeRangeApplyConfiguration represents an declarative configuration of the TimeRange type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1alpha1/webexconfig.go b/pkg/client/applyconfiguration/monitoring/v1alpha1/webexconfig.go index 85689a14e..d2e11ebe8 100644 --- a/pkg/client/applyconfiguration/monitoring/v1alpha1/webexconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1alpha1/webexconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // WebexConfigApplyConfiguration represents an declarative configuration of the WebexConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/alertmanagerconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/alertmanagerconfig.go index c0c240326..879266904 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/alertmanagerconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/alertmanagerconfig.go @@ -37,7 +37,7 @@ func AlertmanagerConfig(name, namespace string) *AlertmanagerConfigApplyConfigur b.WithName(name) b.WithNamespace(namespace) b.WithKind("AlertmanagerConfig") - b.WithAPIVersion("monitoring.coreos.com/v1beta1") + b.WithAPIVersion("monitoring.rhobs/v1beta1") return b } diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/emailconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/emailconfig.go index 8b5964bdd..bf3d7f804 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/emailconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/emailconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" ) // EmailConfigApplyConfiguration represents an declarative configuration of the EmailConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/httpconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/httpconfig.go index 581a7a0dc..30e6bd15f 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/httpconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/httpconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" ) // HTTPConfigApplyConfiguration represents an declarative configuration of the HTTPConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/matcher.go b/pkg/client/applyconfiguration/monitoring/v1beta1/matcher.go index 9f6fb7fb8..9537fd24a 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/matcher.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/matcher.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) // MatcherApplyConfiguration represents an declarative configuration of the Matcher type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/pushoverconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/pushoverconfig.go index b670b4933..2095c143a 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/pushoverconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/pushoverconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // PushoverConfigApplyConfiguration represents an declarative configuration of the PushoverConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/snsconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/snsconfig.go index 71c7e5fe3..9a9e1790e 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/snsconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/snsconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" ) // SNSConfigApplyConfiguration represents an declarative configuration of the SNSConfig type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/timeperiod.go b/pkg/client/applyconfiguration/monitoring/v1beta1/timeperiod.go index b373615af..cff6c3765 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/timeperiod.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/timeperiod.go @@ -17,7 +17,7 @@ package v1beta1 import ( - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) // TimePeriodApplyConfiguration represents an declarative configuration of the TimePeriod type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/timerange.go b/pkg/client/applyconfiguration/monitoring/v1beta1/timerange.go index 1f453ea8a..2f51e11c5 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/timerange.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/timerange.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) // TimeRangeApplyConfiguration represents an declarative configuration of the TimeRange type for use diff --git a/pkg/client/applyconfiguration/monitoring/v1beta1/webexconfig.go b/pkg/client/applyconfiguration/monitoring/v1beta1/webexconfig.go index 05c020419..0f002d928 100644 --- a/pkg/client/applyconfiguration/monitoring/v1beta1/webexconfig.go +++ b/pkg/client/applyconfiguration/monitoring/v1beta1/webexconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) // WebexConfigApplyConfiguration represents an declarative configuration of the WebexConfig type for use diff --git a/pkg/client/applyconfiguration/utils.go b/pkg/client/applyconfiguration/utils.go index 75f404f62..2c90d2e27 100644 --- a/pkg/client/applyconfiguration/utils.go +++ b/pkg/client/applyconfiguration/utils.go @@ -17,12 +17,12 @@ package applyconfiguration import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" schema "k8s.io/apimachinery/pkg/runtime/schema" ) @@ -30,7 +30,7 @@ import ( // apply configuration type exists for the given GroupVersionKind. func ForKind(kind schema.GroupVersionKind) interface{} { switch kind { - // Group=monitoring.coreos.com, Version=v1 + // Group=monitoring.rhobs, Version=v1 case v1.SchemeGroupVersion.WithKind("AlertingSpec"): return &monitoringv1.AlertingSpecApplyConfiguration{} case v1.SchemeGroupVersion.WithKind("Alertmanager"): @@ -196,7 +196,7 @@ func ForKind(kind schema.GroupVersionKind) interface{} { case v1.SchemeGroupVersion.WithKind("WebTLSConfig"): return &monitoringv1.WebTLSConfigApplyConfiguration{} - // Group=monitoring.coreos.com, Version=v1alpha1 + // Group=monitoring.rhobs, Version=v1alpha1 case v1alpha1.SchemeGroupVersion.WithKind("AlertmanagerConfig"): return &monitoringv1alpha1.AlertmanagerConfigApplyConfiguration{} case v1alpha1.SchemeGroupVersion.WithKind("AlertmanagerConfigSpec"): @@ -322,7 +322,7 @@ func ForKind(kind schema.GroupVersionKind) interface{} { case v1alpha1.SchemeGroupVersion.WithKind("WeChatConfig"): return &monitoringv1alpha1.WeChatConfigApplyConfiguration{} - // Group=monitoring.coreos.com, Version=v1beta1 + // Group=monitoring.rhobs, Version=v1beta1 case v1beta1.SchemeGroupVersion.WithKind("AlertmanagerConfig"): return &monitoringv1beta1.AlertmanagerConfigApplyConfiguration{} case v1beta1.SchemeGroupVersion.WithKind("AlertmanagerConfigSpec"): diff --git a/pkg/client/go.mod b/pkg/client/go.mod index 9d4980309..60a38a252 100644 --- a/pkg/client/go.mod +++ b/pkg/client/go.mod @@ -1,11 +1,11 @@ -module github.com/prometheus-operator/prometheus-operator/pkg/client +module github.com/rhobs/obo-prometheus-operator/pkg/client go 1.22.0 toolchain go1.22.2 require ( - github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.75.2 + github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.75.2-rhobs1 k8s.io/api v0.30.2 k8s.io/apiextensions-apiserver v0.30.2 k8s.io/apimachinery v0.30.2 @@ -52,4 +52,4 @@ require ( sigs.k8s.io/yaml v1.4.0 // indirect ) -replace github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring => ../apis/monitoring +replace github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring => ../apis/monitoring diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index 867e40fdf..78964f2ca 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -21,9 +21,9 @@ import ( sync "sync" time "time" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - monitoring "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/monitoring" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + monitoring "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/monitoring" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index 9a8cbba2c..545bdc122 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -19,9 +19,9 @@ package externalversions import ( "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) @@ -52,7 +52,7 @@ func (f *genericInformer) Lister() cache.GenericLister { // TODO extend this to unknown resources with a client pool func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) { switch resource { - // Group=monitoring.coreos.com, Version=v1 + // Group=monitoring.rhobs, Version=v1 case v1.SchemeGroupVersion.WithResource("alertmanagers"): return &genericInformer{resource: resource.GroupResource(), informer: f.Monitoring().V1().Alertmanagers().Informer()}, nil case v1.SchemeGroupVersion.WithResource("podmonitors"): @@ -68,7 +68,7 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource case v1.SchemeGroupVersion.WithResource("thanosrulers"): return &genericInformer{resource: resource.GroupResource(), informer: f.Monitoring().V1().ThanosRulers().Informer()}, nil - // Group=monitoring.coreos.com, Version=v1alpha1 + // Group=monitoring.rhobs, Version=v1alpha1 case v1alpha1.SchemeGroupVersion.WithResource("alertmanagerconfigs"): return &genericInformer{resource: resource.GroupResource(), informer: f.Monitoring().V1alpha1().AlertmanagerConfigs().Informer()}, nil case v1alpha1.SchemeGroupVersion.WithResource("prometheusagents"): @@ -76,7 +76,7 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource case v1alpha1.SchemeGroupVersion.WithResource("scrapeconfigs"): return &genericInformer{resource: resource.GroupResource(), informer: f.Monitoring().V1alpha1().ScrapeConfigs().Informer()}, nil - // Group=monitoring.coreos.com, Version=v1beta1 + // Group=monitoring.rhobs, Version=v1beta1 case v1beta1.SchemeGroupVersion.WithResource("alertmanagerconfigs"): return &genericInformer{resource: resource.GroupResource(), informer: f.Monitoring().V1beta1().AlertmanagerConfigs().Informer()}, nil diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 8b7e955df..bf51b7ccf 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -19,7 +19,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/client/informers/externalversions/monitoring/interface.go b/pkg/client/informers/externalversions/monitoring/interface.go index bbed304ca..ca4bee50d 100644 --- a/pkg/client/informers/externalversions/monitoring/interface.go +++ b/pkg/client/informers/externalversions/monitoring/interface.go @@ -17,10 +17,10 @@ package monitoring import ( - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/monitoring/v1" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/monitoring/v1alpha1" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/monitoring/v1beta1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/monitoring/v1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/monitoring/v1alpha1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/monitoring/v1beta1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/monitoring/v1/alertmanager.go b/pkg/client/informers/externalversions/monitoring/v1/alertmanager.go index e1776b65b..3011edafe 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/alertmanager.go +++ b/pkg/client/informers/externalversions/monitoring/v1/alertmanager.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/interface.go b/pkg/client/informers/externalversions/monitoring/v1/interface.go index e990b366f..7f11713ba 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/interface.go +++ b/pkg/client/informers/externalversions/monitoring/v1/interface.go @@ -17,7 +17,7 @@ package v1 import ( - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/monitoring/v1/podmonitor.go b/pkg/client/informers/externalversions/monitoring/v1/podmonitor.go index 5c2e68a26..c6cb7f691 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/podmonitor.go +++ b/pkg/client/informers/externalversions/monitoring/v1/podmonitor.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/probe.go b/pkg/client/informers/externalversions/monitoring/v1/probe.go index 031607b7e..3980bf5e6 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/probe.go +++ b/pkg/client/informers/externalversions/monitoring/v1/probe.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/prometheus.go b/pkg/client/informers/externalversions/monitoring/v1/prometheus.go index 54b410401..10e015b95 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/prometheus.go +++ b/pkg/client/informers/externalversions/monitoring/v1/prometheus.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/prometheusrule.go b/pkg/client/informers/externalversions/monitoring/v1/prometheusrule.go index 1a533ae9b..d1f03b7dc 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/prometheusrule.go +++ b/pkg/client/informers/externalversions/monitoring/v1/prometheusrule.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/servicemonitor.go b/pkg/client/informers/externalversions/monitoring/v1/servicemonitor.go index 67d3e947f..5a906755b 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/servicemonitor.go +++ b/pkg/client/informers/externalversions/monitoring/v1/servicemonitor.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1/thanosruler.go b/pkg/client/informers/externalversions/monitoring/v1/thanosruler.go index 6b39260ff..17de53685 100644 --- a/pkg/client/informers/externalversions/monitoring/v1/thanosruler.go +++ b/pkg/client/informers/externalversions/monitoring/v1/thanosruler.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1alpha1/alertmanagerconfig.go b/pkg/client/informers/externalversions/monitoring/v1alpha1/alertmanagerconfig.go index f9ac3565a..3b991fef1 100644 --- a/pkg/client/informers/externalversions/monitoring/v1alpha1/alertmanagerconfig.go +++ b/pkg/client/informers/externalversions/monitoring/v1alpha1/alertmanagerconfig.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1alpha1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1alpha1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1alpha1/interface.go b/pkg/client/informers/externalversions/monitoring/v1alpha1/interface.go index 7dd75804d..cbd896069 100644 --- a/pkg/client/informers/externalversions/monitoring/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/monitoring/v1alpha1/interface.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/monitoring/v1alpha1/prometheusagent.go b/pkg/client/informers/externalversions/monitoring/v1alpha1/prometheusagent.go index 25368e098..49ce59f04 100644 --- a/pkg/client/informers/externalversions/monitoring/v1alpha1/prometheusagent.go +++ b/pkg/client/informers/externalversions/monitoring/v1alpha1/prometheusagent.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1alpha1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1alpha1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1alpha1/scrapeconfig.go b/pkg/client/informers/externalversions/monitoring/v1alpha1/scrapeconfig.go index 4d3de319d..74c53dd20 100644 --- a/pkg/client/informers/externalversions/monitoring/v1alpha1/scrapeconfig.go +++ b/pkg/client/informers/externalversions/monitoring/v1alpha1/scrapeconfig.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1alpha1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1alpha1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1beta1/alertmanagerconfig.go b/pkg/client/informers/externalversions/monitoring/v1beta1/alertmanagerconfig.go index f8c9b519a..934161030 100644 --- a/pkg/client/informers/externalversions/monitoring/v1beta1/alertmanagerconfig.go +++ b/pkg/client/informers/externalversions/monitoring/v1beta1/alertmanagerconfig.go @@ -20,10 +20,10 @@ import ( "context" time "time" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/listers/monitoring/v1beta1" - versioned "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/listers/monitoring/v1beta1" + versioned "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/monitoring/v1beta1/interface.go b/pkg/client/informers/externalversions/monitoring/v1beta1/interface.go index fa4d4e5c2..461ee6f51 100644 --- a/pkg/client/informers/externalversions/monitoring/v1beta1/interface.go +++ b/pkg/client/informers/externalversions/monitoring/v1beta1/interface.go @@ -17,7 +17,7 @@ package v1beta1 import ( - internalinterfaces "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/listers/monitoring/v1/alertmanager.go b/pkg/client/listers/monitoring/v1/alertmanager.go index 6b46f3114..138e28900 100644 --- a/pkg/client/listers/monitoring/v1/alertmanager.go +++ b/pkg/client/listers/monitoring/v1/alertmanager.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/podmonitor.go b/pkg/client/listers/monitoring/v1/podmonitor.go index 101e86f6c..96314070a 100644 --- a/pkg/client/listers/monitoring/v1/podmonitor.go +++ b/pkg/client/listers/monitoring/v1/podmonitor.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/probe.go b/pkg/client/listers/monitoring/v1/probe.go index 44f8ccbba..5a3c61706 100644 --- a/pkg/client/listers/monitoring/v1/probe.go +++ b/pkg/client/listers/monitoring/v1/probe.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/prometheus.go b/pkg/client/listers/monitoring/v1/prometheus.go index 434568340..20fff55d9 100644 --- a/pkg/client/listers/monitoring/v1/prometheus.go +++ b/pkg/client/listers/monitoring/v1/prometheus.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/prometheusrule.go b/pkg/client/listers/monitoring/v1/prometheusrule.go index 403565d34..8d32eaa3e 100644 --- a/pkg/client/listers/monitoring/v1/prometheusrule.go +++ b/pkg/client/listers/monitoring/v1/prometheusrule.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/servicemonitor.go b/pkg/client/listers/monitoring/v1/servicemonitor.go index 3f97dcc4d..e7121bdb5 100644 --- a/pkg/client/listers/monitoring/v1/servicemonitor.go +++ b/pkg/client/listers/monitoring/v1/servicemonitor.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1/thanosruler.go b/pkg/client/listers/monitoring/v1/thanosruler.go index 1cd3f31dd..5b26207e1 100644 --- a/pkg/client/listers/monitoring/v1/thanosruler.go +++ b/pkg/client/listers/monitoring/v1/thanosruler.go @@ -17,7 +17,7 @@ package v1 import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1alpha1/alertmanagerconfig.go b/pkg/client/listers/monitoring/v1alpha1/alertmanagerconfig.go index bd1ee147a..7f7045133 100644 --- a/pkg/client/listers/monitoring/v1alpha1/alertmanagerconfig.go +++ b/pkg/client/listers/monitoring/v1alpha1/alertmanagerconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1alpha1/prometheusagent.go b/pkg/client/listers/monitoring/v1alpha1/prometheusagent.go index e0ae30d62..5a719cf1c 100644 --- a/pkg/client/listers/monitoring/v1alpha1/prometheusagent.go +++ b/pkg/client/listers/monitoring/v1alpha1/prometheusagent.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1alpha1/scrapeconfig.go b/pkg/client/listers/monitoring/v1alpha1/scrapeconfig.go index fe3ad861e..caad672ee 100644 --- a/pkg/client/listers/monitoring/v1alpha1/scrapeconfig.go +++ b/pkg/client/listers/monitoring/v1alpha1/scrapeconfig.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/monitoring/v1beta1/alertmanagerconfig.go b/pkg/client/listers/monitoring/v1beta1/alertmanagerconfig.go index b446010a5..0abcbaa32 100644 --- a/pkg/client/listers/monitoring/v1beta1/alertmanagerconfig.go +++ b/pkg/client/listers/monitoring/v1beta1/alertmanagerconfig.go @@ -17,7 +17,7 @@ package v1beta1 import ( - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/versioned/clientset.go b/pkg/client/versioned/clientset.go index 2a3067166..7a07c7c1e 100644 --- a/pkg/client/versioned/clientset.go +++ b/pkg/client/versioned/clientset.go @@ -20,9 +20,9 @@ import ( "fmt" "net/http" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/client/versioned/fake/clientset_generated.go b/pkg/client/versioned/fake/clientset_generated.go index 68c9c8542..efa52b537 100644 --- a/pkg/client/versioned/fake/clientset_generated.go +++ b/pkg/client/versioned/fake/clientset_generated.go @@ -17,13 +17,13 @@ package fake import ( - clientset "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" - fakemonitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1/fake" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" - fakemonitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1/fake" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" - fakemonitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1/fake" + clientset "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1" + fakemonitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1/fake" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" + fakemonitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1/fake" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" + fakemonitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/client/versioned/fake/register.go b/pkg/client/versioned/fake/register.go index b8f442766..046b47f03 100644 --- a/pkg/client/versioned/fake/register.go +++ b/pkg/client/versioned/fake/register.go @@ -17,9 +17,9 @@ package fake import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/versioned/scheme/register.go b/pkg/client/versioned/scheme/register.go index 6952498c2..cbe851664 100644 --- a/pkg/client/versioned/scheme/register.go +++ b/pkg/client/versioned/scheme/register.go @@ -17,9 +17,9 @@ package scheme import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/versioned/typed/monitoring/v1/alertmanager.go b/pkg/client/versioned/typed/monitoring/v1/alertmanager.go index 919b188f2..fdb2f1a3e 100644 --- a/pkg/client/versioned/typed/monitoring/v1/alertmanager.go +++ b/pkg/client/versioned/typed/monitoring/v1/alertmanager.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_alertmanager.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_alertmanager.go index 241da68ce..70e455f1e 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_alertmanager.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_alertmanager.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_monitoring_client.go index 84234d9d8..03986385e 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_monitoring_client.go @@ -17,7 +17,7 @@ package fake import ( - v1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_podmonitor.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_podmonitor.go index edd7a2b71..d92900a81 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_podmonitor.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_podmonitor.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_probe.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_probe.go index 449e81ce1..1cea5f498 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_probe.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_probe.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheus.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheus.go index 5300d5731..fde695fdd 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheus.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheus.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" autoscalingv1 "k8s.io/api/autoscaling/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheusrule.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheusrule.go index 15ba1969a..5592fff07 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheusrule.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_prometheusrule.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_servicemonitor.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_servicemonitor.go index 9bfd47677..0c5015316 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_servicemonitor.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_servicemonitor.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/fake/fake_thanosruler.go b/pkg/client/versioned/typed/monitoring/v1/fake/fake_thanosruler.go index aba5539cb..96707af96 100644 --- a/pkg/client/versioned/typed/monitoring/v1/fake/fake_thanosruler.go +++ b/pkg/client/versioned/typed/monitoring/v1/fake/fake_thanosruler.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1/monitoring_client.go index a6a87a6ed..758e198fb 100644 --- a/pkg/client/versioned/typed/monitoring/v1/monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1/monitoring_client.go @@ -19,8 +19,8 @@ package v1 import ( "net/http" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" rest "k8s.io/client-go/rest" ) @@ -35,7 +35,7 @@ type MonitoringV1Interface interface { ThanosRulersGetter } -// MonitoringV1Client is used to interact with features provided by the monitoring.coreos.com group. +// MonitoringV1Client is used to interact with features provided by the monitoring.rhobs group. type MonitoringV1Client struct { restClient rest.Interface } diff --git a/pkg/client/versioned/typed/monitoring/v1/podmonitor.go b/pkg/client/versioned/typed/monitoring/v1/podmonitor.go index 34a3fdc11..42a366cd0 100644 --- a/pkg/client/versioned/typed/monitoring/v1/podmonitor.go +++ b/pkg/client/versioned/typed/monitoring/v1/podmonitor.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1/probe.go b/pkg/client/versioned/typed/monitoring/v1/probe.go index 96e0e434d..71e703ecf 100644 --- a/pkg/client/versioned/typed/monitoring/v1/probe.go +++ b/pkg/client/versioned/typed/monitoring/v1/probe.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1/prometheus.go b/pkg/client/versioned/typed/monitoring/v1/prometheus.go index c1bdeb6bf..a7b927992 100644 --- a/pkg/client/versioned/typed/monitoring/v1/prometheus.go +++ b/pkg/client/versioned/typed/monitoring/v1/prometheus.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" autoscalingv1 "k8s.io/api/autoscaling/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1/prometheusrule.go b/pkg/client/versioned/typed/monitoring/v1/prometheusrule.go index 69fbeffc5..1b5ad4163 100644 --- a/pkg/client/versioned/typed/monitoring/v1/prometheusrule.go +++ b/pkg/client/versioned/typed/monitoring/v1/prometheusrule.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1/servicemonitor.go b/pkg/client/versioned/typed/monitoring/v1/servicemonitor.go index 02f5e5e4d..3735dedf5 100644 --- a/pkg/client/versioned/typed/monitoring/v1/servicemonitor.go +++ b/pkg/client/versioned/typed/monitoring/v1/servicemonitor.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1/thanosruler.go b/pkg/client/versioned/typed/monitoring/v1/thanosruler.go index af077f470..aece406dd 100644 --- a/pkg/client/versioned/typed/monitoring/v1/thanosruler.go +++ b/pkg/client/versioned/typed/monitoring/v1/thanosruler.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/alertmanagerconfig.go b/pkg/client/versioned/typed/monitoring/v1alpha1/alertmanagerconfig.go index f84155940..485c85ad7 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/alertmanagerconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/alertmanagerconfig.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_alertmanagerconfig.go b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_alertmanagerconfig.go index 8b6f742a7..10b3373e9 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_alertmanagerconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_alertmanagerconfig.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_monitoring_client.go index 22abe542a..ae05225fb 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_monitoring_client.go @@ -17,7 +17,7 @@ package fake import ( - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_prometheusagent.go b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_prometheusagent.go index 5fe6917fe..b0141ca84 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_prometheusagent.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_prometheusagent.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" autoscalingv1 "k8s.io/api/autoscaling/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_scrapeconfig.go b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_scrapeconfig.go index 3827a90d1..0db5465d6 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_scrapeconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/fake/fake_scrapeconfig.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1alpha1/monitoring_client.go index 930729b44..d31ff26cc 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/monitoring_client.go @@ -19,8 +19,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" rest "k8s.io/client-go/rest" ) @@ -31,7 +31,7 @@ type MonitoringV1alpha1Interface interface { ScrapeConfigsGetter } -// MonitoringV1alpha1Client is used to interact with features provided by the monitoring.coreos.com group. +// MonitoringV1alpha1Client is used to interact with features provided by the monitoring.rhobs group. type MonitoringV1alpha1Client struct { restClient rest.Interface } diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/prometheusagent.go b/pkg/client/versioned/typed/monitoring/v1alpha1/prometheusagent.go index 16c2c9343..547bf0ac4 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/prometheusagent.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/prometheusagent.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" autoscalingv1 "k8s.io/api/autoscaling/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1alpha1/scrapeconfig.go b/pkg/client/versioned/typed/monitoring/v1alpha1/scrapeconfig.go index 64e5d4320..070e132de 100644 --- a/pkg/client/versioned/typed/monitoring/v1alpha1/scrapeconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1alpha1/scrapeconfig.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1beta1/alertmanagerconfig.go b/pkg/client/versioned/typed/monitoring/v1beta1/alertmanagerconfig.go index c807dfb3e..29cfb4f3f 100644 --- a/pkg/client/versioned/typed/monitoring/v1beta1/alertmanagerconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1beta1/alertmanagerconfig.go @@ -22,9 +22,9 @@ import ( "fmt" "time" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" - scheme "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" + scheme "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_alertmanagerconfig.go b/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_alertmanagerconfig.go index f7778366b..1e1e5919c 100644 --- a/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_alertmanagerconfig.go +++ b/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_alertmanagerconfig.go @@ -21,8 +21,8 @@ import ( json "encoding/json" "fmt" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" types "k8s.io/apimachinery/pkg/types" diff --git a/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_monitoring_client.go index 3f58eb3e3..06b9435db 100644 --- a/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1beta1/fake/fake_monitoring_client.go @@ -17,7 +17,7 @@ package fake import ( - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/versioned/typed/monitoring/v1beta1/monitoring_client.go b/pkg/client/versioned/typed/monitoring/v1beta1/monitoring_client.go index 3d1e1d182..47b25672e 100644 --- a/pkg/client/versioned/typed/monitoring/v1beta1/monitoring_client.go +++ b/pkg/client/versioned/typed/monitoring/v1beta1/monitoring_client.go @@ -19,8 +19,8 @@ package v1beta1 import ( "net/http" - v1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + v1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" rest "k8s.io/client-go/rest" ) @@ -29,7 +29,7 @@ type MonitoringV1beta1Interface interface { AlertmanagerConfigsGetter } -// MonitoringV1beta1Client is used to interact with features provided by the monitoring.coreos.com group. +// MonitoringV1beta1Client is used to interact with features provided by the monitoring.rhobs group. type MonitoringV1beta1Client struct { restClient rest.Interface } diff --git a/pkg/informers/informers.go b/pkg/informers/informers.go index a44a08dd7..9436336eb 100644 --- a/pkg/informers/informers.go +++ b/pkg/informers/informers.go @@ -26,7 +26,7 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/tools/cache" - "github.com/prometheus-operator/prometheus-operator/pkg/listwatch" + "github.com/rhobs/obo-prometheus-operator/pkg/listwatch" ) // InformLister is the interface that both exposes a shared index informer diff --git a/pkg/informers/informers_test.go b/pkg/informers/informers_test.go index 2e78f758f..160647d9b 100644 --- a/pkg/informers/informers_test.go +++ b/pkg/informers/informers_test.go @@ -36,7 +36,7 @@ import ( kubetesting "k8s.io/client-go/testing" "k8s.io/client-go/tools/cache" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) type mockFactory struct { diff --git a/pkg/informers/monitoring.go b/pkg/informers/monitoring.go index 33bc399fb..a100effa9 100644 --- a/pkg/informers/monitoring.go +++ b/pkg/informers/monitoring.go @@ -21,8 +21,8 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/sets" - informers "github.com/prometheus-operator/prometheus-operator/pkg/client/informers/externalversions" - monitoring "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" + informers "github.com/rhobs/obo-prometheus-operator/pkg/client/informers/externalversions" + monitoring "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" ) // NewMonitoringInformerFactories creates factories for monitoring resources diff --git a/pkg/k8sutil/k8sutil.go b/pkg/k8sutil/k8sutil.go index 1312c5d62..9fc0dd33c 100644 --- a/pkg/k8sutil/k8sutil.go +++ b/pkg/k8sutil/k8sutil.go @@ -44,9 +44,9 @@ import ( "k8s.io/client-go/tools/clientcmd" "k8s.io/client-go/util/retry" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" ) // KubeConfigEnv (optionally) specify the location of kubeconfig file. diff --git a/pkg/kubelet/controller.go b/pkg/kubelet/controller.go index 98058c661..acc28d1f6 100644 --- a/pkg/kubelet/controller.go +++ b/pkg/kubelet/controller.go @@ -28,8 +28,8 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const resyncPeriod = 3 * time.Minute diff --git a/pkg/listwatch/listwatch.go b/pkg/listwatch/listwatch.go index 3ebb3f19a..cfcc03de3 100644 --- a/pkg/listwatch/listwatch.go +++ b/pkg/listwatch/listwatch.go @@ -37,7 +37,7 @@ import ( corev1 "k8s.io/client-go/kubernetes/typed/core/v1" "k8s.io/client-go/tools/cache" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) const ( diff --git a/pkg/namespacelabeler/labeler.go b/pkg/namespacelabeler/labeler.go index 85b0417fb..7b465ce82 100644 --- a/pkg/namespacelabeler/labeler.go +++ b/pkg/namespacelabeler/labeler.go @@ -24,7 +24,7 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // Labeler enables to enforce adding namespace labels to PrometheusRules and to metrics used in them. diff --git a/pkg/namespacelabeler/labeler_test.go b/pkg/namespacelabeler/labeler_test.go index d7f4a97aa..8420f8efe 100644 --- a/pkg/namespacelabeler/labeler_test.go +++ b/pkg/namespacelabeler/labeler_test.go @@ -21,8 +21,8 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestEnforceNamespaceLabelOnPrometheusRules(t *testing.T) { @@ -149,7 +149,7 @@ func TestEnforceNamespaceLabelOnPrometheusRules(t *testing.T) { ExcludedFromEnforcement: []monitoringv1.ObjectReference{ { Namespace: "foo", - Group: "monitoring.coreos.com", + Group: "monitoring.rhobs", Resource: monitoringv1.PrometheusRuleName, }, }, diff --git a/pkg/operator/argument.go b/pkg/operator/argument.go index df60594e7..7404df887 100644 --- a/pkg/operator/argument.go +++ b/pkg/operator/argument.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func intersection(a, b []string) (i []string) { diff --git a/pkg/operator/argument_test.go b/pkg/operator/argument_test.go index 644984e04..1cde2c71a 100644 --- a/pkg/operator/argument_test.go +++ b/pkg/operator/argument_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestBuildArgs(t *testing.T) { diff --git a/pkg/operator/conditions.go b/pkg/operator/conditions.go index b9ad43c55..c9b3b56f4 100644 --- a/pkg/operator/conditions.go +++ b/pkg/operator/conditions.go @@ -15,7 +15,7 @@ package operator import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // FindStatusCondition returns the condition matching the given type. diff --git a/pkg/operator/config_reloader_test.go b/pkg/operator/config_reloader_test.go index c4c7a7b13..663e63d9f 100644 --- a/pkg/operator/config_reloader_test.go +++ b/pkg/operator/config_reloader_test.go @@ -30,7 +30,7 @@ var reloaderConfig = ContainerConfig{ CPULimits: Quantity{q: resource.MustParse("100m")}, MemoryRequests: Quantity{q: resource.MustParse("50Mi")}, MemoryLimits: Quantity{q: resource.MustParse("50Mi")}, - Image: "quay.io/prometheus-operator/prometheus-config-reloader:latest", + Image: "quay.io/rhobs/obo-prometheus-config-reloader:latest", } func TestCreateConfigReloaderEnableProbes(t *testing.T) { diff --git a/pkg/operator/config_reloader_test_lib.go b/pkg/operator/config_reloader_test_lib.go index 0a54001d2..c076f4b8b 100644 --- a/pkg/operator/config_reloader_test_lib.go +++ b/pkg/operator/config_reloader_test_lib.go @@ -31,7 +31,7 @@ var ( CPULimits: Quantity{q: resource.MustParse("100m")}, MemoryRequests: Quantity{q: resource.MustParse("50Mi")}, MemoryLimits: Quantity{q: resource.MustParse("50Mi")}, - Image: "quay.io/prometheus-operator/prometheus-config-reloader:latest", + Image: "quay.io/rhobs/obo-prometheus-config-reloader:latest", }, } ) diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index 0d0857405..14b4e9301 100644 --- a/pkg/operator/defaults.go +++ b/pkg/operator/defaults.go @@ -43,7 +43,7 @@ var ( // DefaultPrometheusConfigReloaderImage is an image that will be used as a sidecar to provide dynamic prometheus // configuration reloading. - DefaultPrometheusConfigReloaderImage = "quay.io/prometheus-operator/prometheus-config-reloader:v" + version.Version + DefaultPrometheusConfigReloaderImage = "quay.io/rhobs/obo-prometheus-config-reloader:v" + version.Version // PrometheusCompatibilityMatrix is a list of supported prometheus versions. // prometheus-operator end-to-end tests verify that the operator can deploy from LTS n-1 to the latest stable. diff --git a/pkg/operator/factory_test.go b/pkg/operator/factory_test.go index 3d3de0c7e..d49a068e6 100644 --- a/pkg/operator/factory_test.go +++ b/pkg/operator/factory_test.go @@ -55,7 +55,7 @@ func TestUpdateObject(t *testing.T) { &fakeOwner{ metav1.TypeMeta{ Kind: "Prometheus", - APIVersion: "monitoring.coreos.com/v1", + APIVersion: "monitoring.rhobs/v1", }, metav1.ObjectMeta{ Name: "bar", @@ -98,7 +98,7 @@ func TestUpdateObject(t *testing.T) { UID: "123", }, { - APIVersion: "monitoring.coreos.com/v1", + APIVersion: "monitoring.rhobs/v1", Kind: "Prometheus", Name: "bar", UID: "456", diff --git a/pkg/operator/operator.go b/pkg/operator/operator.go index 9e94e26c3..a24b809ff 100644 --- a/pkg/operator/operator.go +++ b/pkg/operator/operator.go @@ -33,8 +33,8 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/record" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/scheme" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/scheme" ) const ( @@ -430,7 +430,7 @@ func SanitizeSTS(sts *appsv1.StatefulSet) { // Under normal circumstances, the cache sync should be fast. If it takes more // than 1 minute, it means that something is stuck and the message will // indicate to the admin which informer is the culprit. -// See https://github.com/prometheus-operator/prometheus-operator/issues/3347. +// See https://github.com/rhobs/obo-prometheus-operator/issues/3347. func WaitForNamedCacheSync(ctx context.Context, controllerName string, logger log.Logger, inf cache.SharedIndexInformer) bool { ctx, cancel := context.WithTimeout(ctx, 10*time.Minute) defer cancel() diff --git a/pkg/operator/rules.go b/pkg/operator/rules.go index 012d8a113..3663d77e1 100644 --- a/pkg/operator/rules.go +++ b/pkg/operator/rules.go @@ -29,10 +29,10 @@ import ( "k8s.io/client-go/tools/record" "sigs.k8s.io/yaml" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - namespacelabeler "github.com/prometheus-operator/prometheus-operator/pkg/namespacelabeler" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + namespacelabeler "github.com/rhobs/obo-prometheus-operator/pkg/namespacelabeler" ) type RuleConfigurationFormat int diff --git a/pkg/operator/rules_test.go b/pkg/operator/rules_test.go index d91627d39..c7b311758 100644 --- a/pkg/operator/rules_test.go +++ b/pkg/operator/rules_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/util/intstr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestMakeRulesConfigMaps(t *testing.T) { diff --git a/pkg/operator/sharded_secret.go b/pkg/operator/sharded_secret.go index 5dcab3f37..b5d52c08e 100644 --- a/pkg/operator/sharded_secret.go +++ b/pkg/operator/sharded_secret.go @@ -25,7 +25,7 @@ import ( "k8s.io/client-go/kubernetes" corev1 "k8s.io/client-go/kubernetes/typed/core/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) // MaxSecretDataSizeBytes is the maximum data size that a single secret shard diff --git a/pkg/operator/statefulset_reporter.go b/pkg/operator/statefulset_reporter.go index 19db7b83b..d0eb0ed3d 100644 --- a/pkg/operator/statefulset_reporter.go +++ b/pkg/operator/statefulset_reporter.go @@ -26,7 +26,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) // Pod is an alias for the Kubernetes v1.Pod type. diff --git a/pkg/operator/status.go b/pkg/operator/status.go index 34d2ac6da..8cb8a9ebf 100644 --- a/pkg/operator/status.go +++ b/pkg/operator/status.go @@ -20,7 +20,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) type StatusReconciler interface { diff --git a/pkg/operator/storageclass.go b/pkg/operator/storageclass.go index a69411e75..46528e5e2 100644 --- a/pkg/operator/storageclass.go +++ b/pkg/operator/storageclass.go @@ -23,7 +23,7 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func CheckStorageClass(ctx context.Context, canReadStorageClass bool, kclient kubernetes.Interface, storage *monitoringv1.StorageSpec) error { diff --git a/pkg/operator/types.go b/pkg/operator/types.go index bbdaae934..7399eaa11 100644 --- a/pkg/operator/types.go +++ b/pkg/operator/types.go @@ -18,7 +18,7 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func MakeVolumeClaimTemplate(e monitoringv1.EmbeddedPersistentVolumeClaim) *v1.PersistentVolumeClaim { diff --git a/pkg/operator/types_test.go b/pkg/operator/types_test.go index 57486454a..a4d9ccda9 100644 --- a/pkg/operator/types_test.go +++ b/pkg/operator/types_test.go @@ -20,7 +20,7 @@ import ( v1 "k8s.io/api/core/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestMakeHostAliases(t *testing.T) { diff --git a/pkg/prometheus/agent/common.go b/pkg/prometheus/agent/common.go index b91326132..33cf55605 100644 --- a/pkg/prometheus/agent/common.go +++ b/pkg/prometheus/agent/common.go @@ -15,8 +15,8 @@ package prometheusagent import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) func buildAgentArgs( diff --git a/pkg/prometheus/agent/operator.go b/pkg/prometheus/agent/operator.go index 543a79fc3..25ff9dfa4 100644 --- a/pkg/prometheus/agent/operator.go +++ b/pkg/prometheus/agent/operator.go @@ -39,16 +39,16 @@ import ( "k8s.io/client-go/tools/record" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/listwatch" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/listwatch" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( @@ -323,7 +323,7 @@ func New(ctx context.Context, restConfig *rest.Config, c operator.Config, logger } level.Info(o.logger).Log("msg", "Kubernetes API capabilities", "endpointslices", endpointSliceSupported) // The operator doesn't yet support the endpointslices API. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3862 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3862 // for details. o.endpointSliceSupported = false @@ -809,7 +809,7 @@ func createSSetInputHash(p monitoringv1alpha1.PrometheusAgent, c prompkg.Config, // The controller should ignore any changes to RevisionHistoryLimit field because // it may be modified by external actors. - // See https://github.com/prometheus-operator/prometheus-operator/issues/5712 + // See https://github.com/rhobs/obo-prometheus-operator/issues/5712 ssSpec.RevisionHistoryLimit = nil hash, err := hashstructure.Hash(struct { diff --git a/pkg/prometheus/agent/statefulset.go b/pkg/prometheus/agent/statefulset.go index 5c742526b..571197f57 100644 --- a/pkg/prometheus/agent/statefulset.go +++ b/pkg/prometheus/agent/statefulset.go @@ -25,11 +25,11 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) const ( diff --git a/pkg/prometheus/agent/statefulset_test.go b/pkg/prometheus/agent/statefulset_test.go index 8e912801e..213df16c0 100644 --- a/pkg/prometheus/agent/statefulset_test.go +++ b/pkg/prometheus/agent/statefulset_test.go @@ -24,10 +24,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) func TestListenTLS(t *testing.T) { diff --git a/pkg/prometheus/agent/test_utils.go b/pkg/prometheus/agent/test_utils.go index 648b421f3..99290e21f 100644 --- a/pkg/prometheus/agent/test_utils.go +++ b/pkg/prometheus/agent/test_utils.go @@ -22,10 +22,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) var ( diff --git a/pkg/prometheus/applyconfiguration.go b/pkg/prometheus/applyconfiguration.go index 7bbebc13a..0d431216f 100644 --- a/pkg/prometheus/applyconfiguration.go +++ b/pkg/prometheus/applyconfiguration.go @@ -15,10 +15,10 @@ package prometheus import ( - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1ac "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - monitoringv1alpha1ac "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1ac "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1alpha1ac "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1alpha1" ) func ApplyConfigurationFromPrometheusAgent(p *monitoringv1alpha1.PrometheusAgent, updateScaleSubresource bool) *monitoringv1alpha1ac.PrometheusAgentApplyConfiguration { diff --git a/pkg/prometheus/collector.go b/pkg/prometheus/collector.go index 92706dea3..e4f9cf09f 100644 --- a/pkg/prometheus/collector.go +++ b/pkg/prometheus/collector.go @@ -18,7 +18,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "k8s.io/client-go/tools/cache" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) var ( diff --git a/pkg/prometheus/common.go b/pkg/prometheus/common.go index caa2ed977..39daef29a 100644 --- a/pkg/prometheus/common.go +++ b/pkg/prometheus/common.go @@ -28,11 +28,11 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( diff --git a/pkg/prometheus/common_test.go b/pkg/prometheus/common_test.go index d7a776cbb..80e52831e 100644 --- a/pkg/prometheus/common_test.go +++ b/pkg/prometheus/common_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestStartupProbeTimeoutSeconds(t *testing.T) { diff --git a/pkg/prometheus/operator.go b/pkg/prometheus/operator.go index 82feb7990..9d4a4027f 100644 --- a/pkg/prometheus/operator.go +++ b/pkg/prometheus/operator.go @@ -29,9 +29,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) // Config defines the operator's parameters for the Prometheus controllers. diff --git a/pkg/prometheus/operator_test.go b/pkg/prometheus/operator_test.go index 8ea65bdc9..fb641c5dc 100644 --- a/pkg/prometheus/operator_test.go +++ b/pkg/prometheus/operator_test.go @@ -20,8 +20,8 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func TestKeyToStatefulSetKey(t *testing.T) { diff --git a/pkg/prometheus/promcfg.go b/pkg/prometheus/promcfg.go index 1906f6397..8c7f8b80c 100644 --- a/pkg/prometheus/promcfg.go +++ b/pkg/prometheus/promcfg.go @@ -32,11 +32,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - namespacelabeler "github.com/prometheus-operator/prometheus-operator/pkg/namespacelabeler" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + namespacelabeler "github.com/rhobs/obo-prometheus-operator/pkg/namespacelabeler" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const ( diff --git a/pkg/prometheus/promcfg_test.go b/pkg/prometheus/promcfg_test.go index c04e4f5e4..68d61247b 100644 --- a/pkg/prometheus/promcfg_test.go +++ b/pkg/prometheus/promcfg_test.go @@ -30,11 +30,11 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) func defaultPrometheus() *monitoringv1.Prometheus { diff --git a/pkg/prometheus/resource_selector.go b/pkg/prometheus/resource_selector.go index 024c6a5d3..1b1960cf5 100644 --- a/pkg/prometheus/resource_selector.go +++ b/pkg/prometheus/resource_selector.go @@ -36,11 +36,11 @@ import ( "k8s.io/client-go/tools/record" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) type ResourceSelector struct { diff --git a/pkg/prometheus/resource_selector_test.go b/pkg/prometheus/resource_selector_test.go index 80c02511c..d7586ddc2 100644 --- a/pkg/prometheus/resource_selector_test.go +++ b/pkg/prometheus/resource_selector_test.go @@ -32,10 +32,10 @@ import ( "k8s.io/client-go/tools/record" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) func newLogger() log.Logger { diff --git a/pkg/prometheus/server/operator.go b/pkg/prometheus/server/operator.go index 635700fd4..77212cd10 100644 --- a/pkg/prometheus/server/operator.go +++ b/pkg/prometheus/server/operator.go @@ -40,16 +40,16 @@ import ( "k8s.io/client-go/tools/record" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/listwatch" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/listwatch" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( @@ -360,7 +360,7 @@ func New(ctx context.Context, restConfig *rest.Config, c operator.Config, logger } level.Info(o.logger).Log("msg", "Kubernetes API capabilities", "endpointslices", endpointSliceSupported) // The operator doesn't yet support the endpointslices API. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3862 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3862 // for details. o.endpointSliceSupported = false @@ -1062,7 +1062,7 @@ func createSSetInputHash(p monitoringv1.Prometheus, c prompkg.Config, ruleConfig // The controller should ignore any changes to RevisionHistoryLimit field because // it may be modified by external actors. - // See https://github.com/prometheus-operator/prometheus-operator/issues/5712 + // See https://github.com/rhobs/obo-prometheus-operator/issues/5712 ssSpec.RevisionHistoryLimit = nil hash, err := hashstructure.Hash(struct { diff --git a/pkg/prometheus/server/operator_test.go b/pkg/prometheus/server/operator_test.go index 2c0d73481..df51909cd 100644 --- a/pkg/prometheus/server/operator_test.go +++ b/pkg/prometheus/server/operator_test.go @@ -23,9 +23,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) func TestListOptions(t *testing.T) { diff --git a/pkg/prometheus/server/rules.go b/pkg/prometheus/server/rules.go index c9800777d..8a1ac0d4c 100644 --- a/pkg/prometheus/server/rules.go +++ b/pkg/prometheus/server/rules.go @@ -26,11 +26,11 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - namespacelabeler "github.com/prometheus-operator/prometheus-operator/pkg/namespacelabeler" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + namespacelabeler "github.com/rhobs/obo-prometheus-operator/pkg/namespacelabeler" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) // The maximum `Data` size of a ConfigMap seems to differ between diff --git a/pkg/prometheus/server/rules_test.go b/pkg/prometheus/server/rules_test.go index edabef100..b4476192c 100644 --- a/pkg/prometheus/server/rules_test.go +++ b/pkg/prometheus/server/rules_test.go @@ -21,7 +21,7 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func TestMakeRulesConfigMaps(t *testing.T) { diff --git a/pkg/prometheus/server/statefulset.go b/pkg/prometheus/server/statefulset.go index d6ebef65f..be0aed25b 100644 --- a/pkg/prometheus/server/statefulset.go +++ b/pkg/prometheus/server/statefulset.go @@ -26,10 +26,10 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) const ( diff --git a/pkg/prometheus/server/statefulset_test.go b/pkg/prometheus/server/statefulset_test.go index 863b37a23..17d1c3d83 100644 --- a/pkg/prometheus/server/statefulset_test.go +++ b/pkg/prometheus/server/statefulset_test.go @@ -33,9 +33,9 @@ import ( "k8s.io/client-go/kubernetes/fake" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prompkg "github.com/prometheus-operator/prometheus-operator/pkg/prometheus" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prompkg "github.com/rhobs/obo-prometheus-operator/pkg/prometheus" ) var defaultTestConfig = &prompkg.Config{ diff --git a/pkg/prometheus/store.go b/pkg/prometheus/store.go index 1f35c49ce..24c1b619a 100644 --- a/pkg/prometheus/store.go +++ b/pkg/prometheus/store.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - monv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" + monv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" ) func AddRemoteWritesToStore(ctx context.Context, store *assets.StoreBuilder, namespace string, remotes []monv1.RemoteWriteSpec) error { diff --git a/pkg/server/server.go b/pkg/server/server.go index edf61f6e7..8f8470b33 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -31,7 +31,7 @@ import ( "k8s.io/apiserver/pkg/server/dynamiccertificates" kflag "k8s.io/component-base/cli/flag" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const ( diff --git a/pkg/server/server_test.go b/pkg/server/server_test.go index f7b73d904..31627d659 100644 --- a/pkg/server/server_test.go +++ b/pkg/server/server_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) func TestConvertTLSConfig(t *testing.T) { diff --git a/pkg/thanos/collector.go b/pkg/thanos/collector.go index d18325804..88451425e 100644 --- a/pkg/thanos/collector.go +++ b/pkg/thanos/collector.go @@ -18,7 +18,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "k8s.io/client-go/tools/cache" - v1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + v1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) var ( diff --git a/pkg/thanos/operator.go b/pkg/thanos/operator.go index 54f31e7c4..1b3050e3c 100644 --- a/pkg/thanos/operator.go +++ b/pkg/thanos/operator.go @@ -36,15 +36,15 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/record" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/assets" - monitoringv1ac "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" - monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" - "github.com/prometheus-operator/prometheus-operator/pkg/informers" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/listwatch" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/assets" + monitoringv1ac "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned" + "github.com/rhobs/obo-prometheus-operator/pkg/informers" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/listwatch" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( @@ -640,7 +640,7 @@ func createSSetInputHash(tr monitoringv1.ThanosRuler, c Config, tlsAssets *opera // The controller should ignore any changes to RevisionHistoryLimit field because // it may be modified by external actors. - // See https://github.com/prometheus-operator/prometheus-operator/issues/5712 + // See https://github.com/rhobs/obo-prometheus-operator/issues/5712 ss.RevisionHistoryLimit = nil hash, err := hashstructure.Hash(struct { diff --git a/pkg/thanos/rules.go b/pkg/thanos/rules.go index 2890f8499..67eb0a426 100644 --- a/pkg/thanos/rules.go +++ b/pkg/thanos/rules.go @@ -26,10 +26,10 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - namespacelabeler "github.com/prometheus-operator/prometheus-operator/pkg/namespacelabeler" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + namespacelabeler "github.com/rhobs/obo-prometheus-operator/pkg/namespacelabeler" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const labelThanosRulerName = "thanos-ruler-name" diff --git a/pkg/thanos/statefulset.go b/pkg/thanos/statefulset.go index beb45f365..dd40a0ed1 100644 --- a/pkg/thanos/statefulset.go +++ b/pkg/thanos/statefulset.go @@ -29,10 +29,10 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) const ( diff --git a/pkg/thanos/statefulset_test.go b/pkg/thanos/statefulset_test.go index ca4fd6ef6..6d9c083f4 100644 --- a/pkg/thanos/statefulset_test.go +++ b/pkg/thanos/statefulset_test.go @@ -26,8 +26,8 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" ) const ( diff --git a/pkg/versionutil/cli_test.go b/pkg/versionutil/cli_test.go index 5e569dfc7..cb0d12d64 100644 --- a/pkg/versionutil/cli_test.go +++ b/pkg/versionutil/cli_test.go @@ -25,7 +25,7 @@ import ( "github.com/prometheus/common/version" "github.com/stretchr/testify/assert" - "github.com/prometheus-operator/prometheus-operator/pkg/versionutil" + "github.com/rhobs/obo-prometheus-operator/pkg/versionutil" ) func TestShouldPrintVersion(t *testing.T) { diff --git a/pkg/webconfig/config.go b/pkg/webconfig/config.go index f2d61cec3..778393210 100644 --- a/pkg/webconfig/config.go +++ b/pkg/webconfig/config.go @@ -24,8 +24,8 @@ import ( v1 "k8s.io/api/core/v1" clientv1 "k8s.io/client-go/kubernetes/typed/core/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) var ( diff --git a/pkg/webconfig/config_test.go b/pkg/webconfig/config_test.go index dc8b48d78..d4d6b3b0f 100644 --- a/pkg/webconfig/config_test.go +++ b/pkg/webconfig/config_test.go @@ -25,8 +25,8 @@ import ( "k8s.io/client-go/kubernetes/fake" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/webconfig" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/webconfig" ) func TestCreateOrUpdateWebConfigSecret(t *testing.T) { diff --git a/pkg/webconfig/tls_credentials.go b/pkg/webconfig/tls_credentials.go index dd407b7c1..d04fdaeef 100644 --- a/pkg/webconfig/tls_credentials.go +++ b/pkg/webconfig/tls_credentials.go @@ -20,8 +20,8 @@ import ( corev1 "k8s.io/api/core/v1" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) const ( @@ -116,8 +116,8 @@ func (a tlsCredentials) mountParamsForSecret( // // References: // * https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod - // * https://github.com/prometheus-operator/prometheus-operator/issues/5527 - // * https://github.com/prometheus-operator/prometheus-operator/pull/5535#discussion_r1194940482 + // * https://github.com/rhobs/obo-prometheus-operator/issues/5527 + // * https://github.com/rhobs/obo-prometheus-operator/pull/5535#discussion_r1194940482 mounts = append(mounts, corev1.VolumeMount{ Name: volumeName, ReadOnly: true, @@ -157,8 +157,8 @@ func (a tlsCredentials) mountParamsForConfigmap( // // References: // * https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod - // * https://github.com/prometheus-operator/prometheus-operator/issues/5527 - // * https://github.com/prometheus-operator/prometheus-operator/pull/5535#discussion_r1194940482 + // * https://github.com/rhobs/obo-prometheus-operator/issues/5527 + // * https://github.com/rhobs/obo-prometheus-operator/pull/5535#discussion_r1194940482 mounts = append(mounts, corev1.VolumeMount{ Name: volumeName, ReadOnly: true, diff --git a/rhobs/olm/bundle.Dockerfile b/rhobs/olm/bundle.Dockerfile index 85f478d26..ddb3485ac 100644 --- a/rhobs/olm/bundle.Dockerfile +++ b/rhobs/olm/bundle.Dockerfile @@ -4,7 +4,7 @@ FROM scratch LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ -LABEL operators.operatorframework.io.bundle.package.v1=obo-prometheus-operator +LABEL operators.operatorframework.io.bundle.package.v1=rhobs-prometheus-operator LABEL operators.operatorframework.io.bundle.channels.v1=stable LABEL operators.operatorframework.io.bundle.channel.default.v1=stable LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.1 diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagerconfigs.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagerconfigs.yaml new file mode 100644 index 000000000..59e8aef2f --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagerconfigs.yaml @@ -0,0 +1,3405 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: alertmanagerconfigs.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: AlertmanagerConfig + listKind: AlertmanagerConfigList + plural: alertmanagerconfigs + singular: alertmanagerconfig + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + inhibitRules: + items: + properties: + equal: + items: + type: string + type: array + sourceMatch: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + targetMatch: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + type: object + type: array + muteTimeIntervals: + items: + properties: + name: + type: string + timeIntervals: + items: + properties: + daysOfMonth: + items: + properties: + end: + maximum: 31 + minimum: -31 + type: integer + start: + maximum: 31 + minimum: -31 + type: integer + type: object + type: array + months: + items: + pattern: ^((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9])(?:((:((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9]))$)|$) + type: string + type: array + times: + items: + properties: + endTime: + pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) + type: string + startTime: + pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) + type: string + type: object + type: array + weekdays: + items: + pattern: ^((?i)sun|mon|tues|wednes|thurs|fri|satur)day(?:((:(sun|mon|tues|wednes|thurs|fri|satur)day)$)|$) + type: string + type: array + years: + items: + pattern: ^2\d{3}(?::2\d{3}|$) + type: string + type: array + type: object + type: array + type: object + type: array + receivers: + items: + properties: + discordConfigs: + items: + properties: + apiURL: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + sendResolved: + type: boolean + title: + type: string + required: + - apiURL + type: object + type: array + emailConfigs: + items: + properties: + authIdentity: + type: string + authPassword: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authUsername: + type: string + from: + type: string + headers: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + hello: + type: string + html: + type: string + requireTLS: + type: boolean + sendResolved: + type: boolean + smarthost: + type: string + text: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + to: + type: string + type: object + type: array + msteamsConfigs: + items: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + sendResolved: + type: boolean + summary: + type: string + text: + type: string + title: + type: string + webhookUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - webhookUrl + type: object + type: array + name: + minLength: 1 + type: string + opsgenieConfigs: + items: + properties: + actions: + type: string + apiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiURL: + type: string + description: + type: string + details: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + entity: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + note: + type: string + priority: + type: string + responders: + items: + properties: + id: + type: string + name: + type: string + type: + minLength: 1 + type: string + username: + type: string + required: + - type + type: object + type: array + sendResolved: + type: boolean + source: + type: string + tags: + type: string + updateAlerts: + type: boolean + type: object + type: array + pagerdutyConfigs: + items: + properties: + class: + type: string + client: + type: string + clientURL: + type: string + component: + type: string + description: + type: string + details: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + group: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + pagerDutyImageConfigs: + items: + properties: + alt: + type: string + href: + type: string + src: + type: string + type: object + type: array + pagerDutyLinkConfigs: + items: + properties: + alt: + type: string + href: + type: string + type: object + type: array + routingKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sendResolved: + type: boolean + serviceKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + severity: + type: string + source: + type: string + url: + type: string + type: object + type: array + pushoverConfigs: + items: + properties: + device: + type: string + expire: + pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ + type: string + html: + type: boolean + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + priority: + type: string + retry: + pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ + type: string + sendResolved: + type: boolean + sound: + type: string + title: + type: string + token: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tokenFile: + type: string + ttl: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + url: + type: string + urlTitle: + type: string + userKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + userKeyFile: + type: string + type: object + type: array + slackConfigs: + items: + properties: + actions: + items: + properties: + confirm: + properties: + dismissText: + type: string + okText: + type: string + text: + minLength: 1 + type: string + title: + type: string + required: + - text + type: object + name: + type: string + style: + type: string + text: + minLength: 1 + type: string + type: + minLength: 1 + type: string + url: + type: string + value: + type: string + required: + - text + - type + type: object + type: array + apiURL: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + callbackId: + type: string + channel: + type: string + color: + type: string + fallback: + type: string + fields: + items: + properties: + short: + type: boolean + title: + minLength: 1 + type: string + value: + minLength: 1 + type: string + required: + - title + - value + type: object + type: array + footer: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + iconEmoji: + type: string + iconURL: + type: string + imageURL: + type: string + linkNames: + type: boolean + mrkdwnIn: + items: + type: string + type: array + pretext: + type: string + sendResolved: + type: boolean + shortFields: + type: boolean + text: + type: string + thumbURL: + type: string + title: + type: string + titleLink: + type: string + username: + type: string + type: object + type: array + snsConfigs: + items: + properties: + apiURL: + type: string + attributes: + additionalProperties: + type: string + type: object + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + phoneNumber: + type: string + sendResolved: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + subject: + type: string + targetARN: + type: string + topicARN: + type: string + type: object + type: array + telegramConfigs: + items: + properties: + apiURL: + type: string + botToken: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + botTokenFile: + type: string + chatID: + format: int64 + type: integer + disableNotifications: + type: boolean + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + parseMode: + enum: + - MarkdownV2 + - Markdown + - HTML + type: string + sendResolved: + type: boolean + type: object + type: array + victoropsConfigs: + items: + properties: + apiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiUrl: + type: string + customFields: + items: + properties: + key: + minLength: 1 + type: string + value: + type: string + required: + - key + - value + type: object + type: array + entityDisplayName: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + messageType: + type: string + monitoringTool: + type: string + routingKey: + type: string + sendResolved: + type: boolean + stateMessage: + type: string + type: object + type: array + webexConfigs: + items: + properties: + apiURL: + pattern: ^https?://.+$ + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + roomID: + minLength: 1 + type: string + sendResolved: + type: boolean + required: + - roomID + type: object + type: array + webhookConfigs: + items: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + maxAlerts: + format: int32 + minimum: 0 + type: integer + sendResolved: + type: boolean + url: + type: string + urlSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + wechatConfigs: + items: + properties: + agentID: + type: string + apiSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + apiURL: + type: string + corpID: + type: string + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + message: + type: string + messageType: + type: string + sendResolved: + type: boolean + toParty: + type: string + toTag: + type: string + toUser: + type: string + type: object + type: array + required: + - name + type: object + type: array + route: + properties: + activeTimeIntervals: + items: + type: string + type: array + continue: + type: boolean + groupBy: + items: + type: string + type: array + groupInterval: + type: string + groupWait: + type: string + matchers: + items: + properties: + matchType: + enum: + - '!=' + - = + - =~ + - '!~' + type: string + name: + minLength: 1 + type: string + regex: + type: boolean + value: + type: string + required: + - name + type: object + type: array + muteTimeIntervals: + items: + type: string + type: array + receiver: + type: string + repeatInterval: + type: string + routes: + items: + x-kubernetes-preserve-unknown-fields: true + type: array + type: object + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagers.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagers.yaml new file mode 100644 index 000000000..49cc954a9 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_alertmanagers.yaml @@ -0,0 +1,3823 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: alertmanagers.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Alertmanager + listKind: AlertmanagerList + plural: alertmanagers + singular: alertmanager + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Replicas + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalPeers: + items: + type: string + type: array + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alertmanagerConfigMatcherStrategy: + properties: + type: + default: OnNamespace + enum: + - OnNamespace + - None + type: string + type: object + alertmanagerConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + alertmanagerConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + alertmanagerConfiguration: + properties: + global: + properties: + httpConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + followRedirects: + type: boolean + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyURL: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + opsGenieApiKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + opsGenieApiUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + pagerdutyUrl: + type: string + resolveTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + slackApiUrl: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + smtp: + properties: + authIdentity: + type: string + authPassword: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authUsername: + type: string + from: + type: string + hello: + type: string + requireTLS: + type: boolean + smartHost: + properties: + host: + minLength: 1 + type: string + port: + minLength: 1 + type: string + required: + - host + - port + type: object + type: object + type: object + name: + minLength: 1 + type: string + templates: + items: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + type: object + automountServiceAccountToken: + type: boolean + baseImage: + type: string + clusterAdvertiseAddress: + type: string + clusterGossipInterval: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + clusterLabel: + type: string + clusterPeerTimeout: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + clusterPushpullInterval: + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + configMaps: + items: + type: string + type: array + configSecret: + type: string + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enableFeatures: + items: + type: string + type: array + externalUrl: + type: string + forceEnableClusterMode: + type: boolean + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + paused: + type: boolean + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + portName: + default: web + type: string + priorityClassName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + default: 120h + pattern: ^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + routePrefix: + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + sha: + type: string + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tag: + type: string + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + web: + properties: + getConcurrency: + format: int32 + type: integer + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + timeout: + format: int32 + type: integer + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_podmonitors.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_podmonitors.yaml new file mode 100644 index 000000000..095ba46b9 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_podmonitors.yaml @@ -0,0 +1,464 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: podmonitors.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PodMonitor + listKind: PodMonitorList + plural: podmonitors + singular: podmonitor + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + attachMetadata: + properties: + node: + type: boolean + type: object + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + jobLabel: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + podMetricsEndpoints: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + enableHttp2: + type: boolean + filterRunning: + type: boolean + followRedirects: + type: boolean + honorLabels: + type: boolean + honorTimestamps: + type: boolean + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + params: + additionalProperties: + items: + type: string + type: array + type: object + path: + type: string + port: + type: string + proxyUrl: + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + enum: + - http + - https + type: string + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetPort: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + type: array + podTargetLabels: + items: + type: string + type: array + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + targetLimit: + format: int64 + type: integer + required: + - selector + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_probes.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_probes.yaml new file mode 100644 index 000000000..e405cae42 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_probes.yaml @@ -0,0 +1,494 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: probes.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Probe + listKind: ProbeList + plural: probes + singular: probe + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + jobName: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + module: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + prober: + properties: + path: + default: /probe + type: string + proxyUrl: + type: string + scheme: + enum: + - http + - https + type: string + url: + type: string + required: + - url + type: object + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetLimit: + format: int64 + type: integer + targets: + properties: + ingress: + properties: + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + relabelingConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + type: object + staticConfig: + properties: + labels: + additionalProperties: + type: string + type: object + relabelingConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + static: + items: + type: string + type: array + type: object + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusagents.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusagents.yaml new file mode 100644 index 000000000..b748ca197 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusagents.yaml @@ -0,0 +1,4675 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: prometheusagents.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PrometheusAgent + listKind: PrometheusAgentList + plural: prometheusagents + singular: prometheusagent + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Desired + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + additionalScrapeConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + apiserverConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + host: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + arbitraryFSAccessThroughSMs: + properties: + deny: + type: boolean + type: object + automountServiceAccountToken: + type: boolean + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + configMaps: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enableFeatures: + items: + minLength: 1 + type: string + type: array + x-kubernetes-list-type: set + enableRemoteWriteReceiver: + type: boolean + enforcedBodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + enforcedKeepDroppedTargets: + format: int64 + type: integer + enforcedLabelLimit: + format: int64 + type: integer + enforcedLabelNameLengthLimit: + format: int64 + type: integer + enforcedLabelValueLengthLimit: + format: int64 + type: integer + enforcedNamespaceLabel: + type: string + enforcedSampleLimit: + format: int64 + type: integer + enforcedTargetLimit: + format: int64 + type: integer + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + externalLabels: + additionalProperties: + type: string + type: object + externalUrl: + type: string + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + hostNetwork: + type: boolean + ignoreNamespaceSelectors: + type: boolean + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + maximumStartupDurationSeconds: + format: int32 + minimum: 60 + type: integer + minReadySeconds: + format: int32 + type: integer + mode: + enum: + - StatefulSet + - DaemonSet + type: string + nodeSelector: + additionalProperties: + type: string + type: object + overrideHonorLabels: + type: boolean + overrideHonorTimestamps: + type: boolean + paused: + type: boolean + persistentVolumeClaimRetentionPolicy: + properties: + whenDeleted: + type: string + whenScaled: + type: string + type: object + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + podMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podTargetLabels: + items: + type: string + type: array + portName: + default: web + type: string + priorityClassName: + type: string + probeNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + probeSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + prometheusExternalLabelName: + type: string + reloadStrategy: + enum: + - HTTP + - ProcessSignal + type: string + remoteWrite: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + azureAd: + properties: + cloud: + enum: + - AzureChina + - AzureGovernment + - AzurePublic + type: string + managedIdentity: + properties: + clientId: + type: string + required: + - clientId + type: object + oauth: + properties: + clientId: + minLength: 1 + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tenantId: + minLength: 1 + pattern: ^[0-9a-zA-Z-.]+$ + type: string + required: + - clientId + - clientSecret + - tenantId + type: object + sdk: + properties: + tenantId: + pattern: ^[0-9a-zA-Z-.]+$ + type: string + type: object + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + metadataConfig: + properties: + send: + type: boolean + sendInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + queueConfig: + properties: + batchSendDeadline: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + capacity: + type: integer + maxBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + maxRetries: + type: integer + maxSamplesPerSend: + type: integer + maxShards: + type: integer + minBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + minShards: + type: integer + retryOnRateLimit: + type: boolean + sampleAgeLimit: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + sendExemplars: + type: boolean + sendNativeHistograms: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + writeRelabelConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + required: + - url + type: object + type: array + replicaExternalLabelName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + routePrefix: + type: string + sampleLimit: + format: int64 + type: integer + scrapeClasses: + items: + properties: + default: + type: boolean + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + name: + minLength: 1 + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + scrapeConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + serviceMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + serviceMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + shards: + format: int32 + type: integer + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + targetLimit: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + additionalLabelSelectors: + enum: + - OnResource + - OnShard + type: string + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + clientType: + enum: + - http + - grpc + type: string + compression: + enum: + - gzip + type: string + endpoint: + minLength: 1 + type: string + headers: + additionalProperties: + type: string + type: object + insecure: + type: boolean + samplingFraction: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - endpoint + type: object + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + walCompression: + type: boolean + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + maxConnections: + format: int32 + minimum: 0 + type: integer + pageTitle: + type: string + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + selector: + type: string + shardStatuses: + items: + properties: + availableReplicas: + format: int32 + type: integer + replicas: + format: int32 + type: integer + shardID: + type: string + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - replicas + - shardID + - unavailableReplicas + - updatedReplicas + type: object + type: array + x-kubernetes-list-map-keys: + - shardID + x-kubernetes-list-type: map + shards: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + scale: + labelSelectorPath: .status.selector + specReplicasPath: .spec.shards + statusReplicasPath: .status.shards + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheuses.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheuses.yaml new file mode 100644 index 000000000..f05d567b5 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheuses.yaml @@ -0,0 +1,5596 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: prometheuses.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: Prometheus + listKind: PrometheusList + plural: prometheuses + singular: prometheus + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Desired + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalAlertManagerConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + additionalAlertRelabelConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + additionalScrapeConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alerting: + properties: + alertmanagers: + items: + properties: + alertRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + apiVersion: + type: string + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenFile: + type: string + enableHttp2: + type: boolean + name: + type: string + namespace: + type: string + pathPrefix: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + type: string + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + - namespace + - port + type: object + type: array + required: + - alertmanagers + type: object + allowOverlappingBlocks: + type: boolean + apiserverConfig: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + host: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + arbitraryFSAccessThroughSMs: + properties: + deny: + type: boolean + type: object + automountServiceAccountToken: + type: boolean + baseImage: + type: string + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + configMaps: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + disableCompaction: + type: boolean + enableAdminAPI: + type: boolean + enableFeatures: + items: + minLength: 1 + type: string + type: array + x-kubernetes-list-type: set + enableRemoteWriteReceiver: + type: boolean + enforcedBodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + enforcedKeepDroppedTargets: + format: int64 + type: integer + enforcedLabelLimit: + format: int64 + type: integer + enforcedLabelNameLengthLimit: + format: int64 + type: integer + enforcedLabelValueLengthLimit: + format: int64 + type: integer + enforcedNamespaceLabel: + type: string + enforcedSampleLimit: + format: int64 + type: integer + enforcedTargetLimit: + format: int64 + type: integer + evaluationInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + exemplars: + properties: + maxSize: + format: int64 + type: integer + type: object + externalLabels: + additionalProperties: + type: string + type: object + externalUrl: + type: string + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + hostNetwork: + type: boolean + ignoreNamespaceSelectors: + type: boolean + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + maximumStartupDurationSeconds: + format: int32 + minimum: 60 + type: integer + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + overrideHonorLabels: + type: boolean + overrideHonorTimestamps: + type: boolean + paused: + type: boolean + persistentVolumeClaimRetentionPolicy: + properties: + whenDeleted: + type: string + whenScaled: + type: string + type: object + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + podMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + podTargetLabels: + items: + type: string + type: array + portName: + default: web + type: string + priorityClassName: + type: string + probeNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + probeSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + prometheusExternalLabelName: + type: string + prometheusRulesExcludedFromEnforce: + items: + properties: + ruleName: + type: string + ruleNamespace: + type: string + required: + - ruleName + - ruleNamespace + type: object + type: array + query: + properties: + lookbackDelta: + type: string + maxConcurrency: + format: int32 + minimum: 1 + type: integer + maxSamples: + format: int32 + type: integer + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + queryLogFile: + type: string + reloadStrategy: + enum: + - HTTP + - ProcessSignal + type: string + remoteRead: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + filterExternalLabels: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + readRecent: + type: boolean + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + requiredMatchers: + additionalProperties: + type: string + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + required: + - url + type: object + type: array + remoteWrite: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + credentialsFile: + type: string + type: + type: string + type: object + azureAd: + properties: + cloud: + enum: + - AzureChina + - AzureGovernment + - AzurePublic + type: string + managedIdentity: + properties: + clientId: + type: string + required: + - clientId + type: object + oauth: + properties: + clientId: + minLength: 1 + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tenantId: + minLength: 1 + pattern: ^[0-9a-zA-Z-.]+$ + type: string + required: + - clientId + - clientSecret + - tenantId + type: object + sdk: + properties: + tenantId: + pattern: ^[0-9a-zA-Z-.]+$ + type: string + type: object + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerToken: + type: string + bearerTokenFile: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + headers: + additionalProperties: + type: string + type: object + metadataConfig: + properties: + send: + type: boolean + sendInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + name: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + queueConfig: + properties: + batchSendDeadline: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + capacity: + type: integer + maxBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + maxRetries: + type: integer + maxSamplesPerSend: + type: integer + maxShards: + type: integer + minBackoff: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + minShards: + type: integer + retryOnRateLimit: + type: boolean + sampleAgeLimit: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + remoteTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + sendExemplars: + type: boolean + sendNativeHistograms: + type: boolean + sigv4: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + profile: + type: string + region: + type: string + roleArn: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + type: string + writeRelabelConfigs: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + required: + - url + type: object + type: array + replicaExternalLabelName: + type: string + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + retentionSize: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + routePrefix: + type: string + ruleNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + ruleSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + rules: + properties: + alert: + properties: + forGracePeriod: + type: string + forOutageTolerance: + type: string + resendDelay: + type: string + type: object + type: object + sampleLimit: + format: int64 + type: integer + scrapeClasses: + items: + properties: + default: + type: boolean + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + name: + minLength: 1 + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + scrapeConfigNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeConfigSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + scrapeInterval: + default: 30s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + secrets: + items: + type: string + type: array + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + serviceMonitorNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + serviceMonitorSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + sha: + type: string + shards: + format: int32 + type: integer + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tag: + type: string + targetLimit: + format: int64 + type: integer + thanos: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + baseImage: + type: string + blockSize: + default: 2h + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + getConfigInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + getConfigTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + grpcListenLocal: + type: boolean + grpcServerTlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + httpListenLocal: + type: boolean + image: + type: string + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minTime: + type: string + objectStorageConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + objectStorageConfigFile: + type: string + readyTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + sha: + type: string + tag: + type: string + tracingConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tracingConfigFile: + type: string + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + type: object + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + additionalLabelSelectors: + enum: + - OnResource + - OnShard + type: string + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + clientType: + enum: + - http + - grpc + type: string + compression: + enum: + - gzip + type: string + endpoint: + minLength: 1 + type: string + headers: + additionalProperties: + type: string + type: object + insecure: + type: boolean + samplingFraction: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + timeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - endpoint + type: object + tsdb: + properties: + outOfOrderTimeWindow: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: object + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + walCompression: + type: boolean + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + maxConnections: + format: int32 + minimum: 0 + type: integer + pageTitle: + type: string + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + selector: + type: string + shardStatuses: + items: + properties: + availableReplicas: + format: int32 + type: integer + replicas: + format: int32 + type: integer + shardID: + type: string + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - replicas + - shardID + - unavailableReplicas + - updatedReplicas + type: object + type: array + x-kubernetes-list-map-keys: + - shardID + x-kubernetes-list-type: map + shards: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + scale: + labelSelectorPath: .status.selector + specReplicasPath: .spec.shards + statusReplicasPath: .status.shards + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusrules.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusrules.yaml new file mode 100644 index 000000000..9893d0df2 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_prometheusrules.yaml @@ -0,0 +1,97 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: prometheusrules.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: PrometheusRule + listKind: PrometheusRuleList + plural: prometheusrules + singular: prometheusrule + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + groups: + items: + properties: + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + limit: + type: integer + name: + minLength: 1 + type: string + partial_response_strategy: + pattern: ^(?i)(abort|warn)?$ + type: string + rules: + items: + properties: + alert: + type: string + annotations: + additionalProperties: + type: string + type: object + expr: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + for: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + keep_firing_for: + minLength: 1 + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + labels: + additionalProperties: + type: string + type: object + record: + type: string + required: + - expr + type: object + type: array + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_scrapeconfigs.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_scrapeconfigs.yaml new file mode 100644 index 000000000..fe0479c0d --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_scrapeconfigs.yaml @@ -0,0 +1,3775 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: scrapeconfigs.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ScrapeConfig + listKind: ScrapeConfigList + plural: scrapeconfigs + singular: scrapeconfig + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + NomadSDConfigs: + items: + properties: + allowStale: + type: boolean + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespace: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + type: string + server: + minLength: 1 + type: string + tagSeparator: + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + azureSDConfigs: + items: + properties: + authenticationMethod: + enum: + - OAuth + - ManagedIdentity + - SDK + type: string + clientID: + type: string + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + environment: + type: string + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + resourceGroup: + type: string + subscriptionID: + minLength: 1 + type: string + tenantID: + type: string + required: + - subscriptionID + type: object + type: array + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + consulSDConfigs: + items: + properties: + allowStale: + type: boolean + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + datacenter: + type: string + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespace: + type: string + noProxy: + type: string + nodeMeta: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + partition: + type: string + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scheme: + enum: + - HTTP + - HTTPS + type: string + server: + minLength: 1 + type: string + services: + items: + type: string + type: array + x-kubernetes-list-type: atomic + tagSeparator: + type: string + tags: + items: + type: string + type: array + x-kubernetes-list-type: atomic + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + tokenRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - server + type: object + type: array + digitalOceanSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + dnsSDConfigs: + items: + properties: + names: + items: + type: string + minItems: 1 + type: array + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + type: + enum: + - SRV + - A + - AAAA + - MX + - NS + type: string + required: + - names + type: object + type: array + dockerSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + filters: + items: + properties: + name: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + followRedirects: + type: boolean + host: + minLength: 1 + type: string + hostNetworkingHost: + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + type: object + type: array + dockerSwarmSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + filters: + items: + properties: + name: + type: string + values: + items: + type: string + minItems: 1 + type: array + required: + - name + - values + type: object + type: array + followRedirects: + type: boolean + host: + pattern: ^[a-zA-Z][a-zA-Z0-9+.-]*://.+$ + type: string + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + role: + enum: + - Services + - Tasks + - Nodes + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - host + - role + type: object + type: array + ec2SDConfigs: + items: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + filters: + items: + properties: + name: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + port: + type: integer + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + type: string + roleARN: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: array + enableCompression: + type: boolean + eurekaSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + server: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + fileSDConfigs: + items: + properties: + files: + items: + pattern: ^[^*]*(\*[^/]*)?\.(json|yml|yaml|JSON|YML|YAML)$ + type: string + minItems: 1 + type: array + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + required: + - files + type: object + type: array + gceSDConfigs: + items: + properties: + filter: + type: string + port: + type: integer + project: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tagSeparator: + type: string + zone: + minLength: 1 + type: string + required: + - project + - zone + type: object + type: array + hetznerSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + role: + enum: + - hcloud + - Hcloud + - robot + - Robot + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - role + type: object + type: array + honorLabels: + type: boolean + honorTimestamps: + type: boolean + httpSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + noProxy: + type: string + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + minLength: 1 + pattern: ^http(s)?://.+$ + type: string + required: + - url + type: object + type: array + jobName: + minLength: 1 + type: string + keepDroppedTargets: + format: int64 + type: integer + kubernetesSDConfigs: + items: + properties: + apiServer: + type: string + attachMetadata: + properties: + node: + type: boolean + type: object + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + namespaces: + properties: + names: + items: + type: string + type: array + ownNamespace: + type: boolean + type: object + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + role: + enum: + - Node + - node + - Service + - service + - Pod + - pod + - Endpoints + - endpoints + - EndpointSlice + - endpointslice + - Ingress + - ingress + type: string + selectors: + items: + properties: + field: + type: string + label: + type: string + role: + enum: + - Node + - node + - Service + - service + - Pod + - pod + - Endpoints + - endpoints + - EndpointSlice + - endpointslice + - Ingress + - ingress + type: string + required: + - role + type: object + type: array + x-kubernetes-list-map-keys: + - role + x-kubernetes-list-type: map + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - role + type: object + type: array + kumaSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientID: + type: string + enableHTTP2: + type: boolean + fetchTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + server: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + required: + - server + type: object + type: array + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + lightSailSDConfigs: + items: + properties: + accessKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + endpoint: + minLength: 1 + type: string + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + roleARN: + type: string + secretKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + linodeSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + tagSeparator: + minLength: 1 + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + type: object + type: array + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + metricsPath: + type: string + noProxy: + type: string + openstackSDConfigs: + items: + properties: + allTenants: + type: boolean + applicationCredentialId: + type: string + applicationCredentialName: + type: string + applicationCredentialSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + availability: + enum: + - Public + - public + - Admin + - admin + - Internal + - internal + type: string + domainID: + type: string + domainName: + type: string + identityEndpoint: + type: string + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + port: + type: integer + projectID: + type: string + projectName: + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + region: + minLength: 1 + type: string + role: + enum: + - Instance + - instance + - Hypervisor + - hypervisor + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + userid: + type: string + username: + type: string + required: + - region + - role + type: object + type: array + ovhcloudSDConfigs: + items: + properties: + applicationKey: + minLength: 1 + type: string + applicationSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + consumerKey: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpoint: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + service: + allOf: + - enum: + - VPS + - DedicatedServer + - enum: + - VPS + - DedicatedServer + type: string + required: + - applicationKey + - applicationSecret + - consumerKey + - service + type: object + type: array + params: + additionalProperties: + items: + type: string + type: array + type: object + x-kubernetes-map-type: atomic + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + puppetDBSDConfigs: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + enableHTTP2: + type: boolean + followRedirects: + type: boolean + includeParameters: + type: boolean + noProxy: + type: string + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + port: + format: int32 + maximum: 65535 + minimum: 0 + type: integer + proxyConnectHeader: + additionalProperties: + items: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: array + type: object + x-kubernetes-map-type: atomic + proxyFromEnvironment: + type: boolean + proxyUrl: + pattern: ^http(s)?://.+$ + type: string + query: + minLength: 1 + type: string + refreshInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + url: + minLength: 1 + pattern: ^http(s)?://.+$ + type: string + required: + - query + - url + type: object + type: array + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + sampleLimit: + format: int64 + type: integer + scheme: + enum: + - HTTP + - HTTPS + type: string + scrapeClass: + minLength: 1 + type: string + scrapeInterval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + staticConfigs: + items: + properties: + labels: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + targets: + items: + type: string + type: array + type: object + type: array + targetLimit: + format: int64 + type: integer + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + insecureSkipVerify: + type: boolean + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_servicemonitors.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_servicemonitors.yaml new file mode 100644 index 000000000..86e9849c4 --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_servicemonitors.yaml @@ -0,0 +1,476 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: servicemonitors.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ServiceMonitor + listKind: ServiceMonitorList + plural: servicemonitors + singular: servicemonitor + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + attachMetadata: + properties: + node: + type: boolean + type: object + bodySizeLimit: + pattern: (^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$ + type: string + endpoints: + items: + properties: + authorization: + properties: + credentials: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: + type: string + type: object + basicAuth: + properties: + password: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + username: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + bearerTokenFile: + type: string + bearerTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + enableHttp2: + type: boolean + filterRunning: + type: boolean + followRedirects: + type: boolean + honorLabels: + type: boolean + honorTimestamps: + type: boolean + interval: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + metricRelabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + oauth2: + properties: + clientId: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + additionalProperties: + type: string + type: object + scopes: + items: + type: string + type: array + tokenUrl: + minLength: 1 + type: string + required: + - clientId + - clientSecret + - tokenUrl + type: object + params: + additionalProperties: + items: + type: string + type: array + type: object + path: + type: string + port: + type: string + proxyUrl: + type: string + relabelings: + items: + properties: + action: + default: replace + enum: + - replace + - Replace + - keep + - Keep + - drop + - Drop + - hashmod + - HashMod + - labelmap + - LabelMap + - labeldrop + - LabelDrop + - labelkeep + - LabelKeep + - lowercase + - Lowercase + - uppercase + - Uppercase + - keepequal + - KeepEqual + - dropequal + - DropEqual + type: string + modulus: + format: int64 + type: integer + regex: + type: string + replacement: + type: string + separator: + type: string + sourceLabels: + items: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + type: array + targetLabel: + type: string + type: object + type: array + scheme: + enum: + - http + - https + type: string + scrapeTimeout: + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + targetPort: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + tlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + trackTimestampsStaleness: + type: boolean + type: object + type: array + jobLabel: + type: string + keepDroppedTargets: + format: int64 + type: integer + labelLimit: + format: int64 + type: integer + labelNameLengthLimit: + format: int64 + type: integer + labelValueLengthLimit: + format: int64 + type: integer + namespaceSelector: + properties: + any: + type: boolean + matchNames: + items: + type: string + type: array + type: object + podTargetLabels: + items: + type: string + type: array + sampleLimit: + format: int64 + type: integer + scrapeClass: + minLength: 1 + type: string + scrapeProtocols: + items: + enum: + - PrometheusProto + - OpenMetricsText0.0.1 + - OpenMetricsText1.0.0 + - PrometheusText0.0.4 + type: string + type: array + x-kubernetes-list-type: set + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + targetLabels: + items: + type: string + type: array + targetLimit: + format: int64 + type: integer + required: + - selector + type: object + required: + - spec + type: object + served: true + storage: true +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/monitoring.rhobs_thanosrulers.yaml b/rhobs/olm/bundle/manifests/monitoring.rhobs_thanosrulers.yaml new file mode 100644 index 000000000..e73794e7a --- /dev/null +++ b/rhobs/olm/bundle/manifests/monitoring.rhobs_thanosrulers.yaml @@ -0,0 +1,3656 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.15.0 + operator.prometheus.io/version: 0.75.2-rhobs1 + creationTimestamp: null + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: thanosrulers.monitoring.rhobs +spec: + group: monitoring.rhobs + names: + categories: + - rhobs-prometheus-operator + kind: ThanosRuler + listKind: ThanosRulerList + plural: thanosrulers + singular: thanosruler + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.replicas + name: Replicas + type: integer + - jsonPath: .status.availableReplicas + name: Ready + type: integer + - jsonPath: .status.conditions[?(@.type == 'Reconciled')].status + name: Reconciled + type: string + - jsonPath: .status.conditions[?(@.type == 'Available')].status + name: Available + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.paused + name: Paused + priority: 1 + type: boolean + name: v1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + additionalArgs: + items: + properties: + name: + minLength: 1 + type: string + value: + type: string + required: + - name + type: object + type: array + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + alertDropLabels: + items: + type: string + type: array + alertQueryUrl: + type: string + alertRelabelConfigFile: + type: string + alertRelabelConfigs: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + alertmanagersConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + alertmanagersUrl: + items: + type: string + type: array + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + enforcedNamespaceLabel: + type: string + evaluationInterval: + default: 15s + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + excludedFromEnforcement: + items: + properties: + group: + default: monitoring.rhobs + enum: + - monitoring.rhobs + type: string + name: + type: string + namespace: + minLength: 1 + type: string + resource: + enum: + - prometheusrules + - servicemonitors + - podmonitors + - probes + - scrapeconfigs + type: string + required: + - namespace + - resource + type: object + type: array + externalPrefix: + type: string + grpcServerTlsConfig: + properties: + ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + caFile: + type: string + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + certFile: + type: string + insecureSkipVerify: + type: boolean + keyFile: + type: string + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + serverName: + type: string + type: object + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + required: + - hostnames + - ip + type: object + type: array + x-kubernetes-list-map-keys: + - ip + x-kubernetes-list-type: map + image: + type: string + imagePullPolicy: + enum: + - "" + - Always + - Never + - IfNotPresent + type: string + imagePullSecrets: + items: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + labels: + additionalProperties: + type: string + type: object + listenLocal: + type: boolean + logFormat: + enum: + - "" + - logfmt + - json + type: string + logLevel: + enum: + - "" + - debug + - info + - warn + - error + type: string + minReadySeconds: + format: int32 + type: integer + nodeSelector: + additionalProperties: + type: string + type: object + objectStorageConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + objectStorageConfigFile: + type: string + paused: + type: boolean + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + portName: + default: web + type: string + priorityClassName: + type: string + prometheusRulesExcludedFromEnforce: + items: + properties: + ruleName: + type: string + ruleNamespace: + type: string + required: + - ruleName + - ruleNamespace + type: object + type: array + queryConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + queryEndpoints: + items: + type: string + type: array + replicas: + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + retention: + default: 24h + pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$ + type: string + routePrefix: + type: string + ruleNamespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + ruleSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + storage: + properties: + disableMountSubPath: + type: boolean + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + volumeClaimTemplate: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + name: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + status: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + allocatedResourceStatuses: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: granular + allocatedResources: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + capacity: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + conditions: + items: + properties: + lastProbeTime: + format: date-time + type: string + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + currentVolumeAttributesClassName: + type: string + modifyVolumeStatus: + properties: + status: + type: string + targetVolumeAttributesClassName: + type: string + required: + - status + type: object + phase: + type: string + type: object + type: object + type: object + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + topologySpreadConstraints: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + maxSkew: + format: int32 + type: integer + minDomains: + format: int32 + type: integer + nodeAffinityPolicy: + type: string + nodeTaintsPolicy: + type: string + topologyKey: + type: string + whenUnsatisfiable: + type: string + required: + - maxSkew + - topologyKey + - whenUnsatisfiable + type: object + type: array + tracingConfig: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + tracingConfigFile: + type: string + version: + type: string + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + web: + properties: + httpConfig: + properties: + headers: + properties: + contentSecurityPolicy: + type: string + strictTransportSecurity: + type: string + xContentTypeOptions: + enum: + - "" + - NoSniff + type: string + xFrameOptions: + enum: + - "" + - Deny + - SameOrigin + type: string + xXSSProtection: + type: string + type: object + http2: + type: boolean + type: object + tlsConfig: + properties: + cert: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + cipherSuites: + items: + type: string + type: array + client_ca: + properties: + configMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + secret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientAuthType: + type: string + curvePreferences: + items: + type: string + type: array + keySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + maxVersion: + type: string + minVersion: + type: string + preferServerCipherSuites: + type: boolean + required: + - cert + - keySecret + type: object + type: object + type: object + status: + properties: + availableReplicas: + format: int32 + type: integer + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + paused: + type: boolean + replicas: + format: int32 + type: integer + unavailableReplicas: + format: int32 + type: integer + updatedReplicas: + format: int32 + type: integer + required: + - availableReplicas + - paused + - replicas + - unavailableReplicas + - updatedReplicas + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_policy_v1_poddisruptionbudget.yaml b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_policy_v1_poddisruptionbudget.yaml new file mode 100644 index 000000000..338abb711 --- /dev/null +++ b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_policy_v1_poddisruptionbudget.yaml @@ -0,0 +1,14 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + labels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + name: rhobs-prometheus-operator-admission-webhook +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator diff --git a/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_v1_service.yaml b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_v1_service.yaml new file mode 100644 index 000000000..79193ba99 --- /dev/null +++ b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator-admission-webhook_v1_service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + name: rhobs-prometheus-operator-admission-webhook +spec: + ports: + - name: https + port: 443 + targetPort: https + selector: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator +status: + loadBalancer: {} diff --git a/rhobs/olm/bundle/manifests/rhobs-prometheus-operator.clusterserviceversion.yaml b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator.clusterserviceversion.yaml new file mode 100644 index 000000000..59862e788 --- /dev/null +++ b/rhobs/olm/bundle/manifests/rhobs-prometheus-operator.clusterserviceversion.yaml @@ -0,0 +1,367 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: '[]' + capabilities: Basic Install + createdAt: "2024-07-26T08:40:21Z" + operators.operatorframework.io/builder: operator-sdk-v1.28.1 + operators.operatorframework.io/project_layout: unknown + labels: + app.kubernetes.io/part-of: rhobs-prometheus-operator + name: rhobs-prometheus-operator.v0.75.2-rhobs1 + namespace: openshift-operators +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - kind: AlertmanagerConfig + name: alertmanagerconfigs.monitoring.rhobs + version: v1alpha1 + - kind: Alertmanager + name: alertmanagers.monitoring.rhobs + version: v1 + - kind: PodMonitor + name: podmonitors.monitoring.rhobs + version: v1 + - kind: Probe + name: probes.monitoring.rhobs + version: v1 + - kind: PrometheusAgent + name: prometheusagents.monitoring.rhobs + version: v1alpha1 + - kind: Prometheus + name: prometheuses.monitoring.rhobs + version: v1 + - kind: PrometheusRule + name: prometheusrules.monitoring.rhobs + version: v1 + - kind: ScrapeConfig + name: scrapeconfigs.monitoring.rhobs + version: v1alpha1 + - kind: ServiceMonitor + name: servicemonitors.monitoring.rhobs + version: v1 + - kind: ThanosRuler + name: thanosrulers.monitoring.rhobs + version: v1 + description: |- + RHOBS Prometheus Operator - A fork of Prometheus Operator to run monitoring + Stack on Openshift. + + See detailed information about this fork in the project's README + https://github.com/rhobs/obo-prometheus-operator#readme + displayName: RHOBS Prometheus Operator + icon: + - base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODI3cHgiIGhlaWdodD0iNjg2cHgiIHZpZXdCb3g9IjAgMCA4MjcgNjg2IiBjb2xvcj0iIzJCMzg4RiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDx0aXRsZT5PYnNlcnZhdG9yaXVtRmluYWxfQmx1ZV9JY29uT25seTwvdGl0bGU+CiAgICA8ZyBpZD0iT2JzZXJ2YXRvcml1bUZpbmFsX0JsdWVfSWNvbk9ubHkiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik03MTYuMTcsNTczLjg3IEw3MTYuMTcsNDk0LjQ5IEw3MTYuMDksMzg0LjU4IEM3MTYuMTM4NjYsMzY4Ljc4MDIzOSA3MTQuNjA3NzE1LDM1My4wMTUxODcgNzExLjUyLDMzNy41MiBMNzExLjUyLDMzNy40NiBDNzExLjUyLDMzNy4zIDcxMS40NSwzMzcuMTQgNzExLjQyLDMzNi45OCBDNzA5Ljg3MzMzMywzMjkuMjkzMzMzIDcwNy45NDY2NjcsMzIxLjY4IDcwNS42NCwzMTQuMTQgQzcwNS41OTc4OTEsMzE0LjAwNzMxIDcwNS41NDA4NTksMzEzLjg3OTgyOCA3MDUuNDcsMzEzLjc2IEM3MDIuNzM2MjQ4LDMwNC45ODE3IDY5OS41MDA5MjgsMjk2LjM2NzUzNSA2OTUuNzgsMjg3Ljk2IEw2OTIuODcsMjg3LjEgQzY3OS42OSwyOTUuNzcgNjYwLjE3LDMwOC40NiA2NTQuODcsMzExLjg3IEM2NTQuMTAzNDczLDMxMi4zOTI3MjcgNjUzLjc5NzA4OCwzMTMuMzczOTg4IDY1NC4xMywzMTQuMjQgQzY2Mi44Nzg4NjYsMzM2LjM4NDYzOCA2NjcuNDEwMDU3LDM1OS45Njk4OTIgNjY3LjQ5LDM4My43OCBDNjY3Ljk1LDQ4OC43OCA1ODIuNzMsNTc1LjIgNDc3LjcxLDU3Ni4xMiBDNDA2LjU1MzMyLDU3Ni43ODEyNjkgMzQwLjkwMTM1Nyw1MzcuOTIwMDUyIDMwNy4yNSw0NzUuMjIgQzMwNi44MTQ0NTUsNDc0LjM5MjE0OCAzMDUuODYzMjYyLDQ3My45NzY3NzkgMzA0Ljk2LDQ3NC4yMiBMMjM3LjczLDQ5My43MiBDMjM2Ljg3NzA2NCw0OTMuOTczNTg0IDIzNi4yOTQyNDYsNDk0Ljc2MDE4NSAyMzYuMjk5OTU4LDQ5NS42NSBDMjM2LjQ0LDUzNy4yOCAyMzYuNTgsNTczLjg0IDIzNi41OCw1NzMuODQgQzIzNi41OCw2NDEuOTEgMzMzLjMsNjc5LjQgNDM5Ljg2LDY4Ni4zMyBDNDQwLjQxNDI0NCw2ODYuMzY0OTExIDQ0MC45NTk2ODksNjg2LjE3NTQ3OSA0NDEuMzY1NjE1LDY4NS43OTYxMDggQzQ0MS43NzE1NDIsNjg1LjQxNjczOCA0NDIuMDAxMzYzLDY4NC44ODU2MDUgNDQyLDY4NC4zMyBMNDQyLDYyMS43IEM0NDEuOTk5MTY3LDYyMS4xNDk5NDYgNDQyLjIyNDkxMyw2MjAuNjIzODMxIDQ0Mi42MjQxMjcsNjIwLjI0NTQyOSBDNDQzLjAyMzM0MSw2MTkuODY3MDI3IDQ0My41NjA3NzgsNjE5LjY2OTc0NiA0NDQuMTEsNjE5LjcgQzQ2NS41ODkwNzIsNjIwLjkzMDAxMyA0ODcuMTIwOTI4LDYyMC45MzAwMTMgNTA4LjYsNjE5LjcgQzUwOS4xNDkyMjIsNjE5LjY2OTc0NiA1MDkuNjg2NjU5LDYxOS44NjcwMjcgNTEwLjA4NTg3Myw2MjAuMjQ1NDI5IEM1MTAuNDg1MDg3LDYyMC42MjM4MzEgNTEwLjcxMDgzMyw2MjEuMTQ5OTQ2IDUxMC43MSw2MjEuNyBMNTEwLjcxLDY4NC4zNiBDNTEwLjcwODYzNyw2ODQuOTE1NjA1IDUxMC45Mzg0NTgsNjg1LjQ0NjczOCA1MTEuMzQ0Mzg1LDY4NS44MjYxMDggQzUxMS43NTAzMTEsNjg2LjIwNTQ3OSA1MTIuMjk1NzU2LDY4Ni4zOTg4OTQgNTEyLjg1LDY4Ni4zNiBDNjE5LjQ1LDY3OS40MyA3MTYuMTcsNjQxLjk0IDcxNi4xNyw1NzMuODcgWiBNMzAyLjMzMDA0OSw2MjkuNDggQzMwMi4zMzQ4NjYsNjMwLjE3Njc0NCAzMDEuOTc2NzcsNjMwLjgyNTgwMiAzMDEuMzg0Nzc0LDYzMS4xOTMyNDggQzMwMC43OTI3NzksNjMxLjU2MDY5NCAzMDAuMDUyMjE5LDYzMS41OTM1NTkgMjk5LjQzLDYzMS4yOCBDMjc3LjgxLDYyMC40MSAyNTIuNjUsNjAwLjggMjUyLjY1LDU3OS40NSBMMjUyLjY1LDU1NC43MSBDMjUyLjY1NzUxOCw1NTMuODczMDk5IDI1My4xODUzNCw1NTMuMTI5MzgyIDI1My45NzI4NTgsNTUyLjg0NjA1NCBDMjU0Ljc2MDM3Niw1NTIuNTYyNzI2IDI1NS42NDEwMjksNTUyLjc5OTcxMSAyNTYuMTgsNTUzLjQ0IEMyNjcuMTMsNTY2LjggMjgxLjc2LDU3OC4xNyAzMDEuMTgsNTg3LjU0IEMzMDEuODc0NTY4LDU4Ny44NzA4MDUgMzAyLjMxNzgyMiw1ODguNTcwNjgxIDMwMi4zMiw1ODkuMzQgTDMwMi4zMzAwNDksNjI5LjQ4IFogTTM5NC4wNyw2NTkuMDYgQzM3NS41ODE2NDEsNjU2LjI0Nzg3MyAzNTcuMzEwOTg4LDY1Mi4xNTQ2ODUgMzM5LjM5LDY0Ni44MSBDMzM4LjU0ODU1Miw2NDYuNTUwMjIxIDMzNy45NzYwMzcsNjQ1Ljc3MDYyNyAzMzcuOTc5OTgsNjQ0Ljg5IEwzMzcuOTc5OTgsNjA0LjQ2IEMzMzcuOTgyMjIyLDYwMy44Mjk4OTMgMzM4LjI4MTI1OCw2MDMuMjM3Njc5IDMzOC43ODY5OTUsNjAyLjg2MTgyIEMzMzkuMjkyNzMxLDYwMi40ODU5NjEgMzM5Ljk0NjAyMyw2MDIuMzcwNDE1IDM0MC41NSw2MDIuNTUgQzM1OC4zMDA2MTksNjA3Ljc4NDkwNyAzNzYuMzg5ODYxLDYxMS43OTQzNDMgMzk0LjY5LDYxNC41NSBDMzk1LjY3NjA3Niw2MTQuNjk5NTM5IDM5Ni40MDEyNzQsNjE1LjU1MjcxMyAzOTYuMzkwMTMsNjE2LjU1IEwzOTYuMzkwMTMsNjU3LjExIEMzOTYuMzgyOTUzLDY1Ny42OTIxMDEgMzk2LjEyMjYzMiw2NTguMjQyMjQ0IDM5NS42NzY5OTUsNjU4LjYxNjgwOSBDMzk1LjIzMTM1OCw2NTguOTkxMzc1IDM5NC42NDQ2MzcsNjU5LjE1MzE4NiAzOTQuMDcsNjU5LjA2IEwzOTQuMDcsNjU5LjA2IFogTTY1MS42LDU4Ny41NCBDNjcxLjAzLDU3OC4xNyA2ODUuNjYsNTY2LjggNjk2LjYsNTUzLjQ0IEM2OTcuMTM4OTcxLDU1Mi43OTk3MTEgNjk4LjAxOTYyNCw1NTIuNTYyNzI2IDY5OC44MDcxNDIsNTUyLjg0NjA1NCBDNjk5LjU5NDY2LDU1My4xMjkzODIgNzAwLjEyMjQ4Miw1NTMuODczMDk5IDcwMC4xMyw1NTQuNzEgTDcwMC4xMyw1NzkuNDUgQzcwMC4xMyw2MDAuOCA2NzQuOTcsNjIwLjQ1IDY1My4zNSw2MzEuMjggQzY1Mi43Mjc3ODEsNjMxLjU5MzU1OSA2NTEuOTg3MjIxLDYzMS41NjA2OTQgNjUxLjM5NTIyNiw2MzEuMTkzMjQ4IEM2NTAuODAzMjMsNjMwLjgyNTgwMiA2NTAuNDQ1MTM0LDYzMC4xNzY3NDQgNjUwLjQ0OTk1MSw2MjkuNDggTDY1MC40NDk5NTEsNTg5LjM0IEM2NTAuNDU0MDEyLDU4OC41NjgzOTcgNjUwLjkwMTUzNiw1ODcuODY3OTI1IDY1MS42LDU4Ny41NCBMNjUxLjYsNTg3LjU0IFogTTU1OC4xLDYxNC41NCBDNTc2LjQwMDEzOSw2MTEuNzg0MzQzIDU5NC40ODkzODEsNjA3Ljc3NDkwNyA2MTIuMjQsNjAyLjU0IEM2MTIuODQzOTc3LDYwMi4zNjA0MTUgNjEzLjQ5NzI2OSw2MDIuNDc1OTYxIDYxNC4wMDMwMDUsNjAyLjg1MTgyIEM2MTQuNTA4NzQyLDYwMy4yMjc2NzkgNjE0LjgwNzc3OCw2MDMuODE5ODkzIDYxNC44MTAwMiw2MDQuNDUgTDYxNC44MTAwMiw2NDQuODggQzYxNC44MTM5NjMsNjQ1Ljc2MDYyNyA2MTQuMjQxNDQ4LDY0Ni41NDAyMjEgNjEzLjQsNjQ2LjggQzU5NS40NzkwMTIsNjUyLjE0NDY4NSA1NzcuMjA4MzU5LDY1Ni4yMzc4NzMgNTU4LjcyLDY1OS4wNSBDNTU4LjEzNjczNiw2NTkuMTQ0NTkxIDU1Ny41NDE0OTYsNjU4Ljk3NjQyNSA1NTcuMDkzOTU0LDY1OC41OTA2MTMgQzU1Ni42NDY0MTMsNjU4LjIwNDgwMSA1NTYuMzkyMzgsNjU3LjY0MDgzNSA1NTYuMzk5ODMzLDY1Ny4wNSBMNTU2LjM5OTgzMyw2MTYuNTEgQzU1Ni40MDM2MzUsNjE1LjUyNDA3NyA1NTcuMTI1MjI0LDYxNC42ODc4ODMgNTU4LjEsNjE0LjU0IFogTTQ3Ni40LDQ0Ny45IEM1MTEuMzcwNjcsNDQ3LjkgNTM5LjcyLDQxOS41NTA2NyA1MzkuNzIsMzg0LjU4IEM1MzkuNzIsMzQ5LjYwOTMzIDUxMS4zNzA2NywzMjEuMjYgNDc2LjQsMzIxLjI2IEM0NDEuNDI5MzMsMzIxLjI2IDQxMy4wOCwzNDkuNjA5MzMgNDEzLjA4LDM4NC41OCBDNDEzLjA4LDQxOS41NTA2NyA0NDEuNDI5MzMsNDQ3LjkgNDc2LjQsNDQ3LjkgTDQ3Ni40LDQ0Ny45IFogTTQ3NS44NSwzMjcuNjMgQzQ4Ny40OSwzMjcuNjMgNDk2LjkzLDMzNC41MyA0OTYuOTMsMzQzLjAzIEM0OTYuOTMsMzUxLjUzIDQ4Ny40OSwzNTguNDMgNDc1Ljg1LDM1OC40MyBDNDY0LjIxLDM1OC40MyA0NTQuNzgsMzUxLjU0IDQ1NC43OCwzNDMuMDMgQzQ1NC43OCwzMzQuNTIgNDY0LjIxLDMyNy42MyA0NzUuODUsMzI3LjYzIFogTTU0LjQzLDQ3NS42MyBDNTcuNjg0NDYzNSw0ODIuNzA3NDQ5IDYxLjYxMjU3NDgsNDg5LjQ1NTIyOCA2Ni4xNiw0OTUuNzggQzc3LjMwMjE4NDMsNTEwLjgxMDE0MSA5Ni40OTYzMTU5LDUxNy41MDY4NzUgMTE0LjU3LDUxMi42NyBDMTE3LjM4LDUxMi4wMyAyNDkuMzcsNDczLjczIDI5Ny42Myw0NTkuNzMgQzI5OC4xNzI3NTYsNDU5LjU2ODk2MiAyOTguNjIxODMzLDQ1OS4xODU0NCAyOTguODY1ODI4LDQ1OC42NzQ1NzUgQzI5OS4xMDk4MjQsNDU4LjE2MzcxIDI5OS4xMjU4NzUsNDU3LjU3MzM2OSAyOTguOTEsNDU3LjA1IEMyODAuMzcyNTE1LDQxMS40NjM2MjMgMjgwLjA0Njc2MywzNjAuNDk5NjE4IDI5OCwzMTQuNjggQzI5OC4yMTUyNTYsMzE0LjE1MzkzNCAyOTguMTk2NTA1LDMxMy41NjExMjYgMjk3Ljk0ODQzMywzMTMuMDQ5NzE1IEMyOTcuNzAwMzYsMzEyLjUzODMwNSAyOTcuMjQ2NDAzLDMxMi4xNTY2MDUgMjk2LjcsMzEyIEMyNTAuNDcsMjk5Ljg5IDExOC4xOSwyNjUuMjQgMTE1LjMzLDI2NC42IEM5Ny41OTQwNzc5LDI1OS44NzMyMjQgNzguNzM3MzE1NywyNjYuMDI0Mjk3IDY3LjIsMjgwLjMgQzY2Ljc5NzQ0NDMsMjgwLjc5NTUzMSA2Ni43NTI2NjA4LDI4MS40OTE1NyA2Ny4wODgzOTQ4LDI4Mi4wMzQ2MDIgQzY3LjQyNDEyODgsMjgyLjU3NzYzNSA2OC4wNjY4MDAxLDI4Mi44NDg2NSA2OC42OSwyODIuNzEgQzc0Ljg1LDI4MS4yNyA4Ni42NCwyNzguNzEgOTIuOTgsMjc4LjcxIEMxMTcuMjMsMjc4LjcxIDEzNy44MSwyOTIuOTUgMTUwLjk4LDMxOC43MSBDMTYwLjc1LDMzNy44NCAxNjYuMTIsMzYyLjcxIDE2Ni4xLDM4OC44OSBDMTY2LjA4LDQxNS4wNyAxNjAuNjgsNDM5Ljg5IDE1MC45LDQ1OC45OSBDMTQyLjQsNDc1LjYgMTMwLjgzLDQ4Ny40MSAxMTcuMiw0OTMuNzEgQzExMC4zMiw0OTYuODkgMTA1LjIsNDg2LjY2IDExMS45Miw0ODMuMTIgTDExMi41Niw0ODIuOCBDMTIzLjcsNDc3LjUxIDEzMy4yNiw0NjcuNiAxNDAuNDIsNDUzLjYyIEMxNDkuMzYsNDM2LjE1IDE1NC4zLDQxMy4xNiAxNTQuMzIsMzg4Ljg4IEMxNTQuMzQsMzY0LjYgMTQ5LjQzLDM0MS41NiAxNDAuNDksMzI0LjA3IEMxMjkuNDIsMzAyLjQxIDExMi41NywyOTAuNDggOTMuMDMsMjkwLjQ2IEw5My4wMywyOTAuNDYgQzgzLjY0LDI5MC40NiA2OS43OCwyOTMuMTcgNTUuNDYsMjk5Ljk4IEw1NS4yOCwzMDAuMzcgQzQ4LjQ1MTY0NDcsMzAzLjY2MjU2OCA0Mi4wMDA1ODE0LDMwNy42ODYxMDEgMzYuMDQsMzEyLjM3IEMxOS43NCwzMjUuMTggMC4zLDM0OC44NiAwLjI3LDM4OC45IEMwLjI3LDQyOC40NSAyMC45MSw0NTIuMzcgMzguMjcsNDY1LjQ3IEM0My4zNzQ3MTYsNDY5LjMxMTk5MSA0OC43OTM4NTczLDQ3Mi43MTczNTIgNTQuNDcsNDc1LjY1IEw1NC40Myw0NzUuNjMgWiBNMTcuNTYsMzUwLjg0IEMxNy41NiwzNTAuODQgMjAuNDIsMzQwLjg0IDI3LjY5LDM0MC44NCBDMzUuMjMsMzQwLjg0IDQxLjM0LDM0NS4yOCA0MS4zNTAwMTIzLDM1MC43OSBDNDEuMzYsMzU2LjMgMzUuMjYsMzYwLjc5IDI3LjczLDM2MC43OSBDMjAuMiwzNjAuNzkgMTUuNzUsMzU3LjYzIDE3LjU2LDM1MC44NCBaIE0yNy4xNCw0MzguMDggQzI2LjcyMzI2NzQsNDM3LjQzNzQ2OSAyNi43MTAwNDExLDQzNi42MTMzODEgMjcuMTA1OTM5NSw0MzUuOTU3ODA4IEMyNy41MDE4MzgsNDM1LjMwMjIzNCAyOC4yMzczMzc0LDQzNC45MzAyOTkgMjksNDM1IEMzMC40ODA5NDI2LDQzNS4yNTE2ODggMzEuOTc4MjIwOCw0MzUuMzk1NCAzMy40OCw0MzUuNDMgQzU3LjEzLDQzNS40MyA3Ni4yNiw0MTMuMTQgNzYuMjIsMzg1LjczIEM3Ni4xOCwzNTguMzIgNTYuOTcsMzM2LjE0IDMzLjMyLDMzNi4xOCBMMzIuNjEsMzM2LjE4IEMzMS44NTI0NDI0LDMzNi4xNzUyOTUgMzEuMTYyNTY3MiwzMzUuNzQyOTY2IDMwLjgyODAxMjEsMzM1LjA2MzI2OCBDMzAuNDkzNDU3LDMzNC4zODM1NzEgMzAuNTcxNjU0MiwzMzMuNTczMTg3IDMxLjAzLDMzMi45NyBDMzQuNjU0MTYzLDMyOC43MDg4MTUgMzguNjk0MTQzNCwzMjQuODE5NTggNDMuMDksMzIxLjM2IEM1OS45MiwzMDguMTQgODAuMjYsMzAyLjI3IDkzLjAxLDMwMi4yNCBDMTI1LjU2LDMwMi4yNCAxNDIuNTYsMzQ1Ljg0IDE0Mi41MzAwNCwzODguODcgQzE0Mi41LDQzMS45IDEyNS40Niw0NzUuMzcgOTIuOTYsNDc1LjQzIEw5Mi44Nyw0NzUuNDMgQzg0LjIzLDQ3NS40MyA2My42Miw0NzAuMjEgNDUuMTQsNDU2LjI2IEMzOC4yODI4NDU3LDQ1MS4xMTMzMDEgMzIuMjE4MjE1MSw0NDQuOTg4MDI1IDI3LjE0LDQzOC4wOCBaIE02NDYuODcsMjk4IEM2ODcuMTIsMjcxLjMzIDgwNS4xMywxOTMuMTMgODA3LjQ3LDE5MS4zNiBDODIyLjg1MjM4NSwxODAuNzA5Njc3IDgzMC4xNTc3NzMsMTYxLjczNjI5MSA4MjUuODksMTQzLjUyIEM4MjQuMDA1NzcyLDEzNS45NTM1NDQgODIxLjM5NzA1OCwxMjguNTg2MTg2IDgxOC4xLDEyMS41MiBMODE4LjEsMTIxLjUyIEM4MTkuNTQwMzM1LDExNS4yOTUyMjcgODIwLjQ0Njk1NiwxMDguOTU4OTE1IDgyMC44MSwxMDIuNTggQzgyMiw4MC45MyA4MTcuMTYsNDkuNjkgNzg3LDI0LjE0IEM3NTYuNDEsLTEuNzMgNzI1Ljc3LC0yLjIxIDcwNS40NiwxLjk0IEM2OTguMDQzMjIxLDMuNDY1NzYwMzcgNjkwLjgxNDE0NSw1Ljc5Mjc0NTAxIDY4My45LDguODggTDY4My40OCw4Ljc4IEM2NjksMTUuMjkgNjU4LDI0LjEyIDY1MS45MywzMS4yOCBMNjUxLjkzLDMxLjI4IEM2MzkuMyw0Ni4yIDYzNy41MSw2Ni43OCA2NDYuODcsODkuMjIgQzY1NC40NCwxMDcuMzUgNjY4LjgyLDEyNS45OCA2ODcuMzcsMTQxLjY4IEM3MDUuOTIsMTU3LjM4IDcyNi42MywxNjguNDYgNzQ1Ljc1LDE3Mi45NCBDNzYxLjAzLDE3Ni41MSA3NzQuNzUsMTc1LjYzIDc4Ni4wMSwxNzAuNTUgQzc4Ni4yMiwxNzAuNDYgNzg2LjQ0LDE3MC4zNiA3ODYuNjgsMTcwLjI3IEM3OTMuNjgsMTY3LjQ1IDc5OC4yMSwxNzcuOTYgNzkxLjM0LDE4MS4xNCBDNzc3LjczLDE4Ny40NyA3NjEuMjMsMTg4LjY2IDc0My4wNiwxODQuNDEgQzcyMi4xNywxNzkuNTIgNjk5LjY5LDE2Ny41NCA2NzkuNzYsMTUwLjY3IEM2NTkuODMsMTMzLjggNjQ0LjI1LDExMy42IDYzNiw5My43OCBDNjI0Ljg1LDY3LjA1IDYyNy4zMSw0Mi4xNiA2NDMsMjMuNjQgQzY0Ny4xMSwxOC44MSA2NTYuNjgsMTEuNDcgNjYxLjc2LDcuNzEgQzY2Mi4yNzEwOCw3LjMyNzE0NzQ5IDY2Mi40ODM3NDEsNi42NjI2OTc5IDY2Mi4yODk5MzcsNi4wNTQyNDIzIEM2NjIuMDk2MTMzLDUuNDQ1Nzg2NyA2NjEuNTM4MzU2LDUuMDI2NzM2MDMgNjYwLjksNS4wMSBDNjQyLjU0ODIzNCw0LjU4MzAyMDY1IDYyNS42NjI3NjksMTQuOTkyNDU5MyA2MTcuOCwzMS41OCBDNjE2LjQyLDM0LjIzIDU1NS40MSwxNjEuNTIgNTM1LjcxLDIwMi41OCBDNTgzLjkxODMyLDIxOC40NDUwMDQgNjIzLjg4NDI0NCwyNTIuNzUxODQ1IDY0Ni44NywyOTggWiBNNzMyLjU4LDE0IEM3MzcuMjgsOC40NSA3NDYuNzUsMTIuNzMgNzQ2Ljc1LDEyLjczIEM3NTMuMSwxNS43MyA3NTIuNjUsMjEuMTggNzQ3Ljc1LDI2LjkyIEM3NDIuODUsMzIuNjYgNzM1LjUxLDM0LjQxIDczMS4zMiwzMC44NSBDNzI3LjEzLDI3LjI5IDcyNy43MiwxOS43OCA3MzIuNTgsMTQgWiBNNzkzLjEsMTUwLjggTDc5My4wNCwxNTAuODcgQzc3MiwxNzUuNjIgNzI3Ljc4LDE2MC40OCA2OTUsMTMyLjcxIEM2NjIuMjIsMTA0Ljk0IDYzOS45MSw2My43MSA2NjAuOTQsMzguOTEgQzY2OS4yLDI5LjIxIDY4Ni44MywxNy40OSA3MDcuOCwxMy4yIEM3MTMuMjc5NjQzLDEyLjA4MjEwMTIgNzE4Ljg1NzQ5MSwxMS41MTU5NDEzIDcyNC40NSwxMS41MSBDNzI1LjIwODQ5NCwxMS41NDYwMjA0IDcyNS44ODExNjYsMTIuMDA4NDc1MSA3MjYuMTg2NDE2LDEyLjcwMzc2ODQgQzcyNi40OTE2NjcsMTMuMzk5MDYxOCA3MjYuMzc2ODM4LDE0LjIwNzI0ODMgNzI1Ljg5LDE0Ljc5IEM3MjUuNzEsMTQuOTcgNzI1LjU1LDE1LjE1IDcyNS40MSwxNS4zMiBDNzEwLjA5LDMzLjMyIDcxNC42LDYyLjMyIDczNS40OCw4MC4wOSBDNzU2LjM2LDk3Ljg2IDc4NS43LDk3LjY0IDgwMS4wMiw3OS42MiBDODAxLjk2ODY0NSw3OC40NTU0MTAzIDgwMi44MjQ1OTcsNzcuMjE4MjkyMiA4MDMuNTgsNzUuOTIgQzgwNC4wMTUyODgsNzUuMjgxOTk4OSA4MDQuNzc5MDI3LDc0Ljk1MTY1MjYgODA1LjU0MjA0NCw3NS4wNzEzNDE1IEM4MDYuMzA1MDYyLDc1LjE5MTAzMDUgODA2LjkzMDk3LDc1LjczOTM2MDkgODA3LjE1LDc2LjQ4IEM4MDkuMTI0NzA5LDg0LjgzMzY5NDMgODA5Ljg2MjU3Myw5My40MzIwMDEyIDgwOS4zNCwxMDIgQzgwOCwxMjUuMTEgNzk4LjY4LDE0NC4yIDc5My4xLDE1MC44IFogTTEwMi4yMSwxMzQuNDggQzk1LjY0NDY2MTEsMTUwLjQ3MzY4IDEwMS43MTQ1NjYsMTY4Ljg2NTkxNyAxMTYuNTEsMTc3LjgxIEwyNTEuNTEsMjYwLjAyIEMyNTEuOTQwNTQyLDI2MC4yNzkzMjEgMjUyLjQ1NzcwNSwyNjAuMzUzMzY1IDI1Mi45NDM3MTQsMjYwLjIyNTI2OSBDMjUzLjQyOTcyNCwyNjAuMDk3MTc0IDI1My44NDMyMDcsMjU5Ljc3Nzg0NCAyNTQuMDksMjU5LjM0IEMyNjkuMTM3ODgzLDIzMi42NjM2ODUgMjg4Ljg0MjM2MywyMDguODk4NDE2IDMxMi4yNywxODkuMTcgQzMxMy4wNDEyODYsMTg4LjUzMjEyOCAzMTMuMTYxMjQ0LDE4Ny4zOTQ3NDEgMzEyLjU0LDE4Ni42MSBMMjE4LjQsNjUuODcgQzIxNS4wNDMwMTcsNjEuNjU2NjkxNCAyMDkuMjg5NjU4LDYwLjE5Njg4MzkgMjA0LjMzLDYyLjMgQzIwMy4xNTI2NjUsNjIuODA2MDk5OCAyMDEuODE3NTc4LDYyLjc5ODEzMTggMjAwLjY0NjM2Nyw2Mi4yNzgwMTU2IEMxOTkuNDc1MTU3LDYxLjc1Nzg5OTQgMTk4LjU3NDAwNCw2MC43NzI3ODg0IDE5OC4xNiw1OS41NiBDMTk3LjQyNzMxLDU3LjE3NDg5NTcgMTk4LjY2OTA3OCw1NC42MzAxNDU5IDIwMSw1My43NCBDMjA5LjczNjE0NCw1MC4xNDM3NzE1IDIxOS43OTc3ODksNTIuNzcxMzg2NyAyMjUuNjYsNjAuMTggTDMxOS43NiwxODAuODIgQzMyMC4wNTY4OCwxODEuMjA3OTkgMzIwLjQ5NjU3MywxODEuNDYxMTY0IDMyMC45ODExNjcsMTgxLjUyMzE0NyBDMzIxLjQ2NTc2MiwxODEuNTg1MTMgMzIxLjk1NTAyMiwxODEuNDUwNzc1IDMyMi4zNCwxODEuMTUgQzMyMy43MywxODAuMTUgMzI1LjEyLDE3OS4wNyAzMjYuNTMsMTc4LjA1IEMzMjYuOTM1Nzk4LDE3Ny43NTY1NDIgMzI3LjIwNTI5LDE3Ny4zMTExMDcgMzI3LjI3NjkwNCwxNzYuODE1NDY1IEMzMjcuMzQ4NTE4LDE3Ni4zMTk4MjMgMzI3LjIxNjEzNCwxNzUuODE2MzIyIDMyNi45MSwxNzUuNDIgTDIzNS43MSw1Ni40MiBDMjI2LjE2NDMzNiw0My45OTQ2NjgzIDIwOS42NzgxMDIsMzkuMTcwNTE0IDE5NC45NCw0NC40OSBDMTc0LjE4LDI3LjQ0IDE0MC43NCwyOS45OCAxMTcuMTEsNTEuNDkgQzEwNC44Miw2Mi42OCA5Ni45NSw3Ny4zMiA5NC45Niw5Mi42OSBDOTMuMTUsMTA2LjY5IDk2LjQsMTE5LjggMTA0LjEyLDEzMC4xMiBDMTAzLjQyLDEzMS42IDEwMi43OCwxMzMuMDggMTAyLjIxLDEzNC40OCBaIE0xMDQuMDUsOTMuODMgQzEwNS43Niw4MC42MSAxMTIuNTksNjcuOTggMTIzLjI3LDU4LjI1IEMxNDIuMDQsNDEuMTcgMTY3Ljc2LDM3Ljc5IDE4NS4xOCw0OC43NCBDMTY4Ljg2MDMwMiw1Ni43MzE3MjM1IDE1My43ODY1OSw2Ny4wNDkyMTYzIDE0MC40Myw3OS4zNyBDMTI3LjYxMzkzNCw5MS4xNjc4MTI2IDExNi45MDY3MDMsMTA1LjA2NzU5OCAxMDguNzcsMTIwLjQ3IEMxMDQuMzU2OTA1LDExMi4zMzQxOCAxMDIuNzAwNzU4LDEwMi45ODY3NzQgMTA0LjA1LDkzLjgzIEwxMDQuMDUsOTMuODMgWiBNNDE0LjcsNTI5LjQ5IEM0NTQuMDUzNzk4LDU0NS43Mjk2OTQgNDk4LjIzNjIwMiw1NDUuNzI5Njk0IDUzNy41OSw1MjkuNDkgQzU5NS42NDA5NzksNTA0LjQyMDk1MyA2MzMuMDQ2MDg3LDQ0Ny4wMzczMDcgNjMyLjU1MjY5MiwzODMuODA2NTQgQzYzMi4wNTkyOTcsMzIwLjU3NTc3NCA1OTMuNzYzMjU5LDI2My43ODI4MyA1MzUuMzI4MTQxLDIzOS42MjI3MzQgQzQ3Ni44OTMwMjMsMjE1LjQ2MjYzOCA0MDkuNjcyMDMzLDIyOC42MjkzOTMgMzY0LjY3LDI3My4wNSBDMzUwLjQyMTg3MSwyODcuMzg0NjE3IDMzOS4xMTkxMzcsMzA0LjM3MDk5MiAzMzEuNCwzMjMuMDUgQzMxNS4xNjAyODksMzYyLjQ3NjU0MSAzMTUuMTYwMjg5LDQwNi43MjM0NTkgMzMxLjQsNDQ2LjE1IEMzNDYuODcyNjI2LDQ4My45NjYwNTEgMzc2Ljg4NTgwNyw1MTMuOTgyODM1IDQxNC43LDUyOS40NiBMNDE0LjcsNTI5LjQ5IFogTTM1My4xNSwzODQuNjMgQzM1My4wMjY4NDYsMzY3LjU1ODI4NiAzNTYuMjc5MTY5LDM1MC42MzA1NzUgMzYyLjcyLDMzNC44MiBDMzY4LjY4Nzc0MywzMTkuOTQzMTYgMzc3LjQ3NTY5NiwzMDYuMzYwNTQ1IDM4OC42LDI5NC44MiBDNDExLjcwMzQxLDI3MS40Njk3NzkgNDQzLjE4Njg1OSwyNTguMzMwODEzIDQ3Ni4wMzUsMjU4LjMzMDgxMyBDNTA4Ljg4MzE0MSwyNTguMzMwODEzIDU0MC4zNjY1OSwyNzEuNDY5Nzc5IDU2My40NywyOTQuODIgQzU3NC41ODc1ODksMzA2LjM2NTg3MSA1ODMuMzc0NjQ2LDMxOS45NDcxMDMgNTg5LjM1LDMzNC44MiBDNTk1Ljc4NjAyMywzNTAuNjMyMDAxIDU5OS4wMzgxNiwzNjcuNTU4NzQzIDU5OC45MiwzODQuNjMgQzU5OS4xNDI2ODgsNDE3Ljk2MTYyNyA1ODYuNDM1ODM2LDQ1MC4wODE4MjYgNTYzLjQ3LDQ3NC4yNCBDNTUyLjQxNTAyNyw0ODUuNjc1NTA1IDUzOS4xNzY4MSw0OTQuNzc1MjkyIDUyNC41NCw1MDEgQzQ5My41MjM2NjIsNTE0LjA1MTEwNyA0NTguNTU2MzM4LDUxNC4wNTExMDcgNDI3LjU0LDUwMSBDNDEyLjkwMTI4NSw0OTQuNzgzMjgyIDM5OS42NjIxODcsNDg1LjY4NjI5IDM4OC42MSw0NzQuMjUgQzM2NS42NDQxNjQsNDUwLjA5MTgyNiAzNTIuOTM3MzEyLDQxNy45NzE2MjcgMzUzLjE2LDM4NC42NCBMMzUzLjE1LDM4NC42MyBaIE00NzYsMTQ0LjYyOTc0MyBDNDk3LjM0ODMyNCwxNDQuNTk4NzUyIDUxOC42MDU1NDksMTQ3LjQxMzU0MyA1MzkuMjEsMTUzIEM1MzkuNzg1NTI5LDE1My4xNTY4MjkgNTQwLjI2MTAxNCwxNTMuNTYyMzcxIDU0MC41MDY2ODYsMTU0LjEwNTk0NiBDNTQwLjc1MjM1OSwxNTQuNjQ5NTIxIDU0MC43NDI1NzMsMTU1LjI3NDM4NCA1NDAuNDgsMTU1LjgxIEw1MjAuMTQsMTk4LjIgTDUyMC4xNCwxOTguMiBDNDM0Ljc0OTQwMywxNzguMDgyODEzIDM0Ni41OTQ2NDYsMjE4LjQ3MjQ5MiAzMDYuMDcsMjk2LjI4IEMzMDUuNjM2MzgsMjk3LjA5ODk3MyAzMDQuNjk2OTYyLDI5Ny41MTI4MTMgMzAzLjgsMjk3LjI4IEwyNTkuODUsMjg1Ljc3IEMyNTkuMjcyNzIxLDI4NS42MjEzMDYgMjU4Ljc5MTg2MiwyODUuMjIyODUgMjU4LjUzODUwMSwyODQuNjgzMjQ5IEMyNTguMjg1MTM5LDI4NC4xNDM2NDggMjU4LjI4NTY4OSwyODMuNTE5MTU0IDI1OC41NCwyODIuOTggQzI5Ni44LDIwMS4yOCAzNzkuOCwxNDQuNjI5NzQzIDQ3NiwxNDQuNjI5NzQzIFogTTM0OS4xLDE2MSBDMzQ5LjMxNzQyLDE2MS40NjYxMjIgMzQ5LjcyMDAxMiwxNjEuODE5OTY2IDM1MC4yMTAxODYsMTYxLjk3NTc1NyBDMzUwLjcwMDM1OSwxNjIuMTMxNTQ5IDM1MS4yMzMzNjUsMTYyLjA3NTA2NiAzNTEuNjgsMTYxLjgyIEMzNzQuOTI5OTE1LDE0OC44MDAzNjUgNDAwLjA3OTI4NiwxMzkuNTEwNjU0IDQyNi4yMSwxMzQuMjkgTDQzNS4yMSwxMzIuNjYgQzQ2Mi4xODc5NzYsMTI4LjIwMzI1NyA0ODkuNzA4MzU3LDEyOC4xMjg5NjkgNTE2LjcxLDEzMi40NCBDNTE3LjIxODA2MywxMzIuNTIyNTYxIDUxNy43Mzc2MjQsMTMyLjM5MDg5MSA1MTguMTQ1MDQ1LDEzMi4wNzYzMjQgQzUxOC41NTI0NjcsMTMxLjc2MTc1NyA1MTguODExMzE3LDEzMS4yOTI0MiA1MTguODYsMTMwLjc4IEw1MjEuNDksMTAyLjI0IEM1MjIuODgwMjQxLDg3LjEzNDkwODIgNTE0LjUzNTYxNiw3Mi44MTA5MDU4IDUwMC43MSw2Ni41NyBDNDk2LjA5NTM1NCw2NC41MDQxNDE4IDQ5MS4zMjM2MjUsNjIuODA4NzkwNSA0ODYuNDQsNjEuNSBDNDgzLjE3NjA1Myw1Ny4wMTc0NDE3IDQ3OS40NTI0ODcsNTIuODg4MzM5MyA0NzUuMzMsNDkuMTggQzQ2My42NCwzOC43MyA0NDMuNDQsMjcuMzcgNDEzLjYxLDMyLjYyIEw0MTMuNDEsMzIuNjIgQzM4NC4xMiwzNy45MyAzNjkuMDksNTYuNDMgMzYxLjYzLDcxIEMzNTkuNTI2MzA0LDc1LjE0NzcyMTMgMzU3Ljc2MDU3OSw3OS40NTgzNjQyIDM1Ni4zNSw4My44OSBDMzUxLjQxNDM4Nyw4Ny4yODczMSAzNDYuODI1NTQ5LDkxLjE2MjcwMDYgMzQyLjY1LDk1LjQ2IEMzMzIuNzI5Mjc1LDEwNS45MDEzMDEgMzMwLjI2ODEwMSwxMjEuMzc2MDggMzM2LjQ2LDEzNC4zOCBMMzQ5LjEsMTYxIFogTTM2OS44Myw3NS4xOCBDMzc2LjMzLDYyLjQyIDM4OS40Niw0Ni4yOCA0MTUuMDcsNDEuNzEgTDQxNS4yNSw0MS43MSBDNDQxLjQ0LDM3LjEgNDU5LjA2LDQ2Ljk4IDQ2OS4yNSw1Ni4wOCBDNDcwLjE1LDU2Ljg5IDQ3MS4wMiw1Ny43MyA0NzEuODcsNTguNTggQzQ1Ny43MSw1Ni41OCA0MzkuODcsNTYuNTEgNDE4LjA1LDYwLjQxIEMzOTcuNDcsNjQuMDkgMzgxLjU5LDY5LjgyIDM2OS40LDc2LjExIEMzNjkuNTQsNzUuODEgMzY5LjY3LDc1LjUyIDM2OS44Myw3NS4yMiBMMzY5LjgzLDc1LjE4IFogTTM0NS4xNSwxMDkuNjIgQzM0OC43MSwxMDAuMjEgMzYzLjE1LDgzLjEyIDQxOS45Myw3Mi45OSBDNDc5LjYsNjIuMzMgNTAwLjI5LDc0LjUxIDUwNy4wMiw4MS41OCBDNTA3Ljg2ODIxNCw4Mi40NTAzNDg0IDUwOC4yMzkyMyw4My42NzkzNTcgNTA4LjAxNDMwMSw4NC44NzM2Njg0IEM1MDcuNzg5MzczLDg2LjA2Nzk3OTggNTA2Ljk5NjcwNSw4Ny4wNzc4Mjc5IDUwNS44OSw4Ny41OCBMNTA1LjI5LDg3Ljg1IEM1MDMuMzEwMjYxLDg4Ljc4MDg0NiA1MDAuOTcwNTM5LDg4LjQ4MDU4MTcgNDk5LjI5LDg3LjA4IEM0OTMuNzEsODIuMzMgNDc1LjkyLDczLjA4IDQyNi4wNyw4MS4zMSBMNDE3LDgyLjkyIEMzNjguMSw5Mi4zNSAzNTYuNjcsMTA2LjM4IDM1NCwxMTIuMzEgQzM1My4xODc2NSwxMTQuMDcxOTI5IDM1MS41MTY5OTcsMTE1LjI4NDE5NCAzNDkuNTksMTE1LjUxIEMzNDguMDk5NTYsMTE1LjY1NjgyIDM0Ni42Mzk3NTIsMTE1LjAxOTQwMSAzNDUuNzM0MzIzLDExMy44MjY0MzcgQzM0NC44Mjg4OTQsMTEyLjYzMzQ3MyAzNDQuNjA3NjYyLDExMS4wNTYwMDcgMzQ1LjE1LDEwOS42NiBMMzQ1LjE1LDEwOS42MiBaIiBpZD0iU2hhcGUiIGZpbGw9ImN1cnJlbnRDb2xvciIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPgo= + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - monitoring.rhobs + resources: + - alertmanagers + - alertmanagers/finalizers + - alertmanagers/status + - alertmanagerconfigs + - prometheuses + - prometheuses/finalizers + - prometheuses/status + - prometheusagents + - prometheusagents/finalizers + - prometheusagents/status + - thanosrulers + - thanosrulers/finalizers + - thanosrulers/status + - scrapeconfigs + - servicemonitors + - podmonitors + - probes + - prometheusrules + verbs: + - '*' + - apiGroups: + - apps + resources: + - statefulsets + verbs: + - '*' + - apiGroups: + - "" + resources: + - configmaps + - secrets + verbs: + - '*' + - apiGroups: + - "" + resources: + - pods + verbs: + - list + - delete + - apiGroups: + - "" + resources: + - services + - services/finalizers + - endpoints + verbs: + - get + - create + - update + - delete + - apiGroups: + - "" + resources: + - nodes + verbs: + - list + - watch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - events + verbs: + - patch + - create + - apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - get + - list + - watch + - apiGroups: + - storage.k8s.io + resources: + - storageclasses + verbs: + - get + - apiGroups: + - security.openshift.io + resourceNames: + - nonroot-v2 + - nonroot + resources: + - securitycontextconstraints + verbs: + - use + serviceAccountName: rhobs-prometheus-operator + - rules: + - apiGroups: + - security.openshift.io + resourceNames: + - nonroot-v2 + - nonroot + resources: + - securitycontextconstraints + verbs: + - use + serviceAccountName: rhobs-prometheus-operator-admission-webhook + deployments: + - label: + app.kubernetes.io/component: controller + app.kubernetes.io/name: prometheus-operator + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + name: rhobs-prometheus-operator + spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/component: controller + app.kubernetes.io/name: prometheus-operator + app.kubernetes.io/part-of: rhobs-prometheus-operator + strategy: {} + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: prometheus-operator + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' + labels: + app.kubernetes.io/component: controller + app.kubernetes.io/name: prometheus-operator + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + spec: + automountServiceAccountToken: true + containers: + - args: + - --prometheus-config-reloader=quay.io/rhobs/obo-prometheus-config-reloader:v0.75.2-rhobs1 + env: + - name: GOGC + value: "30" + image: quay.io/rhobs/obo-prometheus-operator:v0.75.2-rhobs1 + name: prometheus-operator + ports: + - containerPort: 8080 + name: http + resources: + limits: + cpu: 100m + memory: 500Mi + requests: + cpu: 5m + memory: 250Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + terminationMessagePolicy: FallbackToLogsOnError + securityContext: + runAsNonRoot: true + runAsUser: 65534 + seccompProfile: + type: RuntimeDefault + serviceAccountName: rhobs-prometheus-operator + - label: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + name: rhobs-prometheus-operator-admission-webhook + spec: + replicas: 2 + selector: + matchLabels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + strategy: + rollingUpdate: + maxUnavailable: 1 + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: prometheus-operator-admission-webhook + labels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + app.kubernetes.io/version: 0.75.2-rhobs1 + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchLabels: + app.kubernetes.io/name: prometheus-operator-admission-webhook + app.kubernetes.io/part-of: rhobs-prometheus-operator + namespaces: + - default + topologyKey: kubernetes.io/hostname + automountServiceAccountToken: false + containers: + - args: + - --web.enable-tls=true + - --web.cert-file=/tmp/k8s-webhook-server/serving-certs/tls.crt + - --web.key-file=/tmp/k8s-webhook-server/serving-certs/tls.key + image: quay.io/rhobs/obo-admission-webhook:v0.75.2-rhobs1 + name: prometheus-operator-admission-webhook + ports: + - containerPort: 8443 + name: https + resources: + limits: + cpu: 200m + memory: 200Mi + requests: + cpu: 50m + memory: 50Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + terminationMessagePolicy: FallbackToLogsOnError + securityContext: + runAsNonRoot: true + runAsUser: 65534 + seccompProfile: + type: RuntimeDefault + serviceAccountName: rhobs-prometheus-operator-admission-webhook + strategy: deployment + installModes: + - supported: false + type: OwnNamespace + - supported: false + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - monitoring + - prometheus + - thanos + links: + - name: RHOBS Prometheus Operator + url: https://observability-operator.rhobs.io + maintainers: + - email: spasquie@redhat.com + name: Simon Pasquier + - email: sthaha@redhat.com + name: Sunil Thaha + - email: jfajersk@redhat.com + name: Jan Fajerski + maturity: alpha + provider: + name: Red Hat + version: 0.75.2-rhobs1 + webhookdefinitions: + - admissionReviewVersions: + - v1 + containerPort: 443 + deploymentName: rhobs-prometheus-operator-admission-webhook + failurePolicy: Ignore + generateName: alertmanagerconfigs.monitoring.rhobs + rules: + - apiGroups: + - monitoring.rhobs + apiVersions: + - '*' + operations: + - CREATE + - UPDATE + resources: + - alertmanagerconfigs + scope: Namespaced + sideEffects: None + targetPort: https + timeoutSeconds: 5 + type: ValidatingAdmissionWebhook + webhookPath: /admission-alertmanagerconfigs/validate + - admissionReviewVersions: + - v1 + containerPort: 443 + deploymentName: rhobs-prometheus-operator-admission-webhook + failurePolicy: Ignore + generateName: prometheusrules.monitoring.rhobs + rules: + - apiGroups: + - monitoring.rhobs + apiVersions: + - '*' + operations: + - CREATE + - UPDATE + resources: + - prometheusrules + scope: Namespaced + sideEffects: None + targetPort: https + timeoutSeconds: 5 + type: ValidatingAdmissionWebhook + webhookPath: /admission-prometheusrules/validate diff --git a/rhobs/olm/bundle/metadata/annotations.yaml b/rhobs/olm/bundle/metadata/annotations.yaml new file mode 100644 index 000000000..831c6b36b --- /dev/null +++ b/rhobs/olm/bundle/metadata/annotations.yaml @@ -0,0 +1,15 @@ +annotations: + # Core bundle annotations. + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: rhobs-prometheus-operator + operators.operatorframework.io.bundle.channels.v1: stable + operators.operatorframework.io.bundle.channel.default.v1: stable + operators.operatorframework.io.metrics.builder: operator-sdk-v1.28.1 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: unknown + + # Annotations for testing. + operators.operatorframework.io.test.mediatype.v1: scorecard+v1 + operators.operatorframework.io.test.config.v1: tests/scorecard/ diff --git a/rhobs/olm/bundle/tests/scorecard/config.yaml b/rhobs/olm/bundle/tests/scorecard/config.yaml new file mode 100644 index 000000000..566572f7c --- /dev/null +++ b/rhobs/olm/bundle/tests/scorecard/config.yaml @@ -0,0 +1,70 @@ +apiVersion: scorecard.operatorframework.io/v1alpha3 +kind: Configuration +metadata: + name: config +stages: +- parallel: true + tests: + - entrypoint: + - scorecard-test + - basic-check-spec + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: basic + test: basic-check-spec-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-bundle-validation + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: olm + test: olm-bundle-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-validation + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: olm + test: olm-crds-have-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-resources + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: olm + test: olm-crds-have-resources-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-spec-descriptors + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: olm + test: olm-spec-descriptors-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-status-descriptors + image: quay.io/operator-framework/scorecard-test:v1.13.0 + labels: + suite: olm + test: olm-status-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {} diff --git a/rhobs/test/import/go.mod b/rhobs/test/import/go.mod index 952f7e393..46ba9fa7c 100644 --- a/rhobs/test/import/go.mod +++ b/rhobs/test/import/go.mod @@ -3,9 +3,9 @@ module rhobs go 1.20 require ( - github.com/rhobs/obo-prometheus-operator v0.64.1-rhobs3 - github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.64.1-rhobs3 - github.com/rhobs/obo-prometheus-operator/pkg/client v0.64.1-rhobs3 + github.com/rhobs/obo-prometheus-operator v0.75.2-rhobs1 + github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring v0.75.2-rhobs1 + github.com/rhobs/obo-prometheus-operator/pkg/client v0.75.2-rhobs1 ) require ( diff --git a/scripts/docs/config.json b/scripts/docs/config.json index 69c51f15a..6d39ae104 100644 --- a/scripts/docs/config.json +++ b/scripts/docs/config.json @@ -26,23 +26,23 @@ }, { "typeMatchPrefix": "^github\\.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1", - "docsURLTemplate": "../v1/api.md#monitoring.coreos.com/v1.{{ .TypeIdentifier}}" + "docsURLTemplate": "../v1/api.md#monitoring.rhobs/v1.{{ .TypeIdentifier}}" }, { "typeMatchPrefix": "^github\\.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1", - "docsURLTemplate": "../v1alpha1/api.md#monitoring.coreos.com/v1alpha1.{{ .TypeIdentifier}}" + "docsURLTemplate": "../v1alpha1/api.md#monitoring.rhobs/v1alpha1.{{ .TypeIdentifier}}" }, { "typeMatchPrefix": "^github\\.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1", - "docsURLTemplate": "../v1beta1/api.md#monitoring.coreos.com/v1beta1.{{ .TypeIdentifier}}" + "docsURLTemplate": "../v1beta1/api.md#monitoring.rhobs/v1beta1.{{ .TypeIdentifier}}" } ], "typeDisplayNamePrefixOverrides": { "k8s.io/api/": "Kubernetes ", "k8s.io/apimachinery/pkg/apis/": "Kubernetes ", - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1": "Monitoring v1", - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1": "Monitoring v1alpha1", - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1": "Monitoring v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1": "Monitoring v1", + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1": "Monitoring v1alpha1", + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1": "Monitoring v1beta1" }, "markdownDisabled": false } diff --git a/scripts/generate/admission-webhook.jsonnet b/scripts/generate/admission-webhook.jsonnet index df441d652..599324080 100644 --- a/scripts/generate/admission-webhook.jsonnet +++ b/scripts/generate/admission-webhook.jsonnet @@ -1,7 +1,7 @@ local admissionWebhook = (import 'prometheus-operator/admission-webhook.libsonnet'); local config = (import 'config.jsonnet'); local aw = admissionWebhook(config { - image: 'quay.io/prometheus-operator/admission-webhook:v' + config.version, + image: 'quay.io/rhobs/obo-admission-webhook:v' + config.version, tlsSecretName: 'admission-webhook-certs', }); diff --git a/scripts/generate/config.jsonnet b/scripts/generate/config.jsonnet index e80e0d8a9..155c65a44 100644 --- a/scripts/generate/config.jsonnet +++ b/scripts/generate/config.jsonnet @@ -3,6 +3,6 @@ local v = importstr '../../VERSION'; { namespace: 'default', version: std.strReplace(v, '\n', ''), - image: 'quay.io/prometheus-operator/prometheus-operator:v' + self.version, - configReloaderImage: 'quay.io/prometheus-operator/prometheus-config-reloader:v' + self.version, + image: 'quay.io/rhobs/obo-prometheus-operator:v' + self.version, + configReloaderImage: 'quay.io/rhobs/obo-prometheus-config-reloader:v' + self.version, } diff --git a/scripts/generate/conversion-webhook-patch-for-alermanagerconfig-crd.jsonnet b/scripts/generate/conversion-webhook-patch-for-alermanagerconfig-crd.jsonnet index c79b927dd..1dbbc447a 100644 --- a/scripts/generate/conversion-webhook-patch-for-alermanagerconfig-crd.jsonnet +++ b/scripts/generate/conversion-webhook-patch-for-alermanagerconfig-crd.jsonnet @@ -5,7 +5,7 @@ local admissionWebhook = (import 'prometheus-operator/admission-webhook.libsonne local config = (import 'config.jsonnet'); local aw = admissionWebhook(config { - image: 'quay.io/prometheus-operator/admission-webhook:v' + config.version, + image: 'quay.io/rhobs/obo-admission-webhook:v' + config.version, }); { diff --git a/scripts/go.mod b/scripts/go.mod index fe74f3daf..b7c979815 100644 --- a/scripts/go.mod +++ b/scripts/go.mod @@ -1,4 +1,4 @@ -module github.com/prometheus-operator/prometheus-operator/tooling +module github.com/rhobs/obo-prometheus-operator/tooling go 1.22.0 diff --git a/scripts/tooling/Dockerfile b/scripts/tooling/Dockerfile index e4a38d45d..b1314a507 100644 --- a/scripts/tooling/Dockerfile +++ b/scripts/tooling/Dockerfile @@ -30,7 +30,7 @@ RUN apt-get update -y && apt-get install -y make git jq gawk python-yaml && \ COPY --from=builder /usr/local/bin/jsonnetfmt /usr/local/bin/jsonnetfmt COPY --from=builder /go/bin/* /go/bin/ -RUN mkdir -p /go/src/github.com/prometheus-operator/prometheus-operator /.cache && \ +RUN mkdir -p /go/src/github.com/rhobs/obo-prometheus-operator /.cache && \ chmod -R 777 /go /.cache -WORKDIR /go/src/github.com/prometheus-operator/prometheus-operator +WORKDIR /go/src/github.com/rhobs/obo-prometheus-operator diff --git a/test/e2e/README.md b/test/e2e/README.md index bc9c03ee1..ee747ace1 100644 --- a/test/e2e/README.md +++ b/test/e2e/README.md @@ -13,5 +13,5 @@ e2e tests are written as Go test. All go test techniques apply, e.g. picking what to run, timeout length. Let's say I want to run all tests in "test/e2e/": ``` -$ go test -v ./test/e2e/ --kubeconfig "$HOME/.kube/config" --operator-image=quay.io/prometheus-operator/prometheus-operator +$ go test -v ./test/e2e/ --kubeconfig "$HOME/.kube/config" --operator-image=quay.io/rhobs/obo-prometheus-operator ``` diff --git a/test/e2e/alertmanager_instance_namespaces_test.go b/test/e2e/alertmanager_instance_namespaces_test.go index 56209226c..1ff5d491b 100644 --- a/test/e2e/alertmanager_instance_namespaces_test.go +++ b/test/e2e/alertmanager_instance_namespaces_test.go @@ -23,7 +23,7 @@ import ( api_errors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func testAlertmanagerInstanceNamespacesAllNs(t *testing.T) { @@ -249,7 +249,7 @@ func testAlertmanagerInstanceNamespacesAllowList(t *testing.T) { // Remove the selecting label on the "allowed" namespace and check that // the alertmanager configuration is updated. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3847 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3847 if err := framework.RemoveLabelsFromNamespace(context.Background(), allowedNs, "monitored"); err != nil { t.Fatal(err) } diff --git a/test/e2e/alertmanager_test.go b/test/e2e/alertmanager_test.go index 56185ebdb..5b40671c5 100644 --- a/test/e2e/alertmanager_test.go +++ b/test/e2e/alertmanager_test.go @@ -42,12 +42,12 @@ import ( certutil "k8s.io/client-go/util/cert" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - monitoringv1beta1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1beta1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - testFramework "github.com/prometheus-operator/prometheus-operator/test/framework" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1beta1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + testFramework "github.com/rhobs/obo-prometheus-operator/test/framework" ) func testAMCreateDeleteCluster(t *testing.T) { @@ -1193,7 +1193,7 @@ func testAlertmanagerConfigCRD(t *testing.T) { {Key: "Comment", Value: "comment"}, }, // HTML field with an empty string must appear as-is in the generated configuration. - // See https://github.com/prometheus-operator/prometheus-operator/issues/5421 + // See https://github.com/rhobs/obo-prometheus-operator/issues/5421 HTML: ptr.To(""), }}, VictorOpsConfigs: []monitoringv1alpha1.VictorOpsConfig{{ @@ -1663,7 +1663,7 @@ templates: [] // Remove the selecting label from the namespace holding the // AlertmanagerConfig resources and wait until the Alertmanager // configuration gets regenerated. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3847 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3847 if err := framework.RemoveLabelsFromNamespace(context.Background(), configNs, "monitored"); err != nil { t.Fatal(err) } diff --git a/test/e2e/config_reloader_test.go b/test/e2e/config_reloader_test.go index eccb40ac3..d08f44db5 100644 --- a/test/e2e/config_reloader_test.go +++ b/test/e2e/config_reloader_test.go @@ -23,7 +23,7 @@ import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - operatorFramework "github.com/prometheus-operator/prometheus-operator/test/framework" + operatorFramework "github.com/rhobs/obo-prometheus-operator/test/framework" ) func testConfigReloaderResources(t *testing.T) { diff --git a/test/e2e/main_test.go b/test/e2e/main_test.go index 1ed335a96..57286ff15 100644 --- a/test/e2e/main_test.go +++ b/test/e2e/main_test.go @@ -28,7 +28,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" - operatorFramework "github.com/prometheus-operator/prometheus-operator/test/framework" + operatorFramework "github.com/rhobs/obo-prometheus-operator/test/framework" ) var ( @@ -96,7 +96,7 @@ func TestMain(m *testing.M) { opImage = flag.String( "operator-image", "", - "operator image, e.g. quay.io/prometheus-operator/prometheus-operator", + "operator image, e.g. quay.io/rhobs/obo-prometheus-operator", ) flag.Parse() @@ -118,7 +118,7 @@ func TestMain(m *testing.M) { os.Exit(1) } - prevStableVersionURL := fmt.Sprintf("https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/release-%d.%d/VERSION", currentSemVer.Major, currentSemVer.Minor-1) + prevStableVersionURL := "https://raw.githubusercontent.com/rhobs/obo-prometheus-operator/rhobs-rel-0.74.0-rhobs1/VERSION" reader, err := operatorFramework.URLToIOReader(prevStableVersionURL) if err != nil { logger.Printf("failed to get previous version file content: %v\n", err) @@ -131,16 +131,16 @@ func TestMain(m *testing.M) { os.Exit(1) } - prometheusOperatorGithubBranchURL := "https://raw.githubusercontent.com/prometheus-operator/prometheus-operator" + // prometheusOperatorGithubBranchURL := "https://raw.githubusercontent.com/prometheus-operator/prometheus-operator" prevSemVer, err := semver.ParseTolerant(string(prevStableVersion)) if err != nil { logger.Printf("failed to parse previous stable version: %v\n", err) os.Exit(1) } - prevStableOpImage := fmt.Sprintf("%s:v%s", "quay.io/prometheus-operator/prometheus-operator", strings.TrimSpace(string(prevStableVersion))) - prevExampleDir := fmt.Sprintf("%s/release-%d.%d/example", prometheusOperatorGithubBranchURL, prevSemVer.Major, prevSemVer.Minor) - prevResourcesDir := fmt.Sprintf("%s/release-%d.%d/test/framework/resources", prometheusOperatorGithubBranchURL, prevSemVer.Major, prevSemVer.Minor) + prevStableOpImage := fmt.Sprintf("%s:v%s", "quay.io/rhobs/obo-prometheus-operator", strings.TrimSpace(string(prevStableVersion))) + prevExampleDir := "https://raw.githubusercontent.com/rhobs/obo-prometheus-operator/rhobs-rel-0.74.0-rhobs1/example" + prevResourcesDir := "https://raw.githubusercontent.com/rhobs/obo-prometheus-operator/rhobs-rel-0.74.0-rhobs1/test/framework/resources" if previousVersionFramework, err = operatorFramework.New(*kubeconfig, prevStableOpImage, prevExampleDir, prevResourcesDir, prevSemVer); err != nil { logger.Printf("failed to setup previous version framework: %v\n", err) diff --git a/test/e2e/prometheus_instance_namespaces_test.go b/test/e2e/prometheus_instance_namespaces_test.go index 0517364e4..c342ad0d6 100644 --- a/test/e2e/prometheus_instance_namespaces_test.go +++ b/test/e2e/prometheus_instance_namespaces_test.go @@ -326,7 +326,7 @@ func testPrometheusInstanceNamespacesAllowList(t *testing.T) { // Remove the selecting label on the "allowed" namespace and check that // the target is removed. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3847 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3847 if err := framework.RemoveLabelsFromNamespace(context.Background(), allowedNs, "monitored"); err != nil { t.Fatal(err) } @@ -360,7 +360,7 @@ func testPrometheusInstanceNamespacesAllowList(t *testing.T) { // testPrometheusInstanceNamespacesNamespaceNotFound verifies that the // operator can reconcile Prometheus and associated resources even when // it's configured to watch namespaces that don't exist. -// See https://github.com/prometheus-operator/prometheus-operator/issues/3347 +// See https://github.com/rhobs/obo-prometheus-operator/issues/3347 func testPrometheusInstanceNamespacesNamespaceNotFound(t *testing.T) { testCtx := framework.NewTestCtx(t) defer testCtx.Cleanup(t) diff --git a/test/e2e/prometheus_test.go b/test/e2e/prometheus_test.go index eea8a5b4f..ede94327a 100644 --- a/test/e2e/prometheus_test.go +++ b/test/e2e/prometheus_test.go @@ -45,11 +45,11 @@ import ( certutil "k8s.io/client-go/util/cert" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prometheus "github.com/prometheus-operator/prometheus-operator/pkg/prometheus/server" - testFramework "github.com/prometheus-operator/prometheus-operator/test/framework" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prometheus "github.com/rhobs/obo-prometheus-operator/pkg/prometheus/server" + testFramework "github.com/rhobs/obo-prometheus-operator/test/framework" ) var ( @@ -663,7 +663,7 @@ func testPromRemoteWriteWithTLS(t *testing.T) { }, success: false, }, - // Had to change the success flag to True, because prometheus receiver is running in VerifyClientCertIfGiven mode. Details here - https://github.com/prometheus-operator/prometheus-operator/pull/4337#discussion_r735064646 + // Had to change the success flag to True, because prometheus receiver is running in VerifyClientCertIfGiven mode. Details here - https://github.com/rhobs/obo-prometheus-operator/pull/4337#discussion_r735064646 { // Valid CA without cert/key. name: "variant-20", @@ -1505,7 +1505,7 @@ func testPromMultiplePrometheusRulesDifferentNS(t *testing.T) { // Remove the selecting label from the namespaces holding PrometheusRules // and wait until the rules are removed from Prometheus. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3847 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3847 for _, file := range ruleFiles { if err := framework.RemoveLabelsFromNamespace(context.Background(), file.ns, "monitored"); err != nil { t.Fatal(err) @@ -1710,7 +1710,7 @@ func testPromOnlyUpdatedOnRelevantChanges(t *testing.T) { // Adding an annotation to Prometheus lead to high CPU usage in the past // updating the Prometheus StatefulSet in a loop (See - // https://github.com/prometheus-operator/prometheus-operator/issues/1659). Added here to + // https://github.com/rhobs/obo-prometheus-operator/issues/1659). Added here to // prevent a regression. prometheus.Annotations["test-annotation"] = "test-value" @@ -2944,7 +2944,7 @@ func testOperatorNSScope(t *testing.T) { } // testPromArbitraryFSAcc tests the -// github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec.ArbitraryFSAccessThroughSMs +// github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1.PrometheusSpec.ArbitraryFSAccessThroughSMs // configuration with the service monitor bearer token and tls assets option. func testPromArbitraryFSAcc(t *testing.T) { t.Parallel() @@ -4273,7 +4273,7 @@ func testPromNamespaceEnforcementExclusion(t *testing.T) { p.Spec.ExcludedFromEnforcement = []monitoringv1.ObjectReference{ { Namespace: ns, - Group: "monitoring.coreos.com", + Group: "monitoring.rhobs", Resource: monitoringv1.ServiceMonitorName, }, } @@ -4845,7 +4845,7 @@ func testPromDegradedConditionStatus(t *testing.T) { CommonPrometheusFields: monitoringv1.CommonPrometheusFields{ Containers: []v1.Container{{ Name: "bad-image", - Image: "quay.io/prometheus-operator/invalid-image", + Image: "quay.io/rhobs/obo-invalid-image", }}, }, }, diff --git a/test/e2e/prometheusagent_test.go b/test/e2e/prometheusagent_test.go index dd2dabc48..d3f0b9488 100644 --- a/test/e2e/prometheusagent_test.go +++ b/test/e2e/prometheusagent_test.go @@ -27,8 +27,8 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func testCreatePrometheusAgent(t *testing.T) { diff --git a/test/e2e/rules_test.go b/test/e2e/rules_test.go index b7c9214dd..3111f70cf 100644 --- a/test/e2e/rules_test.go +++ b/test/e2e/rules_test.go @@ -24,8 +24,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1ac "github.com/prometheus-operator/prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1ac "github.com/rhobs/obo-prometheus-operator/pkg/client/applyconfiguration/monitoring/v1" ) func TestPrometheusRuleCRDValidation(t *testing.T) { diff --git a/test/e2e/scrapeconfig_test.go b/test/e2e/scrapeconfig_test.go index 9f57df5df..2bec62834 100644 --- a/test/e2e/scrapeconfig_test.go +++ b/test/e2e/scrapeconfig_test.go @@ -26,8 +26,8 @@ import ( "k8s.io/apimachinery/pkg/fields" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) // testScrapeConfigCreation tests multiple ScrapeConfig definitions. @@ -329,7 +329,7 @@ func testPromOperatorStartsWithoutScrapeConfigCRD(t *testing.T) { ns := framework.CreateNamespace(context.Background(), t, testCtx) framework.SetupPrometheusRBAC(context.Background(), t, testCtx, ns) - err := framework.DeleteCRD(context.Background(), "scrapeconfigs.monitoring.coreos.com") + err := framework.DeleteCRD(context.Background(), "scrapeconfigs.monitoring.rhobs") require.NoError(t, err) _, err = framework.CreateOrUpdatePrometheusOperator(context.Background(), ns, []string{ns}, nil, []string{ns}, nil, false, true, false) diff --git a/test/e2e/thanosruler_test.go b/test/e2e/thanosruler_test.go index c07819c3a..e8b638cec 100644 --- a/test/e2e/thanosruler_test.go +++ b/test/e2e/thanosruler_test.go @@ -28,7 +28,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/utils/ptr" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func testThanosRulerCreateDeleteCluster(t *testing.T) { @@ -151,7 +151,7 @@ func testThanosRulerPrometheusRuleInDifferentNamespace(t *testing.T) { // Remove the selecting label from ruleNamespace and wait until the rule is // removed from the Thanos ruler. - // See https://github.com/prometheus-operator/prometheus-operator/issues/3847 + // See https://github.com/rhobs/obo-prometheus-operator/issues/3847 if err := framework.RemoveLabelsFromNamespace(context.Background(), ruleNamespace, "monitored"); err != nil { t.Fatal(err) } diff --git a/test/framework/alertmanager.go b/test/framework/alertmanager.go index 7e10e4c93..4fdca326e 100644 --- a/test/framework/alertmanager.go +++ b/test/framework/alertmanager.go @@ -37,10 +37,10 @@ import ( "k8s.io/apimachinery/pkg/util/yaml" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/alertmanager" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/alertmanager" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) var ValidAlertmanagerConfig = `global: diff --git a/test/framework/cluster_role.go b/test/framework/cluster_role.go index f6fca8866..e7c4da2e2 100644 --- a/test/framework/cluster_role.go +++ b/test/framework/cluster_role.go @@ -34,13 +34,13 @@ var ( APIGroups: []string{"apiextensions.k8s.io"}, Resources: []string{"customresourcedefinitions"}, ResourceNames: []string{ - "alertmanagers.monitoring.coreos.com", - "podmonitors.monitoring.coreos.com", - "probes.monitoring.coreos.com", - "prometheuses.monitoring.coreos.com", - "prometheusrules.monitoring.coreos.com", - "servicemonitors.monitoring.coreos.com", - "thanosrulers.monitoring.coreos.com", + "alertmanagers.monitoring.rhobs", + "podmonitors.monitoring.rhobs", + "probes.monitoring.rhobs", + "prometheuses.monitoring.rhobs", + "prometheusrules.monitoring.rhobs", + "servicemonitors.monitoring.rhobs", + "thanosrulers.monitoring.rhobs", }, Verbs: []string{"get", "update"}, } diff --git a/test/framework/crd.go b/test/framework/crd.go index acfbb05eb..d5b128b04 100644 --- a/test/framework/crd.go +++ b/test/framework/crd.go @@ -29,7 +29,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/yaml" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" ) // GetCRD gets a custom resource definition from the apiserver. diff --git a/test/framework/framework.go b/test/framework/framework.go index 3de199d84..29396aecd 100644 --- a/test/framework/framework.go +++ b/test/framework/framework.go @@ -42,12 +42,12 @@ import ( certutil "k8s.io/client-go/util/cert" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - v1monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" - v1alpha1monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" - v1beta1monitoringclient "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + v1monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1" + v1alpha1monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1alpha1" + v1beta1monitoringclient "github.com/rhobs/obo-prometheus-operator/pkg/client/versioned/typed/monitoring/v1beta1" ) const ( @@ -422,11 +422,11 @@ func (f *Framework) CreateOrUpdatePrometheusOperatorWithOpts( for i, arg := range deploy.Spec.Template.Spec.Containers[0].Args { if strings.Contains(arg, "--prometheus-config-reloader=") { deploy.Spec.Template.Spec.Containers[0].Args[i] = "--prometheus-config-reloader=" + - "quay.io/prometheus-operator/prometheus-config-reloader:" + + "quay.io/rhobs/obo-prometheus-config-reloader:" + repoAndTag[1] } } - webhookServerImage = "quay.io/prometheus-operator/admission-webhook:" + repoAndTag[1] + webhookServerImage = "quay.io/rhobs/obo-admission-webhook:" + repoAndTag[1] } deploy.Name = prometheusOperatorServiceDeploymentName diff --git a/test/framework/helpers.go b/test/framework/helpers.go index 8ca143c5f..90b33b862 100644 --- a/test/framework/helpers.go +++ b/test/framework/helpers.go @@ -31,7 +31,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/rest" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) func SourceToIOReader(source string) (io.Reader, error) { diff --git a/test/framework/namespace.go b/test/framework/namespace.go index 4af4fc94f..4bf4d2b8a 100644 --- a/test/framework/namespace.go +++ b/test/framework/namespace.go @@ -24,7 +24,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/prometheus-operator/prometheus-operator/pkg/k8sutil" + "github.com/rhobs/obo-prometheus-operator/pkg/k8sutil" ) func (f *Framework) CreateNamespace(ctx context.Context, t *testing.T, testCtx *TestCtx) string { diff --git a/test/framework/probe.go b/test/framework/probe.go index e5e02f1ad..8e5e4c45f 100644 --- a/test/framework/probe.go +++ b/test/framework/probe.go @@ -25,7 +25,7 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/wait" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func (f *Framework) MakeBlackBoxExporterService(ns, name string) *v1.Service { diff --git a/test/framework/prometheus.go b/test/framework/prometheus.go index 612582eec..5076ce76e 100644 --- a/test/framework/prometheus.go +++ b/test/framework/prometheus.go @@ -35,10 +35,10 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prometheus "github.com/prometheus-operator/prometheus-operator/pkg/prometheus/server" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prometheus "github.com/rhobs/obo-prometheus-operator/pkg/prometheus/server" ) const ( diff --git a/test/framework/prometheus_rule.go b/test/framework/prometheus_rule.go index 6f0c0ba45..5fc041bf4 100644 --- a/test/framework/prometheus_rule.go +++ b/test/framework/prometheus_rule.go @@ -24,7 +24,7 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/wait" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) func (f *Framework) MakeBasicRule(ns, name string, groups []monitoringv1.RuleGroup) *monitoringv1.PrometheusRule { diff --git a/test/framework/prometheusagent.go b/test/framework/prometheusagent.go index 368cb6869..360e2761c 100644 --- a/test/framework/prometheusagent.go +++ b/test/framework/prometheusagent.go @@ -27,11 +27,11 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - "github.com/prometheus-operator/prometheus-operator/pkg/operator" - prometheusagent "github.com/prometheus-operator/prometheus-operator/pkg/prometheus/agent" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" + "github.com/rhobs/obo-prometheus-operator/pkg/operator" + prometheusagent "github.com/rhobs/obo-prometheus-operator/pkg/prometheus/agent" ) func (f *Framework) MakeBasicPrometheusAgent(ns, name, group string, replicas int32) *monitoringv1alpha1.PrometheusAgent { diff --git a/test/framework/resources/alertmanager-config-validating-webhook.yaml b/test/framework/resources/alertmanager-config-validating-webhook.yaml index 96e18b19b..67480887f 100644 --- a/test/framework/resources/alertmanager-config-validating-webhook.yaml +++ b/test/framework/resources/alertmanager-config-validating-webhook.yaml @@ -9,11 +9,11 @@ webhooks: namespace: default path: /admission-alertmanagerconfigs/validate failurePolicy: Fail - name: alertmanagerconfigs-validate.monitoring.coreos.com + name: alertmanagerconfigs-validate.monitoring.rhobs namespaceSelector: {} rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - v1alpha1 - v1beta1 diff --git a/test/framework/resources/prometheus-operator-mutatingwebhook.yaml b/test/framework/resources/prometheus-operator-mutatingwebhook.yaml index fa138165d..46155913f 100644 --- a/test/framework/resources/prometheus-operator-mutatingwebhook.yaml +++ b/test/framework/resources/prometheus-operator-mutatingwebhook.yaml @@ -9,11 +9,11 @@ webhooks: namespace: default path: /admission-prometheusrules/mutate failurePolicy: Fail - name: prometheusrulemutate.monitoring.coreos.com + name: prometheusrulemutate.monitoring.rhobs namespaceSelector: {} rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - '*' operations: diff --git a/test/framework/resources/prometheus-operator-validatingwebhook.yaml b/test/framework/resources/prometheus-operator-validatingwebhook.yaml index 74a43dc1c..3fa18b118 100644 --- a/test/framework/resources/prometheus-operator-validatingwebhook.yaml +++ b/test/framework/resources/prometheus-operator-validatingwebhook.yaml @@ -9,7 +9,7 @@ webhooks: namespace: default path: /admission-prometheusrules/validate failurePolicy: Fail - name: prometheusrulemutate.monitoring.coreos.com + name: prometheusrulemutate.monitoring.rhobs namespaceSelector: matchExpressions: - key: excludeFromWebhook @@ -17,7 +17,7 @@ webhooks: values: ["true"] rules: - apiGroups: - - monitoring.coreos.com + - monitoring.rhobs apiVersions: - '*' operations: diff --git a/test/framework/scrapeconfig.go b/test/framework/scrapeconfig.go index 2ba197702..40c721ef6 100644 --- a/test/framework/scrapeconfig.go +++ b/test/framework/scrapeconfig.go @@ -22,7 +22,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" - monitoringv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" + monitoringv1alpha1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1alpha1" ) func (f *Framework) MakeBasicScrapeConfig(ns, name string) *monitoringv1alpha1.ScrapeConfig { diff --git a/test/framework/status.go b/test/framework/status.go index 70384dad3..eaff1ac99 100644 --- a/test/framework/status.go +++ b/test/framework/status.go @@ -21,7 +21,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" ) type resourceStatus struct { diff --git a/test/framework/thanosruler.go b/test/framework/thanosruler.go index 2e3aee814..6582bbac6 100644 --- a/test/framework/thanosruler.go +++ b/test/framework/thanosruler.go @@ -29,9 +29,9 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/utils/ptr" - "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring" - monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - "github.com/prometheus-operator/prometheus-operator/pkg/thanos" + "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring" + monitoringv1 "github.com/rhobs/obo-prometheus-operator/pkg/apis/monitoring/v1" + "github.com/rhobs/obo-prometheus-operator/pkg/thanos" ) func (f *Framework) MakeBasicThanosRuler(name string, replicas int32, queryEndpoint string) *monitoringv1.ThanosRuler {