Skip to content

Commit

Permalink
add disable block
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo committed Jul 23, 2024
1 parent 5460022 commit 40ae42d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/karpenter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ spec:
- name: https-webhook
containerPort: {{ .Values.webhook.port }}
protocol: TCP
{{- end }}
{{- if not .Values.webhook.enabled }}
- name: DISABLE_WEBHOOK
value: "true"
{{- end }}
- name: http
containerPort: {{ .Values.controller.healthProbe.port }}
Expand Down

0 comments on commit 40ae42d

Please sign in to comment.