diff --git a/charts/v3-oracle/Chart.yaml b/charts/v3-oracle/Chart.yaml index 5478efa41..5df60e063 100644 --- a/charts/v3-oracle/Chart.yaml +++ b/charts/v3-oracle/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: v3-oracle -version: 3.2.5 +version: 3.3.5 appVersion: v1.0.1 kubeVersion: "^1.14.0-0" description: The StakeWise application for submitting off-chain data to smart contracts. diff --git a/charts/v3-oracle/templates/statefulset.yaml b/charts/v3-oracle/templates/statefulset.yaml index 89a14edd6..600b25e96 100644 --- a/charts/v3-oracle/templates/statefulset.yaml +++ b/charts/v3-oracle/templates/statefulset.yaml @@ -72,7 +72,7 @@ spec: - name: wallet mountPath: /wallet {{- end }} - {{- with .Values.resources }} + {{- with .Values.resources.api }} resources: {{ toYaml . | nindent 12 | trim }} {{- end }} @@ -95,7 +95,7 @@ spec: - name: wallet mountPath: /wallet {{- end }} - {{- with .Values.resources }} + {{- with .Values.resources.worker }} resources: {{ toYaml . | nindent 12 | trim }} {{- end }} diff --git a/charts/v3-oracle/values.yaml b/charts/v3-oracle/values.yaml index 23e7c0b06..b0701320c 100644 --- a/charts/v3-oracle/values.yaml +++ b/charts/v3-oracle/values.yaml @@ -60,9 +60,20 @@ image: ## http://kubernetes.io/docs/user-guide/compute-resources/ ## resources: - requests: - cpu: 500m - memory: 1Gi + api: + requests: + cpu: "1" + memory: "1Gi" + limits: + cpu: "1" + memory: "1Gi" + worker: + requests: + cpu: "2" + memory: "2Gi" + limits: + cpu: "2" + memory: "2Gi" ## Used to assign priority to pod ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/