Skip to content

Commit 1920bf9

Browse files
chore: sync the helm chart from the UI repo (#59)
Signed-off-by: Harikrishnan Balagopal <[email protected]>
1 parent dea7475 commit 1920bf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

helm-charts/move2kube/templates/move2kube-api-stateful-set.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
labels:
1717
move2kube.konveyor.io/service: "{{ .Release.Name }}-move2kubeapi"
1818
spec:
19+
{{- if .Values.persistentVolumeClaim.enable }}
1920
initContainers:
2021
- name: change-perms
2122
image: quay.io/konveyor/busybox
@@ -26,6 +27,7 @@ spec:
2627
- name: common-volume
2728
mountPath: /move2kube-api/data
2829
subPath: move2kube-api/data
30+
{{- end }}
2931
containers:
3032
- name: move2kubeapi
3133
image: "quay.io/konveyor/move2kube-ui:{{ .Values.deployment.api.imageTag | default .Chart.AppVersion }}"
@@ -62,7 +64,9 @@ spec:
6264
{{- end }}
6365
- name: common-volume
6466
mountPath: /move2kube-api/data
67+
{{- if .Values.persistentVolumeClaim.enable }}
6568
subPath: move2kube-api/data
69+
{{- end }}
6670
{{- if .Values.deployment.api.privilegedPods }}
6771
- mountPath: /var/lib/containers
6872
name: container-storage

0 commit comments

Comments
 (0)