Skip to content

Commit

Permalink
Update ui.tmpl (#513)
Browse files Browse the repository at this point in the history
Adding global scope to the variable, since its unavailbale from the local

Signed-off-by: DmitrievStepan <61726889+DmitrievStepan@users.noreply.github.com>
  • Loading branch information
DmitrievStepan authored Oct 15, 2024
1 parent 2a2c854 commit 30108bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/policy-reporter/configs/ui.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ui:

{{- $default := false -}}
{{- range .Values.ui.clusters }}
{{- if eq .name .Values.ui.name -}}
{{- if eq .name $.Values.ui.name -}}
{{- $default = true -}}
{{- end -}}
{{- end }}
Expand Down Expand Up @@ -67,4 +67,4 @@ openIDConnect:
{{- with .Values.ui.oauth }}
oauth:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

0 comments on commit 30108bd

Please sign in to comment.