Update deploy with rollme and imagepullpolicy

Add random annotation and imagePullPolicy Always to ensure helm upgrade
always pulls a new image.
This commit is contained in:
ducoterra
2021-05-04 13:00:44 -04:00
parent 1c7037f0b4
commit d729f6c6ba

View File

@@ -11,17 +11,19 @@ spec:
metadata:
labels:
app: {{ .Release.Name }}
annotations:
rollme: {{ randAlphaNum 5 | quote }}
spec:
containers:
- name: {{ .Release.Name }}
image: grafana/grafana:7.3.7
image: grafana/grafana:latest
env:
- name: GF_AUTH_ANONYMOUS_ENABLED
value: "false"
resources:
requests:
memory: 256Mi
cpu: 100m
memory: 1Gi
cpu: 1m
limits:
memory: 1Gi
cpu: '1'
@@ -33,4 +35,4 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: {{ .Release.Name }}
claimName: {{ .Release.Name }}