Last active
November 27, 2022 13:42
-
-
Save rdpetrusek/5f3252e21278060c32098dd53db7fe15 to your computer and use it in GitHub Desktop.
Kubernetes, Istio, Cert Manager, and Let's Encrypt - Certificates
This file contains hidden or 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
| apiVersion: cert-manager.io/v1 | |
| kind: Certificate | |
| metadata: | |
| name: deanpetrusek-domain-cert-prod | |
| namespace: istio-system | |
| spec: | |
| secretName: deanpetrusek-domain-cert-prod | |
| duration: 2160h # 90d | |
| renewBefore: 360h # 15d | |
| isCA: false | |
| privateKey: | |
| algorithm: RSA | |
| encoding: PKCS1 | |
| size: 2048 | |
| usages: | |
| - server auth | |
| - client auth | |
| dnsNames: | |
| - "www.deanpetrusek.cloud" | |
| - "fx.deanpetrusek.cloud" | |
| - "testpage.deanpetrusek.cloud" | |
| issuerRef: | |
| name: letsencrypt-prod-cluster | |
| kind: ClusterIssuer | |
| group: cert-manager.io |
This file contains hidden or 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
| apiVersion: cert-manager.io/v1 | |
| kind: Certificate | |
| metadata: | |
| name: deanpetrusek-domain-cert-staging | |
| namespace: istio-system | |
| spec: | |
| secretName: deanpetrusek-domain-cert-staging | |
| duration: 2160h # 90d | |
| renewBefore: 360h # 15d | |
| isCA: false | |
| privateKey: | |
| algorithm: RSA | |
| encoding: PKCS1 | |
| size: 2048 | |
| usages: | |
| - server auth | |
| - client auth | |
| dnsNames: | |
| - "certstaging.deanpetrusek.cloud" | |
| issuerRef: | |
| name: letsencrypt-staging-cluster | |
| kind: ClusterIssuer | |
| group: cert-manager.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment