-
Notifications
You must be signed in to change notification settings - Fork 23
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
adds tls reconciler #155
adds tls reconciler #155
Conversation
Pull Request Test Coverage Report for Build 8391179182Details
💛 - Coveralls |
/ok-to-test sha=8177500 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the logic. Looks good, thank you.
/ok-to-test sha=b886254 |
/ok-to-test sha=0f31414 |
/ok-to-test sha=cec8cd3 |
/ok-to-test sha=acfd433 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ok-to-test sha=28adffb |
in the description,
this is referring to annotations right? |
yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
Adds a tls reconciler that adds the TLS portion to Ingresses that have the keyvault tls cert managed by us. We reconcile the Ingress object to point to the managed secret that contains the cert pulled from keyvault if the Ingress contains a specific annotation.
To use this feature, users will need to add the
kubernetes.azure.com/tls-cert-keyvault-managed: true
annotation to their Ingress.Essentially, the reconcile logic is as follows:
kubernetes.azure.com/tls-cert-keyvault-managed: true
annotationkubernetes.azure.com/tls-cert-keyvault-managed: true
annotation but doesn't contain thekubernetes.azure.com/tls-cert-keyvault-uri: <uri>
annotation then we push an Event to the Ingress informing them that we can't manage TLS without that.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
unit
Checklist: