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 }}
|
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.ui.repository }}:{{ .Values.image.longhorn.ui.tag }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
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:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
name: http
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: LONGHORN_MANAGER_IP
|
- name: LONGHORN_MANAGER_IP
|
||||||
value: "http://longhorn-backend:9500"
|
value: "http://longhorn-backend:9500"
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 2000
|
||||||
|
runAsGroup: 3000
|
||||||
|
runAsUser: 1000
|
||||||
|
volumes:
|
||||||
|
- emptyDir: {}
|
||||||
|
name: cache-volume
|
||||||
{{- if .Values.privateRegistry.registrySecret }}
|
{{- if .Values.privateRegistry.registrySecret }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ .Values.privateRegistry.registrySecret }}
|
- name: {{ .Values.privateRegistry.registrySecret }}
|
||||||
|
@ -1126,13 +1126,27 @@ spec:
|
|||||||
image: longhornio/longhorn-ui:v1.2.3
|
image: longhornio/longhorn-ui:v1.2.3
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
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:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
name: http
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: LONGHORN_MANAGER_IP
|
- name: LONGHORN_MANAGER_IP
|
||||||
value: "http://longhorn-backend:9500"
|
value: "http://longhorn-backend:9500"
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 2000
|
||||||
|
runAsGroup: 3000
|
||||||
|
runAsUser: 1000
|
||||||
|
volumes:
|
||||||
|
- emptyDir: {}
|
||||||
|
name: cache-volume
|
||||||
# imagePullSecrets:
|
# imagePullSecrets:
|
||||||
# - name: ""
|
# - name: ""
|
||||||
# priorityClassName:
|
# priorityClassName:
|
||||||
|
Loading…
Reference in New Issue
Block a user