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

Allow the use of custom CA certificate and/or noSSLVerify for config-sync feature in GKE Hub #22059

Open
caetano-colin opened this issue Mar 25, 2025 · 0 comments

Comments

@caetano-colin
Copy link

caetano-colin commented Mar 25, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

Config Sync (Config Management) GKE Hub feature does not allow the use of a custom CA certificate or disable SSL verify. By installing config-sync manually (not via terraform) you can either specify a CA certificate or add the noSSLVerify flag see "https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/reference/rootsync-reposync-fields#configuring-git-repo"

This feature would be handy private network or testing environment setups.

New or Affected Resource(s)

  • google_gke_hub_feature

Potential Terraform Configuration

resource "google_gke_hub_feature" "feature" {
  name = "configmanagement"
  location = "global"
  fleet_default_member_config {
    configmanagement {
      config_sync {
        git {
          sync_repo = "https://github.com/hashicorp/terraform"
          no_ssl_verify = true
        }
      }
    }
  }
}

or

resource "google_gke_hub_feature" "feature" {
  name = "configmanagement"
  location = "global"
  fleet_default_member_config {
    configmanagement {
      config_sync {
        git {
          sync_repo = "https://github.com/hashicorp/terraform"
          ca_cert_name = "self-signed-certificate"
        }
      }
    }
  }
}

References

No response

b/406336758

@github-actions github-actions bot added forward/review In review; remove label to forward service/gkehub labels Mar 25, 2025
@SirGitsalot SirGitsalot removed the forward/review In review; remove label to forward label Mar 25, 2025
@melinath melinath added this to the Goals milestone Mar 31, 2025
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

4 participants