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:
|
||||
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 }}
|
||||
|
||||
Reference in New Issue
Block a user