File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ ImagePullPolicy: {{ .ImagePullPolicy | quote }}
148148RBAC:
149149 Create: {{ .RBAC }}
150150Storage:
151+ Create: {{ .Storage.Create }}
151152 User:
152153 ServiceAccountName: {{ .Storage.User.ServiceAccountName | quote }}
153154 Operator:
@@ -403,7 +404,9 @@ func main() {
403404 OperatorDeploymentName : "arango-deployment-replication-operator" , // Fixed name because only 1 is allowed per namespace
404405 },
405406 Storage : ResourceOptions {
406- Create : "{{ .Values.Storage.Create }}" ,
407+ Create : "{{ .Values.Storage.Create }}" ,
408+ FilterStart : "{{- if .Values.Storage.Create }}" ,
409+ FilterEnd : "{{- end }}" ,
407410 User : CommonOptions {
408411 Namespace : "{{ .Release.Namespace }}" ,
409412 RoleName : `{{ printf "%s-%s" .Release.Name "storages" | trunc 63 | trimSuffix "-" }}` ,
@@ -475,7 +478,7 @@ func main() {
475478 }
476479 // Execute to tmp buffer
477480 tmpBuf := & bytes.Buffer {}
478- t .Execute (tmpBuf , templateOptions )
481+ t .Execute (tmpBuf , chartTemplateOptions )
479482 // Add tmp buffer to output, unless empty
480483 if strings .TrimSpace (tmpBuf .String ()) != "" {
481484 if output .Len () > 0 {
You can’t perform that action at this time.
0 commit comments