Skip to content

Commit 8634bba

Browse files
authored
Merge pull request #4 from AstarNetwork/upd/helm-replicas
Number of replicas in deployment updated
2 parents f394204 + 83f841f commit 8634bba

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

charts/universal-helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ maintainers:
1212

1313
type: application
1414

15-
version: 0.7.2
15+
version: 0.8.1

charts/universal-helm/templates/deployments.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ metadata:
1111
{{- toYaml . | nindent 4 }}
1212
{{- end }}
1313
spec:
14-
replicas: {{ default 1 $dpl.replicas }}
14+
{{- with $dpl.replicas}}
15+
replicas: {{.}}
16+
{{- end}}
1517
selector:
1618
matchLabels:
1719
deploymentname: {{ $dpl.name }}

0 commit comments

Comments
 (0)