We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f50cd commit e0ae60aCopy full SHA for e0ae60a
templates/deployments.yaml
@@ -2,6 +2,14 @@
2
{{- if and .Values.st2.packs.image }}
3
{{- fail "Value st2.packs.image was renamed to st2.packs.images and is now a list of images" }}
4
{{- end }}
5
+{{- if .Values.st2.packs.volumes.enabled }}
6
+ {{- if .Values.st2.packs.images }}
7
+{{- fail "st2.packs.images is not compatible with st2.packs.volumes.enabled. Please use only one method for setting up packs directories." }}
8
+ {{- end }}
9
+ {{- if not (and .Values.st2.packs.volumes.packs .Values.st2.packs.volumes.virtualenvs) }}
10
+{{- fail "Volume definition(s) missing! When st2.packs.volumes.enabled, you must define volumes for both packs and virtualenvs." }}
11
12
+{{- end }}
13
14
---
15
apiVersion: apps/v1
0 commit comments