terraform-provider-kubernetes
terraform-provider-kubernetes copied to clipboard
r/deployment - allow removing resource block
Description
Acceptance tests
- [x] Have you added an acceptance test for the functionality being added?
- [x] Have you run the acceptance tests on this branch?
Output from acceptance testing:
$ make testacc TESTARGS='-run=TestAccKubernetesDeployment_'
--- PASS: TestAccKubernetesDeployment_minimal (5.81s)
--- PASS: TestAccKubernetesDeployment_basic (18.35s)
--- PASS: TestAccKubernetesDeployment_initContainerForceNew (47.41s)
--- PASS: TestAccKubernetesDeployment_generatedName (6.77s)
--- PASS: TestAccKubernetesDeployment_with_security_context (27.94s)
--- PASS: TestAccKubernetesDeployment_with_security_context_run_as_group (6.44s)
--- PASS: TestAccKubernetesDeployment_with_security_context_sysctl (3.90s)
--- PASS: TestAccKubernetesDeployment_with_tolerations (5.79s)
--- PASS: TestAccKubernetesDeployment_with_tolerations_unset_toleration_seconds (3.75s)
--- PASS: TestAccKubernetesDeployment_with_container_liveness_probe_using_exec (9.84s)
--- PASS: TestAccKubernetesDeployment_with_container_liveness_probe_using_http_get (9.98s)
--- PASS: TestAccKubernetesDeployment_with_container_liveness_probe_using_tcp (5.89s)
--- PASS: TestAccKubernetesDeployment_with_container_lifecycle (6.11s)
--- PASS: TestAccKubernetesDeployment_with_container_security_context (5.93s)
--- PASS: TestAccKubernetesDeployment_with_container_security_context_run_as_group (5.87s)
--- PASS: TestAccKubernetesDeployment_with_volume_mount (3.89s)
--- PASS: TestAccKubernetesDeployment_ForceNew (13.41s)
--- PASS: TestAccKubernetesDeployment_with_resource_requirements (4.21s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate (3.94s)
--- PASS: TestAccKubernetesDeployment_with_share_process_namespace (5.98s)
--- PASS: TestAccKubernetesDeployment_no_rollout_wait (2.85s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate_max_surge_30perc_max_unavailable_40perc (5.93s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate_max_surge_200perc_max_unavailable_0perc (9.82s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate_max_surge_0_max_unavailable_1 (5.90s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate_max_surge_1_max_unavailable_0 (3.91s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_rollingupdate_max_surge_1_max_unavailable_2 (3.84s)
--- PASS: TestAccKubernetesDeployment_with_deployment_strategy_recreate (5.88s)
--- PASS: TestAccKubernetesDeployment_with_host_aliases (3.78s)
--- PASS: TestAccKubernetesDeployment_regression (158.87s)
--- PASS: TestAccKubernetesDeployment_with_resource_field_selector (8.63s)
--- PASS: TestAccKubernetesDeployment_config_with_automount_service_account_token (5.92s)
Release Note
Release note for CHANGELOG:
resource_kubernetes_deployment - allow removing resource block
References
Closes #1230
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
Hi, any updates ? When this PR would merged ?