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

Add all_ingresses data source #2652

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

wrmedford
Copy link

Description

This adds an all_ingresses data source which allows listing all ingress resources with label and annotation selectors rather than having to reference each by name in the current ingress data source, or use the generic data source that exists today.

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:

$ make testacc TESTARGS='-run=TestAccKubernetesDataSourceAllIngresses'
==> Checking that code complies with gofmt requirements...
go vet ./...
TF_ACC=1 go test "/Users/wes/pomerium/terraform-provider-kubernetes/kubernetes" -v -vet=off -run=TestAccKubernetesDataSourceAllIngresses -parallel 8 -timeout 3h
=== RUN   TestAccKubernetesDataSourceAllIngresses_basic
=== PAUSE TestAccKubernetesDataSourceAllIngresses_basic
=== RUN   TestAccKubernetesDataSourceAllIngresses_withSelectors
=== PAUSE TestAccKubernetesDataSourceAllIngresses_withSelectors
=== CONT  TestAccKubernetesDataSourceAllIngresses_basic
=== CONT  TestAccKubernetesDataSourceAllIngresses_withSelectors
--- PASS: TestAccKubernetesDataSourceAllIngresses_basic (1.92s)
--- PASS: TestAccKubernetesDataSourceAllIngresses_withSelectors (1.92s)
PASS
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   2.667s

Release Note

Release note for CHANGELOG:

FEATURES: 
Add all_ingresses data source. 

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

@wrmedford wrmedford requested a review from a team as a code owner December 17, 2024 19:51
Copy link

hashicorp-cla-app bot commented Dec 17, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant