Skip to content

fix node deployment to include GOOGLE_APPLICATION_CREDENTIALS envvar #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deploy/kubernetes/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--nodeid=$(KUBE_NODE_NAME)"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: "/etc/cloud-sa/cloud-sa.json"
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
- name: KUBE_NODE_NAME
Expand All @@ -56,6 +58,9 @@ spec:
mountPath: /csi
- name: device-dir
mountPath: /host/dev
- name: cloud-sa-volume
readOnly: true
mountPath: "/etc/cloud-sa"
volumes:
# TODO(dependency): this will work when kublet registrar functionality exists
#- name: registrar-socket-dir
Expand All @@ -74,3 +79,6 @@ spec:
hostPath:
path: /dev
type: Directory
- name: cloud-sa-volume
secret:
secretName: cloud-sa