Skip to content

Commit

Permalink
Fix handling of array for groups in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 19, 2024
1 parent 5c1bcbb commit 81db36e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/opserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.8
version: 1.0.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
12 changes: 8 additions & 4 deletions charts/opserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,14 @@ spec:
value: "true"
- name: Security__Name
value: "Okta"
- name: Security__ViewEverythingGroups
value: {{ .Values.opserverSettings.security.viewGroups | quote }}
- name: Security__AdminEverythingGroups
value: {{ .Values.opserverSettings.security.adminGroups | quote }}
{{- range $i, $groupName := .Values.security.viewGroups }}
- name: Security__ViewEverythingGroups__{{ $i }}
value: {{ $groupName | quote }}
{{- end }}
{{- range $i, $groupName := .Values.security.adminGroups }}
- name: Security__AdminEverythingGroups__{{ $i }}
value: {{ $groupName | quote }}
{{- end }}
- name: Security__ClientId
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 81db36e

Please sign in to comment.