Skip to content

Commit dbfd774

Browse files
committed
allow overriding of gcpcredentials image
1 parent 8dfea6f commit dbfd774

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/stable/skypilot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: skypilot
33
description: A Helm chart for deploying SkyPilot API server on Kubernetes
44
icon: "https://raw.githubusercontent.com/skypilot-org/skypilot/master/charts/skypilot/skypilot.svg"
55
type: application
6-
version: 0.0.2-pre-04
6+
version: 0.0.2-pre-05
77
appVersion: "0.0"
88
dependencies:
99
- name: ingress-nginx

charts/stable/skypilot/templates/api-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ spec:
419419
securityContext:
420420
{{- toYaml . | nindent 10 }}
421421
{{- end }}
422-
image: google/cloud-sdk:latest
422+
image: {{ .Values.gcpCredentials.image | default "google/cloud-sdk:latest" | quote }}
423423
command: ["/bin/sh", "-c"]
424424
env:
425425
- name: GOOGLE_APPLICATION_CREDENTIALS

charts/stable/skypilot/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ gcpCredentials:
453453
projectId: null
454454
# Name of the secret containing the gcp credentials. Only used if enabled is true.
455455
gcpSecretName: gcp-credentials
456+
# Image used to parse GCP credentials and set up application default credentials.
457+
image: "google/cloud-sdk:latest"
456458

457459
# Populate RunPod credentials from the secret with key `api_key`
458460
runpodCredentials:

0 commit comments

Comments
 (0)