-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for extra certs for SCRAM proxy (#30)
* Add support for extra certs for SCRAM proxy * Bump version and fix docs * Remove unnecessary empty lines * Fix lint * Create helper for cert name generation * Remove neon-proxy.certificate and make neon-proxy.certificate-secret a function * Fix --certs-dir argument in scram-proxy --------- Co-authored-by: Stas Kelvich <[email protected]>
- Loading branch information
1 parent
c5536eb
commit 60e7f97
Showing
7 changed files
with
43 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{ range .Values.settings.extraDomains }} | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: {{ include "neon-proxy.certificate-name" . }} | ||
spec: | ||
commonName: {{ . | quote }} | ||
dnsNames: | ||
- {{ . | quote }} | ||
issuerRef: | ||
group: cert-manager.io | ||
kind: ClusterIssuer | ||
name: cert-manager-clusterissuer | ||
secretName: {{ include "neon-proxy.certificate-secret" . }} | ||
privateKey: | ||
encoding: PKCS8 | ||
{{ end }} |
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