Updating charts to use common resource template
[oom.git] / kubernetes / oof / charts / oof-has / charts / oof-has-cassandra / templates / deployment.yaml
index f16b09f..aed92e5 100644 (file)
@@ -78,7 +78,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 }}