hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.6k stars 979 forks source link

fix: do not format `DefaultMode` & `Mode` to octal representation #2542

Closed enkron closed 4 months ago

enkron commented 4 months ago

Description

It looks like the default_mode value actually accepts a decimal number which is then converted to an octal value, for example if the "0420" is specified as a default access mode it's converts to the 272 (which is the result of converting 0420 to 0o272).

Acceptance tests

References

https://github.com/hashicorp/terraform-provider-kubernetes/issues/2541

Community Note

hashicorp-cla-app[bot] commented 4 months ago

CLA assistant check
All committers have signed the CLA.