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

Adding secretV1Data resource #2604

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Adding secretV1Data resource #2604

merged 2 commits into from
Oct 24, 2024

Conversation

JaylonmcShan03
Copy link
Contributor

Description

Creating initial Configuration for the new resource kubernetes_secret_v1_data
fixes #2233

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

(base) ┌─(~/Dev/terraform-provider-kubernetes)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s002)─┐
└─(11:55:30 on secretV1Data)──> make testacc TESTARGS='-run TestAccKubernetesSecretV1Data_empty'                                                                                                                                                                                        ──(Thu,Oct17)─┘
==> Checking that code complies with gofmt requirements...
go vet ./...
TF_ACC=1 go test "/Users/mau/Dev/terraform-provider-kubernetes/kubernetes" -v -vet=off -run TestAccKubernetesSecretV1Data_empty -parallel 8 -timeout 3h
=== RUN   TestAccKubernetesSecretV1Data_empty
=== PAUSE TestAccKubernetesSecretV1Data_empty
=== CONT  TestAccKubernetesSecretV1Data_empty
--- PASS: TestAccKubernetesSecretV1Data_empty (7.52s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   8.472s
(base) ┌─(~/Dev/terraform-provider-kubernetes)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s002)─┐
└─(11:56:05 on secretV1Data)──> make testacc TESTARGS='-run TestAccKubernetesSecretV1Data_basic_data'                                                                                                                                                                                   ──(Thu,Oct17)─┘
==> Checking that code complies with gofmt requirements...
go vet ./...
TF_ACC=1 go test "/Users/mau/Dev/terraform-provider-kubernetes/kubernetes" -v -vet=off -run TestAccKubernetesSecretV1Data_basic_data -parallel 8 -timeout 3h
=== RUN   TestAccKubernetesSecretV1Data_basic_data
=== PAUSE TestAccKubernetesSecretV1Data_basic_data
=== CONT  TestAccKubernetesSecretV1Data_basic_data
--- PASS: TestAccKubernetesSecretV1Data_basic_data (6.64s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   7.540s
(base) ┌─(~/Dev/terraform-provider-kubernetes)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s002)─┐
└─(12:03:46 on secretV1Data)──> make testacc TESTARGS='-run TestAcctKubernetesSecretV1Data_modified'                                                                                                                                                                                    ──(Thu,Oct17)─┘
==> Checking that code complies with gofmt requirements...
go vet ./...
TF_ACC=1 go test "/Users/mau/Dev/terraform-provider-kubernetes/kubernetes" -v -vet=off -run TestAcctKubernetesSecretV1Data_modified -parallel 8 -timeout 3h
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   0.952s [no tests to run]
(base) ┌─(~/Dev/terraform-provider-kubernetes)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s002)─┐
└─(12:03:15 on secretV1Data)──> make testacc TESTARGS='-run TestAcctKubernetesSecretV1Data_validation'                                                                                                                                                                                  ──(Thu,Oct17)─┘
==> Checking that code complies with gofmt requirements...
go vet ./...
TF_ACC=1 go test "/Users/mau/Dev/terraform-provider-kubernetes/kubernetes" -v -vet=off -run TestAcctKubernetesSecretV1Data_validation -parallel 8 -timeout 3h
=== RUN   TestAcctKubernetesSecretV1Data_validation
=== PAUSE TestAcctKubernetesSecretV1Data_validation
=== CONT  TestAcctKubernetesSecretV1Data_validation
--- PASS: TestAcctKubernetesSecretV1Data_validation (2.93s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   3.890s

Release Note

Release note for CHANGELOG:

Adding the `kubernetes_secret_v1_data` resource to the kubernetes provider. This resource will allow users to manage kubernetes secrets

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

@BBBmau BBBmau added no-documentation This issue or pull request does not have documentation changes. and removed documentation labels Oct 17, 2024
kubernetes/resource_kubernetes_secret_v1_data.go Outdated Show resolved Hide resolved
kubernetes/resource_kubernetes_secret_v1_data.go Outdated Show resolved Hide resolved
kubernetes/resource_kubernetes_secret_v1_data.go Outdated Show resolved Hide resolved
@JaylonmcShan03 JaylonmcShan03 merged commit af55e47 into main Oct 24, 2024
24 checks passed
@JaylonmcShan03 JaylonmcShan03 deleted the secretV1Data2 branch October 24, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-documentation This issue or pull request does not have documentation changes. size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config_map_v1_data same for secret_v1_data
3 participants