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:
@@ -11,17 +11,19 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: {{ .Release.Name }}
|
app: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
rollme: {{ randAlphaNum 5 | quote }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Release.Name }}
|
- name: {{ .Release.Name }}
|
||||||
image: grafana/grafana:7.3.7
|
image: grafana/grafana:latest
|
||||||
env:
|
env:
|
||||||
- name: GF_AUTH_ANONYMOUS_ENABLED
|
- name: GF_AUTH_ANONYMOUS_ENABLED
|
||||||
value: "false"
|
value: "false"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 256Mi
|
memory: 1Gi
|
||||||
cpu: 100m
|
cpu: 1m
|
||||||
limits:
|
limits:
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
cpu: '1'
|
cpu: '1'
|
||||||
|
|||||||
Reference in New Issue
Block a user