From 7dab7c51d6ea3cecb9807d4aeeb9f5f8b8f87ed0 Mon Sep 17 00:00:00 2001 From: Mehmet Hatip Date: Mon, 19 Jul 2021 11:35:41 -0400 Subject: [PATCH] extend manifests for openshift support Signed-off-by: Mehmet Hatip --- .../templates/argo-rollouts-clusterrole.yaml | 11 +++++++++++ .../argo-rollouts/templates/argo-rollouts-role.yaml | 11 +++++++++++ charts/argo-rollouts/templates/crds/rollout-crd.yaml | 9 +++++++++ 3 files changed, 31 insertions(+) diff --git a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml index fdd0f2b0..e9e284c6 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml @@ -170,4 +170,15 @@ rules: - update - list - delete +- apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - watch + - get + - update + - list + - delete {{- end }} diff --git a/charts/argo-rollouts/templates/argo-rollouts-role.yaml b/charts/argo-rollouts/templates/argo-rollouts-role.yaml index 23794c34..85e62794 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-role.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-role.yaml @@ -147,4 +147,15 @@ rules: - get - update - patch +- apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - watch + - get + - update + - list + - delete {{- end }} diff --git a/charts/argo-rollouts/templates/crds/rollout-crd.yaml b/charts/argo-rollouts/templates/crds/rollout-crd.yaml index 10d0a8e1..fb44cb0f 100644 --- a/charts/argo-rollouts/templates/crds/rollout-crd.yaml +++ b/charts/argo-rollouts/templates/crds/rollout-crd.yaml @@ -550,6 +550,15 @@ spec: required: - stableIngress type: object + openshift: + properties: + routes: + items: + type: string + type: array + required: + - routes + type: object smi: properties: rootService: