diff --git a/plugins/contrib/charts/hasura/templates/deployment.yaml b/plugins/contrib/charts/hasura/templates/deployment.yaml index b3078a619d..68a8a7fd3e 100644 --- a/plugins/contrib/charts/hasura/templates/deployment.yaml +++ b/plugins/contrib/charts/hasura/templates/deployment.yaml @@ -8,7 +8,7 @@ metadata: namespace: {{ or .Values.namespace .Values.global.namespace }} annotations: {} spec: - replicas: {{ .Values.replicas }} + replicas: {{ or .Values.replicas .Values.global.replicas 1 }} selector: matchLabels: component: {{ (or .Values.component .Chart.Name) | lower }} diff --git a/plugins/contrib/charts/hasura/values.yaml b/plugins/contrib/charts/hasura/values.yaml index 6f8f895f55..048e57f913 100644 --- a/plugins/contrib/charts/hasura/values.yaml +++ b/plugins/contrib/charts/hasura/values.yaml @@ -9,14 +9,19 @@ imagePackage: hasura imageTag: isProd: false isPreProd: false -replicas: 1 +replicas: containerPort: 8080 servicePort: 80 env: [] envFrom: [] envConfigName: probesPath: /healthz -probesPort: +probesPort: +startupProbe: + httpGet: + path: /healthz + port: http + failureThreshold: 120 resources: limits: cpu: