Skip to content

Commit

Permalink
Update webhook cert value in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedwaleedmalik committed Nov 30, 2020
1 parent cad244e commit 05bd5c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/jira-service-desk-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Create the name of the service account to use
Create the name of the tls secret to use
*/}}
{{- define "jira-service-desk-operator.tlsSecretName" -}}
{{- if .Values.tlsSecretName }}
{{- .Values.tlsSecretName }}
{{- if .Values.webhook.certs.secret }}
{{- .Values.webhook.certs.secret }}
{{- else }}
{{- printf "%s-webhook-server-cert" (include "jira-service-desk-operator.fullname" .) }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions charts/jira-service-desk-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ fullnameOverride: ""
watchNamespaces: []
configSecretName: "jira-service-desk-config"

tlsSecretName: ""

# Webhook Configuration
webhook:
enabled: true
certs:
secret: ""

service:
type: ClusterIP
Expand Down

0 comments on commit 05bd5c3

Please sign in to comment.