Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@ridhoadya

Description

@ridhoadya
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.