Skip to content

Commit

Permalink
Add enableWebhookSSL setting (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper7 committed Jan 17, 2023
1 parent de856eb commit ead96bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
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.9
version: 0.1.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
Expand Down
7 changes: 7 additions & 0 deletions charts/studio/templates/_env_vars.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@
name: studio
key: secretKey

- name: ENABLE_SSL_FOR_WEBHOOK
{{- if .Values.global.scmProviders.enableWebhookSSL }}
value: "True"
{{- else }}
value: "False"
{{- end }}

- name: GITHUB_APP_ID
{{- if .Values.global.scmProviders.github.appId }}
valueFrom:
Expand Down
3 changes: 3 additions & 0 deletions charts/studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ global:
databasePassword: "postgres"

scmProviders:
# Enable SSL for webhooks
enableWebhookSSL: true

github:
# -- GitHub enabled
enabled: false
Expand Down

0 comments on commit ead96bd

Please sign in to comment.