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 cert manager webhook #685

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Allow cert manager webhook #685

wants to merge 8 commits into from

Conversation

DamianSzymanski
Copy link
Contributor

@DamianSzymanski DamianSzymanski commented Aug 30, 2019

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 returns

error: unable to retrieve the complete list of server APIs: admission.certmanager.k8s.io/v1beta1: the server is currently unable to handle the request

to apply rule make plan && make apply and verify kubectl api-resources

What feedback would you like, if any?

Welcome

Copy link
Contributor

@Duologic Duologic left a 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/?

travis-ci-prod-services-1/firewall.tf Outdated Show resolved Hide resolved
project = "${module.project.project_id}"
project = "${module.project.project_id}"
cert_manager_enabled = 1
cert_manager_source_tags = "${var.node_pool_tags}"
Copy link
Contributor

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}"
Copy link
Contributor

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.

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

Successfully merging this pull request may close these issues.

2 participants