terraform-provider-kubernetes icon indicating copy to clipboard operation
terraform-provider-kubernetes copied to clipboard

pv+pvc: use API enum values for state constants

Open rwe opened this issue 3 years ago • 0 comments

Description

Minor internal cleanup to the persistent_volume and persistent_volume_claim resources.

This updates literal strings to refer to their enum definitions, which makes it easier to trace back to the documentation and verify; avoids typos; and makes it straightforward to identify newly available values.

No functional change.

Release Note

Release note for CHANGELOG:

NONE

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

rwe avatar Jul 28 '22 01:07 rwe