Created
November 19, 2018 16:55
-
-
Save sudermanjr/e2171b1578c142068dccf7d5f34e4755 to your computer and use it in GitHub Desktop.
Using a default wildcard certificate from Let's Encrypt with ingress-nginx
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
nginx-ingress: | |
values-strings: | |
controller: | |
extraArgs: | |
default-ssl-certificate: "infra/wildcard" |
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: test | |
annotations: | |
kubernetes.io/ingress.class: "nginx-ingress" | |
spec: | |
rules: | |
- host: wildcard-test.gcp.sudermanjr.hillghost.com | |
http: | |
paths: | |
- backend: | |
serviceName: test-service | |
servicePort: 80 | |
path: / | |
tls: | |
- hosts: | |
- wildcard-test.gcp.sudermanjr.hillghost.com |
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: certmanager.k8s.io/v1alpha1 | |
kind: Certificate | |
metadata: | |
name: wildcard | |
namespace: infra | |
spec: | |
acme: | |
config: | |
- dns01: | |
provider: clouddns | |
domains: | |
- '*.gcp.sudermanjr.hillghost.com' | |
dnsNames: | |
- '*.gcp.sudermanjr.hillghost.com' | |
issuerRef: | |
kind: ClusterIssuer | |
name: cert-manager-setup-production-valid | |
secretName: wildcard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment