Updating charts to use common resource template
[oom.git] / kubernetes / oof / charts / oof-has / charts / oof-has-music / templates / deployment.yaml
index 7883340..9dc160f 100644 (file)
@@ -47,7 +47,7 @@ spec:
           image: "{{ include "common.repository" . }}/{{ .Values.image }}"   #"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
           # disable liveness probe when breakpoints set in debugger