Removed sidecar
This commit is contained in:
parent
afce3aa892
commit
7d4684b427
@ -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.2
|
version: 0.1.3
|
||||||
|
|
||||||
# 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.
|
||||||
|
|||||||
@ -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.10
|
version: 0.1.11
|
||||||
|
|
||||||
# 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.
|
||||||
|
|||||||
@ -43,48 +43,14 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: app-local-config
|
- name: watcher-config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
mountPropagation: HostToContainer
|
|
||||||
- name: watcher-config
|
|
||||||
mountPath: /config/backup
|
|
||||||
subPath: backup
|
|
||||||
- name: watcher-config
|
|
||||||
mountPath: /config/posters
|
|
||||||
subPath: posters
|
|
||||||
- name: watcher-config
|
|
||||||
mountPath: /config/logs
|
|
||||||
subPath: logs
|
|
||||||
- name: watcher-config
|
|
||||||
mountPath: /config/templates
|
|
||||||
subPath: templates
|
|
||||||
- name: watcher-media-pv
|
- name: watcher-media-pv
|
||||||
mountPath: /media
|
mountPath: /media
|
||||||
- name: {{ .Chart.Name }}-sidecar
|
|
||||||
image: harbor.ervine.dev/public/x86_64/alpine/db-sidecar:v3.12.0
|
|
||||||
imagePullPolicy: Always
|
|
||||||
env:
|
|
||||||
- name: LIVE_DB
|
|
||||||
value: /app-remote-config/watcher.sqlite
|
|
||||||
- name: BACKUP_DB
|
|
||||||
value: /app-remote-config/watcher.backup.sqlite
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
lifecycle:
|
|
||||||
preStop:
|
|
||||||
exec:
|
|
||||||
command:
|
|
||||||
- umount
|
|
||||||
- /mnt/app-local-config
|
|
||||||
volumeMounts:
|
|
||||||
- name: watcher-config
|
|
||||||
mountPath: /app-remote-config
|
|
||||||
- name: app-local-config
|
|
||||||
mountPath: /mnt/app-local-config
|
|
||||||
mountPropagation: Bidirectional
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: app-local-config
|
- name: watcher-config
|
||||||
emptyDir: {}
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.config.configPvc }}
|
||||||
- name: watcher-media-pv
|
- name: watcher-media-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.mediaPvc }}
|
claimName: {{ .Values.mediaPvc }}
|
||||||
@ -100,12 +66,3 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: watcher-config
|
|
||||||
spec:
|
|
||||||
accessModes: ['ReadWriteOnce']
|
|
||||||
storageClassName: {{ .Values.config.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ .Values.config.storageSize }}
|
|
||||||
|
|||||||
@ -68,7 +68,6 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client-hermes
|
configPvc: watcher-hermes-config-pvc
|
||||||
storageSize: 5Gi
|
|
||||||
|
|
||||||
mediaPvc: watcher-media-pvc
|
mediaPvc: watcher-media-pvc
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user