Updating charts to use common resource template
[oom.git] / kubernetes / portal / charts / portal-cassandra / templates / deployment.yaml
index 38c6028..0adf4e1 100644 (file)
@@ -83,7 +83,7 @@ spec:
         - name: {{ include "common.fullname" . }}-data
           mountPath: /var/lib/cassandra/data
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}