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

Add the pod template resource object

Open Dudesons opened this issue 3 years ago • 0 comments

Signed-off-by: Damien Goldenberg [email protected]

Description

Kubernetes has an object called PodTemplate which can be used by operator or kubernetes controller to create pods based on this template

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=TestAccKubernetesPodTemplate_basic'
==> Checking that code complies with gofmt requirements...
go vet .
TF_ACC=1 go test "/home/damien/go/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes" -v -run=TestAccKubernetesPodTemplate_basic -timeout 3h
=== RUN   TestAccKubernetesPodTemplate_basic
--- PASS: TestAccKubernetesPodTemplate_basic (5.12s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   5.149s
...

Release Note

Release note for CHANGELOG:

Add new resource `kubernetes_pod_template`

References

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

Dudesons avatar Sep 05 '22 16:09 Dudesons