Skip to content

Commit

Permalink
Separate out secured and insecured port Helm values (#1488)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sim <ivan.sim@kasten.io>
  • Loading branch information
ihcsim committed Jun 16, 2022
1 parent 4297c8d commit c33f40f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/kanister-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ on the value of bpValidatingWebhook.enabled
{{- if .Values.bpValidatingWebhook.enabled -}}
{{ .Values.controller.service.port }}
{{- else -}}
{{ 8000 }}
{{ .Values.controller.service.insecuredPort }}
{{- end -}}
{{- end -}}
3 changes: 3 additions & 0 deletions helm/kanister-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ serviceAccount:
annotations:
controller:
service:
# port is used as the secured service port if the validating
# webhook is enabled. Otherwise, insecuredPort is used.
port: 443
insecuredPort: 8000
# updateCRDs specifies if kanister controller should create/update the CRDs
# false : CRDs would be created by helm
# true : CRDs would be created by kanister controller
Expand Down

0 comments on commit c33f40f

Please sign in to comment.