Add default-container annotation to foolproof exec and logs commands (#44)

This commit is contained in:
szabogabor91
2022-06-24 13:31:38 +02:00
committed by GitHub
parent 95b686d20c
commit 5e19d886e5
+3 -2
View File
@@ -5,10 +5,11 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "helm-chart.labels" . | nindent 4 }}
{{- if .Values.gitSha }}
annotations:
kubectl.kubernetes.io/default-container: {{ template "robustName" .Release.Name }}
{{- if .Values.gitSha }}
gimlet.io/git-sha: {{ .Values.gitSha }}
{{- end }}
{{- end }}
spec:
replicas: {{ .Values.replicas }}
selector: