Skip to content

Unable to set pod_security_policy_config to 0 #1667

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

Closed
Stono opened this issue Jun 18, 2018 · 2 comments
Closed

Unable to set pod_security_policy_config to 0 #1667

Stono opened this issue Jun 18, 2018 · 2 comments

Comments

@Stono
Copy link

Stono commented Jun 18, 2018

Hey,
We set pod_security_policy_config to 1 recently, but then decided to put it back to 0, but we now get this in every single plan (the apply works, but seems to never actually be set).

  ~ module.kubernetes.google_container_cluster.cluster
      pod_security_policy_config.#: "1" => "0"

Any ideas?

@emilymye
Copy link
Contributor

This is actually saying that the number of config items read is 1, vs your config, which probably has the pod_security_policy_config block removed. Since the default (i.e. what we read from GKE),

pod_security_policy_config {
  enabled = false
}

is not in your config, it's causing a diff. We'll go ahead and suppress that.

@ghost
Copy link

ghost commented Nov 17, 2018

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants