Fix invalid yaml errors in openreplay chart (#1031)

* fix duplicate restartPolicy yaml error in openreplay chart

* hard-code efs-cleaner to alpine
This commit is contained in:
Jacob Martin 2023-03-13 09:48:53 -07:00 committed by GitHub
parent 4872f1f835
commit f93627901a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -26,7 +26,6 @@ spec:
containers:
- name: efs-cleaner
image: alpine
image: "{{ tpl .Values.efsCleaner.image.repository . }}:{{ .Values.efsCleaner.image.tag | default .Chart.AppVersion }}"
command:
- /bin/sh
- -c
@ -44,7 +43,6 @@ spec:
volumeMounts:
- mountPath: /mnt/efs
name: datadir
restartPolicy: Never
{{- if eq (tpl .Values.efsCleaner.pvc.name . ) "hostPath" }}
volumes:
- name: datadir

View file

@ -5,10 +5,6 @@
replicaCount: 1
efsCleaner:
image:
repository: "{{ .Values.global.openReplayContainerRegistry }}/alpine"
pullPolicy: Always
tag: 3.16.1
retention: 2
pvc:
# This can be either persistentVolumeClaim or hostPath.