diff --git a/helm/squidex7/README.md b/helm/squidex7/README.md index 944064a33..da1aab000 100644 --- a/helm/squidex7/README.md +++ b/helm/squidex7/README.md @@ -52,8 +52,7 @@ The command removes all the Kubernetes components associated with the chart and | `labels` | Labels to add to the deployment | `{}` | | `service.type` | Kubernetes Service type | `ClusterIP` | | `service.port` | Kubernetes Service port | `8080` | -| `deployment.replicaCount` | Number of replicas (ignored if autoscaling enabled) | `3` | -| `deployment.worker.replicaCount` | Number of worker instances | `1` | +| `deployment.replicaCount` | Number of replicas (ignored if autoscaling enabled) | `1` | | `deployment.revisionHistoryLimit` | Number of revision history | `2` | | `deployment.serviceAccountName` | Name of the service account to use | `""` | | `deployment.strategy.type` | Deployment strategy type | `RollingUpdate` | diff --git a/helm/squidex7/templates/deployment-worker.yaml b/helm/squidex7/templates/deployment-worker.yaml index 9bd8a79fa..276ef2e79 100644 --- a/helm/squidex7/templates/deployment-worker.yaml +++ b/helm/squidex7/templates/deployment-worker.yaml @@ -6,7 +6,7 @@ metadata: {{- include "squidex.labels" . | indent 4 }} app.kubernetes.io/role: worker spec: - replicas: {{ .Values.deployment.worker.replicaCount }} + replicas: 1 revisionHistoryLimit: {{ .Values.deployment.revisionHistoryLimit }} strategy: {{- toYaml .Values.deployment.strategy | nindent 4 }} diff --git a/helm/squidex7/values.yaml b/helm/squidex7/values.yaml index 678b195e9..c50bba7e4 100644 --- a/helm/squidex7/values.yaml +++ b/helm/squidex7/values.yaml @@ -17,10 +17,7 @@ service: deployment: ## @param deployment.replicaCount Number of replicas (ignored if autoscaling enabled) - replicaCount: 3 - worker: - ## @param deployment.worker.replicaCount Number of worker instances - replicaCount: 1 # only one worker supported + replicaCount: 1 ## @param deployment.revisionHistoryLimit [default: 2] Number of revision history revisionHistoryLimit: 2 ## @param deployment.serviceAccountName Name of the service account to use @@ -150,7 +147,7 @@ clusterSuffix: cluster.local runAsNonRoot: true ## @skip podSecurityContext - object - optional -## You can modify the security context used to run PODS in the cluster +## You can modify the security context userepd to run PODS in the cluster ## For information regarding which settings are required per policy see: https://kubernetes.io/docs/concepts/security/pod-security-standards/ ## An example that follows the Restricted profile is described below: #