Skip to content

Commit

Permalink
bug: Fix how GitHub private key is beeing rendered in secret. (#58)
Browse files Browse the repository at this point in the history
* bug: Fix how GitHub private key is beeing rendered in secret.

Additionaly add conditions for SCM settings generation

* doc: Bump chart Version

Co-authored-by: Marcin Jasion <[email protected]>
  • Loading branch information
mjasion and mjasion authored Jan 23, 2023
1 parent 97a01e6 commit 8e2d8f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.1.11
version: 0.1.12

# 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
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/templates/secret-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ stringData:
{{- end }}

{{- if .Values.global.scmProviders.github.privateKey }}
GITHUB_APP_PRIVATE_KEY_PEM: {{ .Values.global.scmProviders.github.privateKey }}
GITHUB_APP_PRIVATE_KEY_PEM: |- {{ .Values.global.scmProviders.github.privateKey | nindent 4 }}
{{- end }}

{{- if .Values.global.scmProviders.github.webhookSecret }}
Expand Down

0 comments on commit 8e2d8f7

Please sign in to comment.