Skip to content

Commit

Permalink
Use default function for default containerName.
Browse files Browse the repository at this point in the history
  • Loading branch information
udhos committed Nov 26, 2024
1 parent 4a59e18 commit 382ebe0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions charts/karpenter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ spec:
hostNetwork: true
{{- end }}
containers:
{{- if .Values.controller.containerName }}
- name: {{ .Values.controller.containerName }}
{{- else }}
- name: controller
{{- end }}
- name: {{ .Values.controller.containerName | default "controller" }}
securityContext:
runAsUser: 65532
runAsGroup: 65532
Expand Down

0 comments on commit 382ebe0

Please sign in to comment.