Skip to content

Commit

Permalink
feat(oidc): allow for the use of secret csi drivers
Browse files Browse the repository at this point in the history
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com>
  • Loading branch information
rumstead committed Mar 8, 2024
1 parent 8c55d96 commit dade372
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions kiali-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,14 @@ spec:
{{- end }}
{{- range .Values.deployment.custom_secrets }}
- name: {{ .name }}
{{- if .csi}}
csi: {{ toYaml .csi | nindent 10 }}
{{- else }}
secret:
secretName: {{ .name }}
optional: {{ .optional | default false }}
{{- end }}
{{- end }}
{{- range $key, $val := (include "kiali-server.remote-cluster-secrets" .) | fromJson }}
- name: {{ $key }}
secret:
Expand All @@ -179,10 +183,6 @@ spec:
secret:
secretName: {{ .secret_name }}
{{- end }}
{{- range .Values.deployment.csiVolumes }}
- name: {{ .name }}
csi: {{ toYaml .csi | nindent 10 }}
{{- end }}
{{- if or (.Values.deployment.affinity.node) (or (.Values.deployment.affinity.pod) (.Values.deployment.affinity.pod_anti)) }}
affinity:
{{- if .Values.deployment.affinity.node }}
Expand Down
1 change: 0 additions & 1 deletion kiali-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ deployment:
tolerations: []
version_label: ${HELM_IMAGE_TAG} # v1.39 # v1.39.0 # see: https://quay.io/repository/kiali/kiali?tab=tags
view_only_mode: false
csiVolumes: []
external_services:
custom_dashboards:
enabled: true
Expand Down

0 comments on commit dade372

Please sign in to comment.