-
Notifications
You must be signed in to change notification settings - Fork 608
Open
Labels
Description
Detailed Feature Information
Which builder is relevant to this request?
gke-deploy
Is your feature request related to a problem? Please describe.
I have a gke cluster with external and internal endpoint enabled, i want gke-deploy enforcedly to use internal ip, i can do it easily in gcr.io/cloud-builders/kubectl by using CLOUDSDK_GET_CREDENTIALS_OPTS=--internal-ip, when i checked the code there is no option for that or might be i miss and the config exist?
Describe the solution you'd like
Add capability to have something like this:
steps:
- name: "gcr.io/cloud-builders/gke-deploy"
args:
- "apply"
- "--filename=..."
- "--cluster=..."
- "--location=..."
env:
- "CLOUDSDK_GET_CREDENTIALS_OPTS=--internal-ip"
Describe alternatives you've considered
Additional context