diff --git a/charts/opensearch-cluster/templates/opensearch-cluster-cr.yaml b/charts/opensearch-cluster/templates/opensearch-cluster-cr.yaml index e08132ca..79f3b70b 100644 --- a/charts/opensearch-cluster/templates/opensearch-cluster-cr.yaml +++ b/charts/opensearch-cluster/templates/opensearch-cluster-cr.yaml @@ -27,6 +27,10 @@ spec: imagePullSecrets: {{ toYaml .Values.opensearchCluster.initHelper.imagePullSecrets | nindent 6 }} {{- end }} + {{- if .Values.opensearchCluster.initHelper.resources }} + resources: + {{- toYaml .Values.opensearchCluster.initHelper.resources | nindent 6 }} + {{- end }} {{- end }} general: {{- if .Values.opensearchCluster.general.version }} diff --git a/charts/opensearch-cluster/values.yaml b/charts/opensearch-cluster/values.yaml index c0cc622f..2841ea81 100644 --- a/charts/opensearch-cluster/values.yaml +++ b/charts/opensearch-cluster/values.yaml @@ -27,6 +27,17 @@ opensearchCluster: limits: memory: "1Gi" cpu: "500m" + initHelper: + imagePullSecrets: [] + # - registryKeySecretName + imagePullPolicy: IfNotPresent + resources: {} + # requests: + # memory: "1Gi" + # cpu: "500m" + # limits: + # memory: "1Gi" + # cpu: "500m" nodePools: - component: masters diskSize: "30Gi"