Support for Gimlet metadata annotations
This commit is contained in:
@@ -5,6 +5,15 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "staticSite.labels" . | nindent 4 }}
|
{{- include "staticSite.labels" . | nindent 4 }}
|
||||||
|
{{- if or .Values.gitRepository .Values.gitSha }}
|
||||||
|
annotations:
|
||||||
|
{{- if .Values.gitRepository }}
|
||||||
|
gimlet.io/git-repository: {{ .Values.gitRepository }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.gitSha }}
|
||||||
|
gimlet.io/git-sha: {{ .Values.gitSha }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user