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

feat: add ClusterOriginIssuer #125

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

terinjokes
Copy link
Contributor

When using this controller in single-tenant clusters it becomes desirable for many users to have a single cluster-scoped issuer rather than each namespace duplicating the issuers and secrets.

This changeset introduces a "cluster resource namespace", which defaults to the same namespace as the controller (eg, "origin-ca-issuer"). A ClusterOriginIssuer resource type has been added which resolves SecretKeySelectors in this namespace. Other than determing what namespace to resolve the secret, the implementation is the same as the existing OriginIssuer.

Fixes: #24

@terinjokes terinjokes requested a review from a team June 3, 2024 09:27
@terinjokes terinjokes force-pushed the terin/clusteroriginissuer branch 2 times, most recently from 88c2d05 to e82f5dd Compare June 3, 2024 18:53
Base automatically changed from terin/collections to trunk June 4, 2024 23:53
@terinjokes terinjokes force-pushed the terin/clusteroriginissuer branch 2 times, most recently from 09592e1 to d8c1b77 Compare June 5, 2024 01:10
When using this controller in single-tenant clusters it becomes
desirable for many users to have a single cluster-scoped issuer rather
than each namespace duplicating the issuers and secrets.

This changeset introduces a "cluster resource namespace", which defaults
to the same namespace as the controller (eg, "origin-ca-issuer"). A
ClusterOriginIssuer resource type has been added which resolves
SecretKeySelectors in this namespace. Other than determing what
namespace to resolve the secret, the implementation is the same as the
existing OriginIssuer.

Fixes: #24
@terinjokes terinjokes merged commit d8c1b77 into trunk Jun 5, 2024
11 checks passed
@terinjokes terinjokes deleted the terin/clusteroriginissuer branch June 5, 2024 01:17
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

Successfully merging this pull request may close these issues.

Feature: ClusterOriginIssuer support or cross namespace referencing
3 participants