From 117e2d548eec5cfa7ab77fb3cacdf236122e908f Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Tue, 9 Mar 2021 12:26:23 -0600 Subject: [PATCH] OSD-6646: osd-cluster-ready no longer needs to exec https://github.com/openshift/osd-cluster-ready/pull/7 removes the logic that talks to prometheus and alertmanager, so `pods/exec` permissions are no longer needed. OSD-6646 --- ...0-osd-ready.openshift-monitoring.Role.yaml | 6 --- .../rosa-brand-logo.yaml | 44 ++++++++++++++++++- ...naged-cluster-config-integration.yaml.tmpl | 6 --- ...anaged-cluster-config-production.yaml.tmpl | 6 --- ...osd-managed-cluster-config-stage.yaml.tmpl | 6 --- 5 files changed, 43 insertions(+), 25 deletions(-) diff --git a/deploy/osd-cluster-ready/20-osd-ready.openshift-monitoring.Role.yaml b/deploy/osd-cluster-ready/20-osd-ready.openshift-monitoring.Role.yaml index d48e407f22..91438dcdf7 100644 --- a/deploy/osd-cluster-ready/20-osd-ready.openshift-monitoring.Role.yaml +++ b/deploy/osd-cluster-ready/20-osd-ready.openshift-monitoring.Role.yaml @@ -12,9 +12,3 @@ rules: verbs: - get - list -- apiGroups: - - "" - resources: - - pods/exec - verbs: - - create diff --git a/deploy/rosa-console-branding-configmap/rosa-brand-logo.yaml b/deploy/rosa-console-branding-configmap/rosa-brand-logo.yaml index d67b4acb73..f28a3ad3ba 100644 --- a/deploy/rosa-console-branding-configmap/rosa-brand-logo.yaml +++ b/deploy/rosa-console-branding-configmap/rosa-brand-logo.yaml @@ -1,6 +1,48 @@ apiVersion: v1 data: - rosa-brand-logo.svg: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\n" + rosa-brand-logo.svg: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\n" kind: ConfigMap metadata: creationTimestamp: null diff --git a/hack/00-osd-managed-cluster-config-integration.yaml.tmpl b/hack/00-osd-managed-cluster-config-integration.yaml.tmpl index e285026d39..e5fd3ecfe1 100644 --- a/hack/00-osd-managed-cluster-config-integration.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-integration.yaml.tmpl @@ -4999,12 +4999,6 @@ objects: verbs: - get - list - - apiGroups: - - '' - resources: - - pods/exec - verbs: - - create - apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/hack/00-osd-managed-cluster-config-production.yaml.tmpl b/hack/00-osd-managed-cluster-config-production.yaml.tmpl index e36048bfe3..1fb3280789 100644 --- a/hack/00-osd-managed-cluster-config-production.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-production.yaml.tmpl @@ -4999,12 +4999,6 @@ objects: verbs: - get - list - - apiGroups: - - '' - resources: - - pods/exec - verbs: - - create - apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/hack/00-osd-managed-cluster-config-stage.yaml.tmpl b/hack/00-osd-managed-cluster-config-stage.yaml.tmpl index 946a56c37c..0c62793b36 100644 --- a/hack/00-osd-managed-cluster-config-stage.yaml.tmpl +++ b/hack/00-osd-managed-cluster-config-stage.yaml.tmpl @@ -4999,12 +4999,6 @@ objects: verbs: - get - list - - apiGroups: - - '' - resources: - - pods/exec - verbs: - - create - apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: