adding cache-volume to longhorn-ui
Signed-off-by: Matthew Mattox <Matt.Mattox@suse.com>
This commit is contained in:
parent
d970383384
commit
c7ed614cbc
@ -20,13 +20,27 @@ spec:
|
||||
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.ui.repository }}:{{ .Values.image.longhorn.ui.tag }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsUser: 1000
|
||||
volumeMounts:
|
||||
- mountPath: /var/cache/nginx/
|
||||
name: cache-volume
|
||||
- mountPath: /var/config/nginx/
|
||||
name: cache-volume
|
||||
- mountPath: /var/run/
|
||||
name: cache-volume
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
env:
|
||||
- name: LONGHORN_MANAGER_IP
|
||||
value: "http://longhorn-backend:9500"
|
||||
securityContext:
|
||||
fsGroup: 2000
|
||||
runAsGroup: 3000
|
||||
runAsUser: 1000
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: cache-volume
|
||||
{{- if .Values.privateRegistry.registrySecret }}
|
||||
imagePullSecrets:
|
||||
- name: {{ .Values.privateRegistry.registrySecret }}
|
||||
|
@ -1126,13 +1126,27 @@ spec:
|
||||
image: longhornio/longhorn-ui:v1.2.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsUser: 1000
|
||||
volumeMounts:
|
||||
- mountPath: /var/cache/nginx/
|
||||
name: cache-volume
|
||||
- mountPath: /var/config/nginx/
|
||||
name: cache-volume
|
||||
- mountPath: /var/run/
|
||||
name: cache-volume
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http
|
||||
env:
|
||||
- name: LONGHORN_MANAGER_IP
|
||||
value: "http://longhorn-backend:9500"
|
||||
securityContext:
|
||||
fsGroup: 2000
|
||||
runAsGroup: 3000
|
||||
runAsUser: 1000
|
||||
volumes:
|
||||
- emptyDir: {}
|
||||
name: cache-volume
|
||||
# imagePullSecrets:
|
||||
# - name: ""
|
||||
# priorityClassName:
|
||||
|
Loading…
Reference in New Issue
Block a user