From 9603f22428f0f46c9bf6e6df8371d2a5efe8fd0f Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Thu, 18 Mar 2021 20:38:39 +0000 Subject: [PATCH] on push: make --- ...naged-cluster-config-integration.yaml.tmpl | 27 +++++++++++++++++++ ...anaged-cluster-config-production.yaml.tmpl | 27 +++++++++++++++++++ ...osd-managed-cluster-config-stage.yaml.tmpl | 27 +++++++++++++++++++ 3 files changed, 81 insertions(+) diff --git a/hack/00-osd-managed-cluster-config-integration.yaml.tmpl b/hack/00-osd-managed-cluster-config-integration.yaml.tmpl index 8ba83032b2..c471dc1c8e 100644 --- a/hack/00-osd-managed-cluster-config-integration.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-integration.yaml.tmpl @@ -2723,6 +2723,33 @@ objects: source: redhat-operators sourceNamespace: openshift-marketplace name: compliance-operator +- apiVersion: hive.openshift.io/v1 + kind: SelectorSyncSet + metadata: + labels: + managed.openshift.io/gitHash: ${IMAGE_TAG} + managed.openshift.io/gitRepoName: ${REPO_NAME} + managed.openshift.io/osd: 'true' + name: configure-alertmanager-operator + spec: + clusterDeploymentSelector: + matchLabels: + api.openshift.com/managed: 'true' + resourceApplyMode: Sync + resources: + - apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + name: configure-alertmanager-operator.prom + namespace: openshift-monitoring + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-monitoring-view + subjects: + - kind: ServiceAccount + name: configure-alertmanager-operator + namespace: openshift-monitoring - apiVersion: hive.openshift.io/v1 kind: SelectorSyncSet metadata: diff --git a/hack/00-osd-managed-cluster-config-production.yaml.tmpl b/hack/00-osd-managed-cluster-config-production.yaml.tmpl index 08804a3e89..2f04087502 100644 --- a/hack/00-osd-managed-cluster-config-production.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-production.yaml.tmpl @@ -2723,6 +2723,33 @@ objects: source: redhat-operators sourceNamespace: openshift-marketplace name: compliance-operator +- apiVersion: hive.openshift.io/v1 + kind: SelectorSyncSet + metadata: + labels: + managed.openshift.io/gitHash: ${IMAGE_TAG} + managed.openshift.io/gitRepoName: ${REPO_NAME} + managed.openshift.io/osd: 'true' + name: configure-alertmanager-operator + spec: + clusterDeploymentSelector: + matchLabels: + api.openshift.com/managed: 'true' + resourceApplyMode: Sync + resources: + - apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + name: configure-alertmanager-operator.prom + namespace: openshift-monitoring + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-monitoring-view + subjects: + - kind: ServiceAccount + name: configure-alertmanager-operator + namespace: openshift-monitoring - apiVersion: hive.openshift.io/v1 kind: SelectorSyncSet metadata: diff --git a/hack/00-osd-managed-cluster-config-stage.yaml.tmpl b/hack/00-osd-managed-cluster-config-stage.yaml.tmpl index a637baa22c..9cbc9d399f 100644 --- a/hack/00-osd-managed-cluster-config-stage.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-stage.yaml.tmpl @@ -2723,6 +2723,33 @@ objects: source: redhat-operators sourceNamespace: openshift-marketplace name: compliance-operator +- apiVersion: hive.openshift.io/v1 + kind: SelectorSyncSet + metadata: + labels: + managed.openshift.io/gitHash: ${IMAGE_TAG} + managed.openshift.io/gitRepoName: ${REPO_NAME} + managed.openshift.io/osd: 'true' + name: configure-alertmanager-operator + spec: + clusterDeploymentSelector: + matchLabels: + api.openshift.com/managed: 'true' + resourceApplyMode: Sync + resources: + - apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + name: configure-alertmanager-operator.prom + namespace: openshift-monitoring + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-monitoring-view + subjects: + - kind: ServiceAccount + name: configure-alertmanager-operator + namespace: openshift-monitoring - apiVersion: hive.openshift.io/v1 kind: SelectorSyncSet metadata: