Skip to content

Commit

Permalink
Merge pull request #138 from indiealexhcloud/feature/non-priv-port-de…
Browse files Browse the repository at this point in the history
…fault

Use non-privileged port for webhook by default
  • Loading branch information
happytreees authored Oct 17, 2024
2 parents 94df500 + 49e86b9 commit 9e84d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/cert-manager-webhook-vultr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ spec:
args:
- --tls-cert-file=/tls/tls.crt
- --tls-private-key-file=/tls/tls.key
- --secure-port={{ .Values.webhook.port }}
env:
- name: GROUP_NAME
value: {{ .Values.groupName | quote }}
ports:
- name: https
containerPort: 443
containerPort: {{ .Values.webhook.port }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
3 changes: 3 additions & 0 deletions deploy/cert-manager-webhook-vultr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ image:
nameOverride: ""
fullnameOverride: ""

webhook:
port: 4443

service:
type: ClusterIP
port: 443
Expand Down

0 comments on commit 9e84d9b

Please sign in to comment.