Skip to content

Conversation

@loganmc10
Copy link
Contributor

@loganmc10 loganmc10 commented May 31, 2023

Fixes #5

This allows the user to specify spec/apiCertRef/{name,namespace} if they have a TLS certificate that they want to use for the API. If they leave spec/apiCertRef, then the Operator will generate a self-signed certificate for them.

The Operator will update the APIServer object to use the new certificate.

It should handle cases where they modify the certificate or delete the CR. If the CR is deleted, the secrets are owned by the CR, so they are also deleted.

There is also a finalizer that will revert the changes to the APIServer object, so deleting the CR should put the cluster back to how it was before the CR was created.

This should give a good foundation for other work (the Ingress for example).

@loganmc10 loganmc10 self-assigned this May 31, 2023
@loganmc10 loganmc10 requested a review from danielchg May 31, 2023 03:21
@loganmc10 loganmc10 force-pushed the api branch 3 times, most recently from 5415555 to 57128f5 Compare May 31, 2023 13:34
@danielchg danielchg merged commit ed767f4 into main May 31, 2023
@danielchg danielchg deleted the api branch May 31, 2023 13:53
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.

Update API address

3 participants