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 | `{}` |
| `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` |

2
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 }}

7
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:
#

Loading…
Cancel
Save