Skip to content

Commit

Permalink
fix RoleBinding serviceAccountGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
juri committed Aug 30, 2023
1 parent 0efa117 commit 38d3a80
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: app
description: A Helm chart for Kubernetes Deployment
type: application

version: 0.11.0
version: 0.11.1

keywords:
- deployment
Expand Down
2 changes: 1 addition & 1 deletion charts/argo-applications/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: argo-applications
description: A Helm chart for Kubernetes argo applications
type: application

version: 0.11.0
version: 0.11.1

keywords:
- argocd
Expand Down
2 changes: 1 addition & 1 deletion charts/argo-workflows/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: argo-workflows
description: A Helm chart for Kubernetes argocd workflows
type: application

version: 0.11.0
version: 0.11.1

keywords:
- argocd
Expand Down
2 changes: 1 addition & 1 deletion charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: base
description: A Helm chart for Kubernetes with helm named templates
type: library

version: 0.11.0
version: 0.11.1

keywords:
- deployment
Expand Down
8 changes: 4 additions & 4 deletions charts/base/templates/_rbac.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ subjects:
{{- range $valueRange }}
- kind: Group
name: {{ . | trim | quote }}
apiGroup: rbac.authorization.k8s.io
apiGroup: rbac.authorization.k8s.ioRoleBinding
{{- end }}
{{- end }}
{{- range .serviceAccountGroups }}
Expand Down Expand Up @@ -151,9 +151,9 @@ subjects:
{{- $valueRange := pluck . $root.Values.serviceAccountGroups | first }}
{{- range $valueRange }}
- kind: ServiceAccount
name: {{ $coreRange.name | trim | quote }}
{{- if $coreRange.namespace }}
namespace: {{ $coreRange.namespace | quote }}
name: {{ .name | trim | quote }}
{{- if .namespace }}
namespace: {{ .namespace | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/cronjob/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cronjob
description: A Helm chart for Kubernetes cronjob
type: application

version: 0.11.0
version: 0.11.1

keywords:
- cronjob
Expand Down
2 changes: 1 addition & 1 deletion charts/default-base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: default-base
description: A Helm chart for Kubernetes - default-base for namespaces

version: 0.11.0
version: 0.11.1

keywords:
- BackendConfig
Expand Down
2 changes: 1 addition & 1 deletion charts/ingress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ingress
description: A Helm chart for Kubernetes ingress
type: application

version: 0.11.0
version: 0.11.1

keywords:
- ingress
Expand Down
2 changes: 1 addition & 1 deletion charts/job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: job
description: A Helm chart for Kubernetes job
type: application

version: 0.11.0
version: 0.11.1

keywords:
- job
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-rules/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: prometheus-rules
description: A Helm chart for Prometheus Rules
type: application

version: 0.11.0
version: 0.11.1

keywords:
- job
Expand Down
2 changes: 1 addition & 1 deletion charts/rbac/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: rbac
description: A Helm chart for Kubernetes rbac
type: application

version: 0.11.0
version: 0.11.1

keywords:
- rbac
Expand Down
2 changes: 1 addition & 1 deletion charts/service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: service
description: A Helm chart for Kubernetes service
type: application

version: 0.11.0
version: 0.11.1

keywords:
- service
Expand Down

0 comments on commit 38d3a80

Please sign in to comment.