Skip to content

Commit

Permalink
change role creation order
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jun 4, 2024
1 parent d8f9da3 commit a6d613a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 13 additions & 13 deletions helm-charts/kuberopipeline/templates/phases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a6d613a

Please sign in to comment.