Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Make Diego optional in SCF again
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Skupnjak <skupnjak@de.ibm.com>
  • Loading branch information
gdankov authored and Julian Skupnjak committed Jan 22, 2019
1 parent 3c89982 commit f6aaf1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scf/helm/cf/templates/diego-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ metadata:
helm.sh/chart: {{ printf "%s-%s" .Chart.Name (.Chart.Version | replace "+" "_") | quote }}
spec:
podManagementPolicy: "OrderedReady"
replicas: {{ if and .Values.config.HA (eq (int .Values.sizing.diego_api.count) 0) -}} 2 {{- else -}} {{ .Values.sizing.diego_api.count }} {{- end }}
replicas: {{ if .Values.env.ENABLE_OPI_STAGING -}} 0 {{- else -}} {{ .Values.sizing.diego_api.count }} {{- end }}
selector:
matchLabels:
skiff-role-name: "diego-api"
Expand Down
2 changes: 1 addition & 1 deletion scf/helm/cf/templates/diego-brain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ metadata:
helm.sh/chart: {{ printf "%s-%s" .Chart.Name (.Chart.Version | replace "+" "_") | quote }}
spec:
podManagementPolicy: "Parallel"
replicas: {{ if and .Values.config.HA (eq (int .Values.sizing.diego_brain.count) 0) -}} 2 {{- else -}} {{ .Values.sizing.diego_brain.count }} {{- end }}
replicas: {{ if .Values.env.ENABLE_OPI_STAGING -}} 0 {{- else -}} {{ .Values.sizing.diego_brain.count }} {{- end }}
selector:
matchLabels:
skiff-role-name: "diego-brain"
Expand Down
2 changes: 1 addition & 1 deletion scf/helm/cf/templates/diego-cell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ metadata:
helm.sh/chart: {{ printf "%s-%s" .Chart.Name (.Chart.Version | replace "+" "_") | quote }}
spec:
podManagementPolicy: "Parallel"
replicas: {{ if and .Values.config.HA (eq (int .Values.sizing.diego_cell.count) 0) -}} 3 {{- else -}} {{ .Values.sizing.diego_cell.count }} {{- end }}
replicas: {{ if .Values.env.ENABLE_OPI_STAGING -}} 0 {{- else -}} {{ .Values.sizing.diego_cell.count }} {{- end }}
selector:
matchLabels:
skiff-role-name: "diego-cell"
Expand Down
2 changes: 1 addition & 1 deletion scf/helm/cf/templates/diego-ssh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metadata:
helm.sh/chart: {{ printf "%s-%s" .Chart.Name (.Chart.Version | replace "+" "_") | quote }}
spec:
podManagementPolicy: "Parallel"
replicas: {{ if and .Values.config.HA (eq (int .Values.sizing.diego_ssh.count) 0) -}} 2 {{- else -}} {{ .Values.sizing.diego_ssh.count }} {{- end }}
replicas: {{ if .Values.env.ENABLE_OPI_STAGING -}} 0 {{- else -}} {{ .Values.sizing.diego_ssh.count }} {{- end }}
selector:
matchLabels:
skiff-role-name: "diego-ssh"
Expand Down

0 comments on commit f6aaf1a

Please sign in to comment.