-
Notifications
You must be signed in to change notification settings - Fork 44
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 cert manager webhook #685
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe put it in modules/gce_net_services/
?
project = "${module.project.project_id}" | ||
project = "${module.project.project_id}" | ||
cert_manager_enabled = 1 | ||
cert_manager_source_tags = "${var.node_pool_tags}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See line 27 in this file, we should set the node_pool_tags on kubernetes_cluster dynamically too.
project = "${module.project.project_id}" | ||
project = "${module.project.project_id}" | ||
cert_manager_enabled = 1 | ||
cert_manager_source_tags = "${var.node_pool_tags}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See line 27 in this file, we should set the node_pool_tags on kubernetes_cluster dynamically too.
What is the problem that this PR is trying to fix?
Configure an additional firewall rule to allow the GKE control plane access to your webhook pod.
More info:
https://docs.cert-manager.io/en/latest/getting-started/webhook.html#running-on-private-gke-clusters
What approach did you choose and why?
Add service cert-manager
How can you test this?
Reproduce: Without rule by typing
kubectl api-resources
api returnsto apply rule
make plan && make apply
and verifykubectl api-resources
What feedback would you like, if any?
Welcome