-
Notifications
You must be signed in to change notification settings - Fork 79
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
[tlse] allow custom issuer for any CA type #713
[tlse] allow custom issuer for any CA type #713
Conversation
pre-create custom CA cert and issuer for the CA type it should be used. in this example a rootca-internal-custom and rootca-public-custom was created:
Configure in the osctlplane tls section for which type it should be used
The operator will skip creating the default CA cert and issuer for those and use the issuer to get certificates for the services:
=> no custom issuer for ovn was created and specified, so it got created The custom created issuers get the labels by the operator, so that they could be identified by the known labelselectors
The custom CA certs from their CA secret gets added to the bundle by the operator. If there is some other CA chain required, that needs to be added via the CustomCaBundle secret. Certs for the services get now issued using the custom issuer, e.g. keystone internal:
|
in a follow up could add in the validation webhook that the issuer exists |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/a6fdf2856aab470796c7e87b59e619a3 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 47m 13s |
/test openstack-operator-build-deploy-kuttl |
recheck |
/test openstack-operator-build-deploy-kuttl |
Allow to pre-create CA cert and issuer and configure the issuer to be used for the CA type. Creation of the default CA/issuer for that type will be skipped. Instead the provided issuer will be used and its CA cert added to the bundle. If there is any CA chain required, this must be added via the CustomCABundle. Jira: OSPRH-5600
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Deydra71, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
453b474
into
openstack-k8s-operators:main
Allow to pre-create CA cert and issuer and configure the issuer to be used for the CA type. Creation of the default CA/issuer for that type will be skipped. Instead the provided issuer will be used and its CA cert added to the bundle. If there is any CA chain required, this must be added via the CustomCABundle.
Jira: OSPRH-5600