Skip to content

Commit

Permalink
use values directly
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Jun 13, 2024
1 parent 34b917d commit 4ad6ca6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
15 changes: 0 additions & 15 deletions charts/camunda-platform-latest/templates/console/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,3 @@ Get the image pull secrets.
"context" $
) -}}
{{- end }}

{{/*
[console] Define variables related to authentication.
*/}}
{{- define "console.authClientId" -}}
{{- .Values.global.identity.auth.console.clientId -}}
{{- end -}}

{{- define "console.authAudience" -}}
{{- .Values.global.identity.auth.console.clientApiAudience -}}
{{- end -}}

{{- define "console.authWellKnown" -}}
{{- .Values.global.identity.auth.console.wellKnown -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ data:
camunda:
console:
oAuth:
clientId: {{ include "console.authClientId" . | quote }}
clientId: {{ .Values.global.identity.auth.console.clientId | quote }}
issuer: {{ include "camundaPlatform.authIssuerUrl" . | quote }}
audience: {{ include "console.authAudience" . | quote }}
audience: {{ .Values.global.identity.auth.console.clientApiAudience | quote }}
jwksUri: {{ include "camundaPlatform.authIssuerBackendUrlCertsEndpoint" . | quote }}
type: {{ include "camundaPlatform.authType" . | quote }}
wellKnown: {{ include "console.authWellKnown" . | quote }}
wellKnown: {{ .Values.global.identity.auth.console.wellKnown | quote }}
managed:
method: plain
releases:
Expand Down

0 comments on commit 4ad6ca6

Please sign in to comment.