Skip to content

Commit

Permalink
fix: role binding references (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Apr 29, 2024
2 parents 72e5c56 + 91c1372 commit aa0609b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/flowforge/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ ((.Values.forge).clusterRole).name | default "create-pod" }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "forge.labels" . | nindent 4 }}
rules:
Expand All @@ -62,12 +61,13 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ ((.Values.forge).clusterRole).name | default "create-pod" }}
namespace: {{ .Release.Namespace }}
namespace: {{ .Values.forge.projectNamespace }}
labels:
{{- include "forge.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: flowforge
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ ((.Values.forge).clusterRole).name | default "create-pod" }}
Expand Down

0 comments on commit aa0609b

Please sign in to comment.