Adding tempaltes cache volume
This commit is contained in:
parent
bb81224eef
commit
b302eefa85
@ -14,7 +14,7 @@ type: application
|
|||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
version: 0.1.5
|
version: 0.1.6
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
|
|||||||
@ -58,6 +58,8 @@ spec:
|
|||||||
- name: watcher-config
|
- name: watcher-config
|
||||||
mountPath: /config/templates
|
mountPath: /config/templates
|
||||||
subPath: templates
|
subPath: templates
|
||||||
|
- name: templates-cache
|
||||||
|
mountPath: /watcher3/templates/cache
|
||||||
- name: watcher-media-pv
|
- name: watcher-media-pv
|
||||||
mountPath: /media
|
mountPath: /media
|
||||||
- name: {{ .Chart.Name }}-sidecar
|
- name: {{ .Chart.Name }}-sidecar
|
||||||
@ -80,6 +82,8 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: app-local-config
|
- name: app-local-config
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: templates-cache
|
||||||
|
emptyDir: {}
|
||||||
- name: watcher-media-pv
|
- name: watcher-media-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
|
|||||||
@ -29,6 +29,7 @@ securityContext:
|
|||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 1003
|
runAsUser: 1003
|
||||||
|
runAsGroup: 1003
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user