diff options
Diffstat (limited to 'kubernetes/appc/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/appc/templates/statefulset.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml index 6dde017e2e..9453bd9677 100644 --- a/kubernetes/appc/templates/statefulset.yaml +++ b/kubernetes/appc/templates/statefulset.yaml @@ -39,7 +39,7 @@ spec: - /root/ready.py args: - --container-name - - {{ .Values.mysql.nameOverride }} + - {{.Values.config.mariadbGaleraContName}} env: - name: NAMESPACE valueFrom: @@ -145,8 +145,8 @@ spec: name: log-config subPath: org.ops4j.pax.logging.cfg resources: -{{ toYaml .Values.resources | indent 12 }} - {{- if .Values.nodeSelector }} +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} + {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} {{- end -}} |