Skip to content

Conversation

@fgiorgetti
Copy link
Member

This feature enables the Skupper Controller to delegate certificate management to an external controller, allowing the controller to be defined at:

  • Controller startup (through: -certificate-controller flag or CERTIFICATE_CONTROLLER env var)
  • Through the certificate-controller setting for the following resources:
    • Site
    • SecuredAccess
    • RouterAccess
    • Certificate

This feature enables the Skupper Controller to delegate certificate
management to an external controller, allowing the controller to be
defined at:

* Controller startup (through: `-certificate-controller` flag or `CERTIFICATE_CONTROLLER` env var)
* Through the `certificate-controller` setting for the following resources:
  * Site
  * SecuredAccess
  * RouterAccess
  * Certificate
}

func (m *SecuredAccessManager) Ensure(namespace string, name string, spec skupperv2alpha1.SecuredAccessSpec, annotations map[string]string, refs []metav1.OwnerReference) error {
func (m *SecuredAccessManager) Ensure(namespace string, name string, spec skupperv2alpha1.SecuredAccessSpec, annotations map[string]string, certificateController string, refs []metav1.OwnerReference) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fgiorgetti should we accept a separate certificateController arg here or just go off what's in the spec? I'm afraid this flips between what's in certificateController on create (the Site setting) to what's in spec.Settings on update (usually the RouterAccess setting.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly simpler. Thanks for the catch!

@fgiorgetti fgiorgetti requested a review from c-kruse October 24, 2025 14:10
@fgiorgetti fgiorgetti requested a review from ajssmith October 28, 2025 22:04
@fgiorgetti
Copy link
Member Author

Just a demo project to be used along with this PR, in order to evaluate it properly:
https://github.com/fgiorgetti/skupper-cert-manager
It has a deploy.yaml available to make it easy to test.

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.

2 participants