Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Kleineweber committed Jun 24, 2021
1 parent eddf30b commit 4465161
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data:
{{- end }}
OAUTH2_PROXY_SSL_INSECURE_SKIP_VERIFY: {{ not .Values.authProxy.config.tlsVerify | toString | b64enc | quote }}
{{- if .Values.authProxy.config.useKymaGroups }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "kiali.authProxy.kymaGroups" . | b64enc | quote }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "kiali.kyma.authProxy.kymaGroups" . | b64enc | quote }}
{{- else if .Values.authProxy.config.groups }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ .Values.authProxy.config.groups | b64enc | quote }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion resources/tracing/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{- define "jaeger-operator.authProxy.kymaGroups" -}}
{{- define "jaeger-operator.kyma.authProxy.kymaGroups" -}}
{{- printf "%s,%s,%s,%s" .Values.global.kymaRuntime.adminGroup .Values.global.kymaRuntime.operatorGroup .Values.global.kymaRuntime.developerGroup .Values.global.kymaRuntime.namespaceAdminGroup -}}
{{- end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:
{{- end }}
OAUTH2_PROXY_SSL_INSECURE_SKIP_VERIFY: {{ not .Values.authProxy.config.tlsVerify | toString | b64enc | quote }}
{{- if .Values.authProxy.config.useKymaGroups }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "jaeger-operator.authProxy.kymaGroups" . | b64enc | quote }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ template "jaeger-operator.kyma.authProxy.kymaGroups" . | b64enc | quote }}
{{- else if .Values.authProxy.config.groups }}
OAUTH2_PROXY_ALLOWED_GROUPS: {{ .Values.authProxy.config.groups | b64enc | quote }}
{{- end }}
Expand Down

0 comments on commit 4465161

Please sign in to comment.