diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index af7401f..5410605 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -4,6 +4,11 @@ metadata: name: {{ .Release.Name }}-deployment spec: replicas: {{ .Values.replicaCount }} + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 + maxSurge: 0 selector: matchLabels: app: {{ .Release.Name }} diff --git a/chart/values.yaml b/chart/values.yaml index 51fc6ed..515c494 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,7 +1,7 @@ replicaCount: 1 image: - source: ghcr.io/syntax3rror404/k8s-devmachine@sha256:b371c8c87004c5c5647db48ed9bf3271108dab8239608d8dbe10e18e73d49374 + source: ghcr.io/syntax3rror404/k8s-devmachine@sha256:b371c8c87004c5c5647db48ed9bf3271108dab8239608d8dbe10e18e73d49374 pullPolicy: IfNotPresent service: