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

Feature request: GKE .networkPolicy' field. #3868

Closed
mm-weber opened this issue Apr 28, 2024 · 3 comments · Fixed by #4149
Closed

Feature request: GKE .networkPolicy' field. #3868

mm-weber opened this issue Apr 28, 2024 · 3 comments · Fixed by #4149
Assignees
Labels
enhancement New feature or request gcp gke

Comments

@mm-weber
Copy link
Contributor

Is it possible to add the following field to gcp.project.gke.cluster. ?

gcloud container clusters describe <cluster-name> --zone us-central1 --format json | jq '.networkPolicy'

{
"enabled": true
}
@mm-weber mm-weber added gcp gke enhancement New feature or request labels Apr 28, 2024
@tas50
Copy link
Member

tas50 commented Apr 29, 2024

Fixed in #3873

@tas50 tas50 closed this as completed Apr 29, 2024
@tas50
Copy link
Member

tas50 commented Apr 29, 2024

@mm-weber Feel free to open this one up if the latest provider isn't meeting the need

@mm-weber
Copy link
Contributor Author

mm-weber commented May 1, 2024

There's an issue with the .networkPolicy (sub-)properties:

cnspec> gcp.project.gke.cluster.networkPolicyConfig
failed to convert dict to primitive, unsupported child type: containerpb.NetworkPolicy_Provider

image

To re-produce, use a deployed cluster on GKE.

  1. First enable Calico Kubernetes Network policy on the control plane (takes awhile).
  2. Then enable Calico Kubernetes Network policy on Enable Calico Kubernetes network policy for nodes
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gcp gke
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants