Closed alexsomesan closed 1 month ago
Fixes validation of restart_policy values in Deployment's pod template - only "Always" is a valid value in this case
restart_policy
Output from acceptance testing:
$ make testacc TESTARGS='-run=^TestAccKubernetesDeploymentV1_with_restart_policy' === RUN TestAccKubernetesDeploymentV1_with_restart_policy === PAUSE TestAccKubernetesDeploymentV1_with_restart_policy === CONT TestAccKubernetesDeploymentV1_with_restart_policy --- PASS: TestAccKubernetesDeploymentV1_with_restart_policy (12.22s) PASS ok github.com/hashicorp/terraform-provider-kubernetes/kubernetes 13.430s
Release note for CHANGELOG:
resource/kubernetes_deployment_v1: Fix validation of `restart_policy` values
Fixes #2591
Description
Fixes validation of
restart_policy
values in Deployment's pod template - only "Always" is a valid value in this caseAcceptance tests
Output from acceptance testing:
Release Note
Release note for CHANGELOG:
References
Fixes #2591
Community Note