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

support default certificate #151

Merged
merged 2 commits into from
Feb 22, 2022
Merged

support default certificate #151

merged 2 commits into from
Feb 22, 2022

Conversation

wasaga
Copy link
Collaborator

@wasaga wasaga commented Feb 22, 2022

Summary

Currently it is not possible to share a wildcard certificate between the Ingresses in different namespaces.
There is a cert-manager recommended approach to handle
such situation using a default certificate assigned to the entire IngressClass, that should be
used in case the Ingress.Spec.TLS section does not specify the secret.

This PR adds an ingress.pomerium.io/default-cert-secret that should be a namespace/secret_name format,
referencing a TLS certificate secret.

Also it splits controller code into separate dependencies / reconciliation source code files, and adds an ingress_class.go handling code.

Related issues

Implements #144

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@wasaga wasaga added docs enhancement New feature or request labels Feb 22, 2022
@wasaga wasaga requested review from alexfornuto, calebdoxsey and a team February 22, 2022 01:56
@wasaga wasaga enabled auto-merge (squash) February 22, 2022 19:08
@wasaga wasaga merged commit 2fcb7d0 into main Feb 22, 2022
@wasaga wasaga deleted the wasaga/default-controller-cert branch February 22, 2022 19:13
@alexfornuto alexfornuto mentioned this pull request Mar 8, 2022
6 tasks
@wasaga wasaga mentioned this pull request Jul 11, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants