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

Support spec.persistentVolumeClaimRetentionPolicy in kubernetes_stateful_set #2282

Closed
fullykubed opened this issue Sep 8, 2023 · 1 comment · Fixed by #2333
Closed

Support spec.persistentVolumeClaimRetentionPolicy in kubernetes_stateful_set #2282

fullykubed opened this issue Sep 8, 2023 · 1 comment · Fixed by #2333

Comments

@fullykubed
Copy link

Description

Support spec.persistentVolumeClaimRetentionPolicy in kubernetes_stateful_set

Potential Terraform Configuration

resource "kubernetes_stateful_set" "example" {
  spec {
    persistent_volume_claim_retention_policy   = {
     when_deleted = "Delete/Retain"
     when_scaled = "Delete/Retain"
   }
 }
}

References

Kubernetes docs

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
@renzedj
Copy link

renzedj commented Sep 13, 2023

Ran across this same issue this morning, will likely be using a kubernetes_manifest as a workaround for now.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants