Browse Source

Fixing deployment

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 years ago
parent
commit
5ae4e4a7a2
1 changed files with 5 additions and 5 deletions
  1. 5 5
      deploy/charts/external-secrets/templates/deployment.yaml

+ 5 - 5
deploy/charts/external-secrets/templates/deployment.yaml

@@ -65,11 +65,6 @@ spec:
             {{- end }}
             {{- end }}
           {{- end }}
           {{- end }}
           {{- end }}
           {{- end }}
-          {{- if .Values.webhook.enabled }}
-          volumeMounts:
-          - name: certs
-            mountPath: {{ .Values.webhook.certDir }}
-          {{- end }}
           ports:
           ports:
             - containerPort: {{ .Values.prometheus.service.port }}
             - containerPort: {{ .Values.prometheus.service.port }}
               protocol: TCP
               protocol: TCP
@@ -113,6 +108,11 @@ spec:
             {{- end }}
             {{- end }}
           {{- end }}
           {{- end }}
           {{- end }}
           {{- end }}
+          {{- if .Values.webhook.enabled }}
+          volumeMounts:
+          - name: certs
+            mountPath: {{ .Values.webhook.certDir }}
+          {{- end }}
           ports:
           ports:
             - containerPort: 9443
             - containerPort: 9443
               protocol: TCP
               protocol: TCP