Skip to content

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/?

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