Browse Source

Revert changes

pull/1218/head
Sebastian Stehle 1 year ago
parent
commit
29dd8dad7b
  1. 3
      helm/squidex7/README.md
  2. 2
      helm/squidex7/templates/deployment-worker.yaml
  3. 7
      helm/squidex7/values.yaml

3
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 | `{}` | | `labels` | Labels to add to the deployment | `{}` |
| `service.type` | Kubernetes Service type | `ClusterIP` | | `service.type` | Kubernetes Service type | `ClusterIP` |
| `service.port` | Kubernetes Service port | `8080` | | `service.port` | Kubernetes Service port | `8080` |
| `deployment.replicaCount` | Number of replicas (ignored if autoscaling enabled) | `3` | | `deployment.replicaCount` | Number of replicas (ignored if autoscaling enabled) | `1` |
| `deployment.worker.replicaCount` | Number of worker instances | `1` |
| `deployment.revisionHistoryLimit` | Number of revision history | `2` | | `deployment.revisionHistoryLimit` | Number of revision history | `2` |
| `deployment.serviceAccountName` | Name of the service account to use | `""` | | `deployment.serviceAccountName` | Name of the service account to use | `""` |
| `deployment.strategy.type` | Deployment strategy type | `RollingUpdate` | | `deployment.strategy.type` | Deployment strategy type | `RollingUpdate` |

2
helm/squidex7/templates/deployment-worker.yaml

@ -6,7 +6,7 @@ metadata:
{{- include "squidex.labels" . | indent 4 }} {{- include "squidex.labels" . | indent 4 }}
app.kubernetes.io/role: worker app.kubernetes.io/role: worker
spec: spec:
replicas: {{ .Values.deployment.worker.replicaCount }} replicas: 1
revisionHistoryLimit: {{ .Values.deployment.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.deployment.revisionHistoryLimit }}
strategy: strategy:
{{- toYaml .Values.deployment.strategy | nindent 4 }} {{- toYaml .Values.deployment.strategy | nindent 4 }}

7
helm/squidex7/values.yaml

@ -17,10 +17,7 @@ service:
deployment: deployment:
## @param deployment.replicaCount Number of replicas (ignored if autoscaling enabled) ## @param deployment.replicaCount Number of replicas (ignored if autoscaling enabled)
replicaCount: 3 replicaCount: 1
worker:
## @param deployment.worker.replicaCount Number of worker instances
replicaCount: 1 # only one worker supported
## @param deployment.revisionHistoryLimit [default: 2] Number of revision history ## @param deployment.revisionHistoryLimit [default: 2] Number of revision history
revisionHistoryLimit: 2 revisionHistoryLimit: 2
## @param deployment.serviceAccountName Name of the service account to use ## @param deployment.serviceAccountName Name of the service account to use
@ -150,7 +147,7 @@ clusterSuffix: cluster.local
runAsNonRoot: true runAsNonRoot: true
## @skip podSecurityContext - object - optional ## @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/ ## 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: ## An example that follows the Restricted profile is described below:
# #

Loading…
Cancel
Save