Skip to content

Commit f095052

Browse files
authored
Merge pull request CrunchyData#86 from ValClarkson/workerbackpatch
BackPatch from devel: Make the number of controller workers configurable
2 parents bd608d6 + 19b4b6b commit f095052

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

helm/install/templates/manager.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ spec:
3333
- name: PGO_TARGET_NAMESPACE
3434
valueFrom: { fieldRef: { apiVersion: v1, fieldPath: metadata.namespace } }
3535
{{- end }}
36+
{{- if .Values.workers }}
37+
- name: PGO_WORKERS
38+
value: {{ .Values.workers | quote }}
39+
{{- end }}
40+
{{- if (default false .Values.disable_check_for_upgrades) }}
41+
- name: CHECK_FOR_UPGRADES
42+
value: "false"
43+
{{- end }}
3644
securityContext:
3745
allowPrivilegeEscalation: false
3846
readOnlyRootFilesystem: true

0 commit comments

Comments
 (0)