-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple instances of cert-manager certificates (#155)
* cmd: add name field using cert-manager to allow multiples instances * Display info about cert-manager on "rpaas info" * Add support to delete and update by name * operator: create multiple cm.Certificate based on name * Add support to take over classic certificate secret * Add some business validation on issuers * refact: move pod auto-restart by certificate changes to operator responsability * Use SecretTemplate instead of manual label propagation * Add tests to validate construction of nginx.Spec.TLS * propagate labels to cmv1.Certificate * fix order of certificates * Update CRD * expose cert-manager events * Drop unused route * Avoid eventual consistency reading certificates, read first from Rpaasinstance CRD, after that, read from the near real-time resource: nginx CRD * Fix lint * use $nginxTLS to fill the certificates * Set commonName for each certificate * Expose an event when restart nginx for certificate reasons * api: add test to cover multiple certificates with same issuer * Add issuer option to be strict on certificate names * plugin: remove cert-manager request by name * Add support to validation using multiple cert-manager requests
- Loading branch information
Showing
43 changed files
with
9,866 additions
and
8,920 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.