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

unit test duplicate object detection function #346

Open
kfox1111 opened this issue May 3, 2024 · 0 comments
Open

unit test duplicate object detection function #346

kfox1111 opened this issue May 3, 2024 · 0 comments

Comments

@kfox1111
Copy link
Collaborator

kfox1111 commented May 3, 2024

We need a test like:

helm template charts/spire --set spire-server.federation.tls.spire.enabled=false,spire-server.federation.tls.certManager.enabled=true,spire-server.federation.tls.certManager.issuer.acme.email=[email protected],spire-server.upstreamAuthority.certManager.enabled=true,spire-server.federation.enabled=true,spire-server.upstreamAuthority.certManager.ca.create=true

It currently renders ok in helm template, but has duplicate objects that would fail a kubectl apply. We need a generic function in the unit tests to look for rendered duplicate objects to make writing a test for this easier.

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

No branches or pull requests

1 participant