Skip to content

Commit 55ec85c

Browse files
authored
Merge pull request #5 from codex-team/fix-deployment-strategy
fix deployment strategy type
2 parents a8437a4 + 33c42b2 commit 55ec85c

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: codex-docs
33
description: A Helm chart for CodeX Docs
44
type: application
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: "v0.2.0"

templates/deployment.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ metadata:
55
labels:
66
{{- include "codexdocs.labels" . | nindent 4 }}
77
spec:
8-
{{- if not .Values.autoscaling.enabled }}
9-
replicas: {{ .Values.replicaCount }}
10-
{{- end }}
8+
{{/* {{- if not .Values.autoscaling.enabled }}*/}}
9+
{{/* replicas: {{ .Values.replicaCount }}*/}}
10+
{{/* {{- end }}*/}}
11+
replicas: 1
12+
strategy:
13+
type: Recreate
1114
selector:
1215
matchLabels:
1316
{{- include "codexdocs.selectorLabels" . | nindent 6 }}

values.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
replicaCount: 1
1+
#replicaCount: 1
22

33
configuration:
44
codexdocsrc:
@@ -75,12 +75,6 @@ ingress:
7575

7676
resources: {}
7777

78-
autoscaling:
79-
enabled: false
80-
minReplicas: 1
81-
maxReplicas: 100
82-
targetCPUUtilizationPercentage: 80
83-
8478
nodeSelector: {}
8579

8680
tolerations: []

0 commit comments

Comments
 (0)