Skip to content

Commit d5b935b

Browse files
authored
Merge pull request #1586 from porter-dev/main
push change that identifies the main container in a porter app to prod
2 parents 7896ddf + cb2916a commit d5b935b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

applications/job/templates/cronjob.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
template:
4040
metadata:
4141
annotations:
42+
kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
4243
{{- if .Values.safeToEvict }}
4344
"cluster-autoscaler.kubernetes.io/safe-to-evict": "true"
4445
{{- else }}

applications/web/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ spec:
5858
template:
5959
metadata:
6060
annotations:
61+
kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
6162
helm.sh/revision: {{ .Release.Revision | quote }}
6263
{{- with .Values.podAnnotations }}
6364
{{- toYaml . | nindent 8 }}

applications/worker/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
template:
2222
metadata:
2323
annotations:
24+
kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
2425
helm.sh/revision: {{ .Release.Revision | quote }}
2526
{{- with .Values.podAnnotations }}
2627
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)