From a6d613aa6b45dc566a525970e12211c7d71cf427 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Tue, 4 Jun 2024 23:34:35 +0200 Subject: [PATCH] change role creation order --- ...kubero-operator.clusterserviceversion.yaml | 2 +- .../kuberopipeline/templates/phases.yaml | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bundle/manifests/kubero-operator.clusterserviceversion.yaml b/bundle/manifests/kubero-operator.clusterserviceversion.yaml index 17973a4..73a5441 100644 --- a/bundle/manifests/kubero-operator.clusterserviceversion.yaml +++ b/bundle/manifests/kubero-operator.clusterserviceversion.yaml @@ -1135,7 +1135,7 @@ metadata: categories: Integration & Delivery certified: "false" containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.1.2 - createdAt: "2024-06-04T20:50:50Z" + createdAt: "2024-06-04T21:34:15Z" description: Kubero is a GitOps continuous delivery tool for Kubernetes. operators.operatorframework.io/builder: operator-sdk-v1.34.1 operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1 diff --git a/helm-charts/kuberopipeline/templates/phases.yaml b/helm-charts/kuberopipeline/templates/phases.yaml index fbff93b..fbf40db 100644 --- a/helm-charts/kuberopipeline/templates/phases.yaml +++ b/helm-charts/kuberopipeline/templates/phases.yaml @@ -87,6 +87,19 @@ secrets: imagePullSecrets: - name: registry-user-pass --- +# kpack role +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: kpack-role +rules: + - apiGroups: + - kpack.io + resources: + - 'builds' + verbs: + - '*' +--- # kpack rolebinding apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -102,19 +115,6 @@ subjects: name: kpack-sa namespace: {{ $name }}-{{ .name }} --- -# kpack role -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: kpack-role -rules: - - apiGroups: - - kpack.io - resources: - - 'builds' - verbs: - - '*' ---- {{- end }} # end of git deploymentstrategy {{- end }} # end of enabled {{- end }} # end of range \ No newline at end of file