Skip to content

Commit

Permalink
adds secretKeyName
Browse files Browse the repository at this point in the history
  • Loading branch information
timbastin committed Jun 18, 2024
1 parent 5aa695e commit 400a59c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/flawfix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.9
version: 0.4.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.4.9"
appVersion: "0.4.10"
3 changes: 2 additions & 1 deletion charts/flawfix/templates/kratos/kratos-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ spec:
- name: "SELFSERVICE_METHODS_OIDC_CONFIG_PROVIDERS_0_CLIENT_SECRET"
valueFrom:
secretKeyRef:
key: "{{ .Values.oidc.github.existingClientSecret }}"
name: "{{ .Values.oidc.github.existingClientSecret }}"
key: "secret"
{{- end }}
securityContext:
allowPrivilegeEscalation: false
Expand Down
2 changes: 1 addition & 1 deletion charts/flawfix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ oidc:
github:
enabled: false
clientId:
existingClientSecret: github-client-secret
existingClientSecret: github-client-secret # needs to contain key "secret"

mail:
# needs to contain key: "uri". Format should be like: smtps://<user>@<your-domain.com>:<secret>@<mail-server.de>:465/?skip_ssl_verify=false
Expand Down

0 comments on commit 400a59c

Please sign in to comment.