Skip to content

Commit

Permalink
fix: updating flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
saumilmac committed Mar 20, 2024
1 parent dc3372a commit bea70f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/snyk-broker/templates/broker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
httpGet:
port: {{ .Values.deployment.container.containerPort }}
path: {{ .Values.brokerLivenessProbe.path }}
{{- if .Values.httpsEnabled }}
{{- if .Values.enableBrokerServerOverHttps }}
scheme: HTTPS
{{- else }}
scheme: HTTP
Expand All @@ -70,7 +70,7 @@ spec:
httpGet:
port: {{ .Values.deployment.container.containerPort }}
path: {{ .Values.brokerReadinessProbe.path }}
{{- if .Values.httpsEnabled }}
{{- if .Values.enableBrokerServerOverHttps }}
scheme: HTTPS
{{- else }}
scheme: HTTP
Expand Down
4 changes: 3 additions & 1 deletion charts/snyk-broker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ logLevel: "info"
logEnableBody: "false"

##### Enable HTTPS #####
httpsEnabled: false

# To enable broker client to run a HTTPS server enable enableBrokerServerOverHttps flag and also provide location of HTTPS_CERT and HTTPS_KEY
enableBrokerServerOverHttps: false

# Location of mounted cert
httpsCert: ""
Expand Down

0 comments on commit bea70f9

Please sign in to comment.