Add default-container annotation to foolproof exec and logs commands (#44)
This commit is contained in:
@@ -5,10 +5,11 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "helm-chart.labels" . | nindent 4 }}
|
{{- include "helm-chart.labels" . | nindent 4 }}
|
||||||
{{- if .Values.gitSha }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
kubectl.kubernetes.io/default-container: {{ template "robustName" .Release.Name }}
|
||||||
|
{{- if .Values.gitSha }}
|
||||||
gimlet.io/git-sha: {{ .Values.gitSha }}
|
gimlet.io/git-sha: {{ .Values.gitSha }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.replicas }}
|
replicas: {{ .Values.replicas }}
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user