From 0a910de33a5a137338e7a697e8d087d91ab15c9a Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk Date: Wed, 8 May 2024 15:05:21 +0200 Subject: [PATCH] Remove unused CVS manifest Signed-off-by: Mikalai Radchuk --- ...operator.0.65.1.clusterserviceversion.yaml | 558 ------------------ 1 file changed, 558 deletions(-) delete mode 100644 testdata/bundles/registry-v1/prometheus-operator.v1.0.0/manifests/prometheusoperator.0.65.1.clusterserviceversion.yaml diff --git a/testdata/bundles/registry-v1/prometheus-operator.v1.0.0/manifests/prometheusoperator.0.65.1.clusterserviceversion.yaml b/testdata/bundles/registry-v1/prometheus-operator.v1.0.0/manifests/prometheusoperator.0.65.1.clusterserviceversion.yaml deleted file mode 100644 index 17013fc9c..000000000 --- a/testdata/bundles/registry-v1/prometheus-operator.v1.0.0/manifests/prometheusoperator.0.65.1.clusterserviceversion.yaml +++ /dev/null @@ -1,558 +0,0 @@ -apiVersion: operators.coreos.com/v1alpha1 -kind: ClusterServiceVersion -metadata: - annotations: - alm-examples: |- - [ - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "Prometheus", - "metadata": { - "name": "example" - }, - "spec": { - "replicas": 2, - "serviceAccountName": "prometheus-k8s", - "serviceMonitorSelector": {}, - "ruleSelector": {}, - "podMonitorSelector": {}, - "probeSelector": {}, - "alerting": { - "alertmanagers": [ - { - "namespace": "monitoring", - "name": "alertmanager-main", - "port": "web" - } - ] - } - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "ServiceMonitor", - "metadata": { - "name": "example" - }, - "spec": { - "selector": { - "matchLabels": { - "operated-prometheus": "true" - } - }, - "endpoints": [ - { - "port": "web", - "interval": "30s" - } - ] - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "PodMonitor", - "metadata": { - "name": "example" - }, - "spec": { - "selector": { - "matchLabels": { - "app": "prometheus" - } - }, - "podMetricsEndpoints": [ - { - "port": "web", - "interval": "30s" - } - ] - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "Alertmanager", - "metadata": { - "name": "alertmanager-main" - }, - "spec": { - "replicas": 3, - "alertmanagerConfigSelector": {} - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "PrometheusRule", - "metadata": { - "name": "prometheus-example-rules" - }, - "spec": { - "groups": [ - { - "name": "./example.rules", - "rules": [ - { - "alert": "ExampleAlert", - "expr": "vector(1)" - } - ] - } - ] - } - }, - { - "apiVersion": "monitoring.coreos.com/v1alpha1", - "kind": "AlertmanagerConfig", - "metadata": { - "name": "example" - }, - "spec": { - "receivers": [ - { - "name": "example" - } - ], - "route": { - "receiver": "example" - } - } - }, - { - "apiVersion": "monitoring.coreos.com/v1alpha1", - "kind": "ScrapeConfig", - "metadata": { "name": "example" }, - "spec": - { - "staticConfigs": - [ - { - "targets": ["example:9090"], - "labels": { "exampleLabel": "example" } - } - ] - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "Probe", - "metadata": { "name": "example" }, - "spec": - { - "jobName": "example", - "prober": { "url": "blackbox-prometheus-blackbox-exporter:9115" }, - "targets": - { - "ingress": - { - "selector": { "matchLabels": { "probe": "example" } }, - "namespaceSelector": { "matchNames": ["default"] } - }, - "module": "http_2xx", - "interval": "15s" - } - } - }, - { - "apiVersion": "monitoring.coreos.com/v1alpha1", - "kind": "PrometheusAgent", - "metadata": { "name": "example" }, - "spec": { - "replicas": 2, - "serviceAccountName": "prometheus-k8s", - "serviceMonitorSelector": {}, - "ruleSelector": {}, - "podMonitorSelector": {}, - "probeSelector": {} - } - }, - { - "apiVersion": "monitoring.coreos.com/v1", - "kind": "ThanosRuler", - "metadata": { "name": "example" }, - "spec": { - "image": "quay.io/thanos/thanos:v0.28.1", - "ruleSelector": { - "matchLabels": { - "role": "example" - } - }, - "queryEndpoints": [ - "dnssrv+_http._tcp.example.monitoring.svc.cluster.local" - ] - } - } - ] - capabilities: Deep Insights - categories: Monitoring - certified: "false" - containerImage: quay.io/prometheus-operator/prometheus-operator:v0.65.1 - createdAt: "2023-05-05T18:09:45Z" - description: Manage the full lifecycle of configuring and managing Prometheus and Alertmanager servers. - repository: https://github.com/prometheus-operator/prometheus-operator - support: Red Hat, Inc. - operators.operatorframework.io/builder: operator-sdk-v1.28.0 - operators.operatorframework.io/project_layout: unknown - name: prometheusoperator.v1.0.0 - namespace: placeholder -spec: - apiservicedefinitions: {} - customresourcedefinitions: - owned: - - description: Configures subsections of Alertmanager configuration specific to each namespace - displayName: AlertmanagerConfig - kind: AlertmanagerConfig - name: alertmanagerconfigs.monitoring.coreos.com - version: v1alpha1 - - description: Configures an Alertmanager for the namespace - displayName: Alertmanager - kind: Alertmanager - name: alertmanagers.monitoring.coreos.com - resources: - - kind: StatefulSet - version: v1beta2 - - kind: Pod - version: v1 - - kind: Service - version: v1 - specDescriptors: - - description: Desired number of Pods for the cluster - displayName: Size - path: replicas - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:podCount - - description: - Limits describes the minimum/maximum amount of compute resources - required/allowed - displayName: Resource Requirements - path: resources - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:resourceRequirements - version: v1 - - description: Configures prometheus to monitor a particular pod - displayName: Pod Monitor - kind: PodMonitor - name: podmonitors.monitoring.coreos.com - resources: - - kind: Pod - version: v1 - specDescriptors: - - description: The label to use to retrieve the job name from - displayName: Job Label - path: jobLabel - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:label - - description: A list of endpoints allowed as part of this PodMonitor - displayName: Pod Metrics Endpoints - path: podMetricsEndpoints - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:endpointList - version: v1 - - description: Defines how groups of ingresses and static targets should be monitored. - displayName: Probe - kind: Probe - name: probes.monitoring.coreos.com - specDescriptors: - - description: Service that monitors the target and provides metrics for Prometheus to scrape - displayName: Prober URL - path: prober.url - x-descriptors: - - "urn:alm:descriptor:com.tectonic.ui:text" - version: v1 - - description: Defines a Prometheus deployment running in Agent mode. - kind: PrometheusAgent - displayName: Prometheus Agent - name: prometheusagents.monitoring.coreos.com - version: v1alpha1 - - description: A running Prometheus instance - displayName: Prometheus - kind: Prometheus - name: prometheuses.monitoring.coreos.com - resources: - - kind: StatefulSet - version: v1beta2 - - kind: Pod - version: v1 - - kind: ConfigMap - version: v1 - - kind: Service - version: v1 - specDescriptors: - - description: Desired number of Pods for the cluster - displayName: Size - path: replicas - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:podCount - - description: A selector for the ConfigMaps from which to load rule files - displayName: Rule Config Map Selector - path: ruleSelector - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap - - description: ServiceMonitors to be selected for target discovery - displayName: Service Monitor Selector - path: serviceMonitorSelector - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:ServiceMonitor - - description: PodMonitors to be selected for target discovery - displayName: Pod Monitor Selector - path: podMonitorSelector - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:PodMonitor - - description: Probes to be selected for target discovery - displayName: Pod Monitor Selector - path: probeSelector - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:selector:monitoring.coreos.com:v1:Probes - - description: The ServiceAccount to use to run the Prometheus pods - displayName: Service Account - path: serviceAccountName - x-descriptors: - - urn:alm:descriptor:io.kubernetes:ServiceAccount - - description: - Limits describes the minimum/maximum amount of compute resources - required/allowed - displayName: Resource Requirements - path: resources - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:resourceRequirements - version: v1 - - description: A Prometheus Rule configures groups of sequentially evaluated recording and alerting rules. - displayName: Prometheus Rule - kind: PrometheusRule - name: prometheusrules.monitoring.coreos.com - version: v1 - - description: Declaratively specifies scrape configurations to be added to Prometheus for resources outside of the cluster. - kind: ScrapeConfig - displayName: Scrape Config - name: scrapeconfigs.monitoring.coreos.com - version: v1alpha1 - - description: Configures prometheus to monitor a particular k8s service - displayName: Service Monitor - kind: ServiceMonitor - name: servicemonitors.monitoring.coreos.com - resources: - - kind: Pod - version: v1 - specDescriptors: - - description: The label to use to retrieve the job name from - displayName: Job Label - path: jobLabel - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:label - - description: A list of endpoints allowed as part of this ServiceMonitor - displayName: Endpoints - path: endpoints - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:endpointList - version: v1 - - description: Allows recording and alerting rules to be processed across multiple Prometheus instances. - displayName: ThanosRuler - kind: ThanosRuler - name: thanosrulers.monitoring.coreos.com - resources: - - kind: Pod - version: v1 - specDescriptors: - - description: Location of Thanos Queriers or Prometheus instances - displayName: Query Endpoints - path: queryEndpoints - x-descriptors: - - urn:alm:descriptor:com.tectonic.ui:endpointList - version: v1 - description: | - The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances. - - Once installed, the Prometheus Operator provides the following features: - - * **Create/Destroy**: Easily launch a Prometheus instance for your Kubernetes namespace, a specific application or team easily using the Operator. - * **Simple Configuration**: Configure the fundamentals of Prometheus like versions, persistence, retention policies, and replicas from a native Kubernetes resource. - * **Target Services via Labels**: Automatically generate monitoring target configurations based on familiar Kubernetes label queries; no need to learn a Prometheus specific configuration language. - - ### Other Supported Features - - **High availability** - - Multiple instances are run across failure zones and data is replicated. This keeps your monitoring available during an outage, when you need it most. - - **Updates via automated operations** - - New Prometheus versions are deployed using a rolling update with no downtime, making it easy to stay up to date. - - **Handles the dynamic nature of containers** - - Alerting rules are attached to groups of containers instead of individual instances, which is ideal for the highly dynamic nature of container deployment. - displayName: Prometheus Operator - icon: - - base64data: PHN2ZyB3aWR0aD0iMjQ5MCIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTEyOC4wMDEuNjY3QzU3LjMxMS42NjcgMCA1Ny45NzEgMCAx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DUyLTEuNTg2IDE0LjI4OS0zLjAxNiAxNC4yODktMy4wMTZsMjcuNDUtNS4zNTVjLjAwMi0uMDAyLTMuOTg3IDE2LjQwMS0xOS4zMTQgMzIuMTk3eiIgZmlsbD0iI0RBNEUzMSIvPjwvc3ZnPg== - mediatype: image/svg+xml - install: - spec: - clusterPermissions: - - rules: - - apiGroups: - - monitoring.coreos.com - 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: - - networking.k8s.io - resources: - - ingresses - verbs: - - get - - list - - watch - serviceAccountName: prometheus-operator - deployments: - - label: - app.kubernetes.io/component: controller - app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 1.0.0 - name: prometheus-operator - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/component: controller - app.kubernetes.io/name: prometheus-operator - strategy: {} - template: - metadata: - annotations: - kubectl.kubernetes.io/default-container: prometheus-operator - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/name: prometheus-operator - app.kubernetes.io/version: 1.0.0 - spec: - automountServiceAccountToken: true - containers: - - args: - - --kubelet-service=kube-system/kubelet - - --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.65.1 - image: quay.io/prometheus-operator/prometheus-operator:v0.65.1 - name: prometheus-operator - ports: - - containerPort: 8080 - name: http - resources: - limits: - cpu: 200m - memory: 200Mi - requests: - cpu: 100m - memory: 100Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - nodeSelector: - kubernetes.io/os: linux - securityContext: - runAsNonRoot: true - runAsUser: 65534 - seccompProfile: - type: RuntimeDefault - serviceAccountName: prometheus-operator - strategy: deployment - installModes: - - supported: true - type: OwnNamespace - - supported: true - type: SingleNamespace - - supported: false - type: MultiNamespace - - supported: true - type: AllNamespaces - keywords: - - prometheus - - monitoring - - tsdb - - alerting - - observability - labels: - alm-owner-prometheus: prometheusoperator - alm-status-descriptors: prometheusoperator.1.0.0 - links: - - name: Prometheus - url: https://www.prometheus.io/ - - name: Documentation - url: https://github.com/prometheus-operator/prometheus-operator/tree/master/Documentation - - name: Prometheus Operator - url: https://github.com/prometheus-operator/prometheus-operator - maintainers: - - email: openshift-operators@redhat.com - name: Red Hat - maturity: beta - minKubeVersion: 1.16.0 - provider: - name: Red Hat - replaces: prometheusoperator.0.47.0 - selector: - matchLabels: - alm-owner-prometheus: prometheusoperator - version: 1.0.0