Skip to content

Commit

Permalink
optional client_secret parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
suberti-ads committed Nov 29, 2024
1 parent f73c432 commit 0d135bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rs-server-station-secrets/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ data:
RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__USERNAME: {{ $value.authentication.username | b64enc | quote }}
RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__PASSWORD: {{ $value.authentication.password | b64enc | quote }}
RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__CLIENT__ID: {{ $value.authentication.client_id | b64enc | quote }}
RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__CLIENT__SECRET: {{ $value.authentication.client_secret | b64enc | quote }}
{{ if $value.authentication.client_secret }}RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__CLIENT__SECRET: {{ $value.authentication.client_secret | b64enc | quote }}{{ end }}
{{ if $value.authentication.authorization }}RSPY__TOKEN__{{ $value.service.name | upper }}__{{ $key | upper }}__AUTHENTICATION__AUTHORIZATION: {{ $value.authentication.authorization | b64enc | quote }}{{ end }}
{{- end }}

0 comments on commit 0d135bd

Please sign in to comment.