1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Apply Operator.storage filters

This commit is contained in:
James Keogh 2018-10-03 09:29:28 +01:00
parent d2a1a6dc1d
commit fece45f6c0

View file

@ -404,6 +404,8 @@ func main() {
},
Storage: ResourceOptions{
Create: "{{ .Values.Storage.Create }}",
FilterStart: "{{- if .Values.Storage.Create }}",
FilterEnd: "{{- end }}",
User: CommonOptions{
Namespace: "{{ .Release.Namespace }}",
RoleName: `{{ printf "%s-%s" .Release.Name "storages" | trunc 63 | trimSuffix "-" }}`,