Skip to content

Commit 43ce6fe

Browse files
committed
CH-232 template fix
1 parent f431bbc commit 43ce6fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deployment-configuration/helm/templates/auto-deployments.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,15 @@ spec:
120120
mountPath: /opt/cloudharness/resources/secrets/{{ $dep }}
121121
readOnly: true
122122
{{- end }}
123+
124+
125+
{{- end }}
123126
{{- if or (has "accounts" .app.harness.dependencies.hard) (eq .app.harness.name "accounts") }}
124127
{{/* legacy path for accounts auth resources mount */}}
125-
{{- if eq $dep "accounts" }}
126128
- name: cloudharness-accounts
127129
mountPath: /opt/cloudharness/resources/auth
128130
readOnly: true
129131
{{- end }}
130-
{{- end }}
131132
{{- if .app.harness.deployment.volume }}
132133
- name: {{ .app.harness.deployment.volume.name }}
133134
mountPath: {{ .app.harness.deployment.volume.mountpath }}

0 commit comments

Comments
 (0)