Skip to content

Commit bd08da0

Browse files
committed
set default webapp container
1 parent d619e79 commit bd08da0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hosting/k8s/helm/templates/webapp.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ spec:
4848
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
4949
template:
5050
metadata:
51-
{{- with .Values.webapp.podAnnotations }}
5251
annotations:
52+
kubectl.kubernetes.io/default-container: webapp
53+
{{- with .Values.webapp.podAnnotations }}
5354
{{- toYaml . | nindent 8 }}
54-
{{- end }}
55+
{{- end }}
5556
labels:
5657
{{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
5758
spec:

0 commit comments

Comments
 (0)