Skip to content
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

[FR] Enforcedly use internal ip with gke-deploy #1023

Open
ridhoadya opened this issue Nov 21, 2024 · 0 comments
Open

[FR] Enforcedly use internal ip with gke-deploy #1023

ridhoadya opened this issue Nov 21, 2024 · 0 comments

Comments

@ridhoadya
Copy link

ridhoadya commented Nov 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant