expose imagePullSecret to values.yaml (#27537)

This commit is contained in:
Amr Farid 2022-08-20 15:53:55 +02:00 committed by GitHub
parent ded324d6a4
commit 11c9b1779d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,7 @@ description: A Helm chart for deployments of Ray on Kubernetes.
type: application
# Chart version.
version: 0.1.0
version: 0.2.0
# Ray version.
appVersion: "latest"

View file

@ -90,6 +90,10 @@ spec:
{{- if $.Values.serviceAccountName }}
serviceAccountName: {{ $.Values.serviceAccountName }}
{{- end }}
{{- with $.Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
# Commands to start Ray on the head node. You don't need to change this.
# Note dashboard-host is set to 0.0.0.0 so that Kubernetes can port forward.

View file

@ -18,6 +18,8 @@ headPodType: rayHeadType
# serviceAccountName is used for the Ray head and each Ray worker.
# It can be set to your particular service account instead of using the default.
# serviceAccountName: ...
# imagePullSecrets is used to authenticate to private docker registry, when you have a custom image.
imagePullSecrets: []
# podTypes is the list of pod configurations available for use as Ray nodes.
podTypes:
# The key for each podType is a user-defined string.