Skip to content

Commit 1bc5efb

Browse files
committed
chore(charts): change replicas location
1 parent bf76ea5 commit 1bc5efb

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

charts/helmbroker/templates/helmbroker-celery-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
annotations:
88
component.drycc.cc/version: {{ .Values.imageTag }}
99
spec:
10-
replicas: {{ .Values.celeryReplicas }}
10+
replicas: {{ .Values.celery.replicas }}
1111
strategy:
1212
rollingUpdate:
1313
maxSurge: 1

charts/helmbroker/templates/helmbroker-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
annotations:
88
component.drycc.cc/version: {{ .Values.imageTag }}
99
spec:
10-
replicas: {{ .Values.replicas }}
10+
replicas: {{ .Values.api.replicas }}
1111
strategy:
1212
rollingUpdate:
1313
maxSurge: 1

charts/helmbroker/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ imageOrg: "drycc-addons"
22
imageTag: "canary"
33
imageRegistry: "registry.drycc.cc"
44
imagePullPolicy: "Always"
5-
replicas: 1
5+
66

77
## Enable diagnostic mode
88
##
@@ -24,8 +24,6 @@ repositories:
2424
- name: drycc-helm-broker
2525
url: https://github.com/drycc/addons/releases/download/latest/index.yaml
2626

27-
celeryReplicas: 1
28-
2927
# broker_credentials:
3028
# Optional Usernames and passwords that will be required to communicate with service broker
3129
username: admin
@@ -42,6 +40,7 @@ environment:
4240
# HELMBROKER_CONFIG_ROOT: /etc/helmbroker
4341

4442
api:
43+
replicas: 1
4544
resources: {}
4645
# limits:
4746
# cpu: 200m
@@ -64,6 +63,7 @@ api:
6463
app: "drycc-helmbroker"
6564

6665
celery:
66+
replicas: 1
6767
resources: {}
6868
# limits:
6969
# cpu: 200m

0 commit comments

Comments
 (0)