setup ingress for hello-world to use https only
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: xai-corp
|
||||
name: xai-corp-production-tls
|
||||
namespace: default
|
||||
spec:
|
||||
# Secret names are always required.
|
||||
secretName: xai-corp-staging-tls
|
||||
secretName: xai-corp-production-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
@@ -19,6 +19,7 @@ spec:
|
||||
- xaibox.xai-corp.net
|
||||
- sql.xai-corp.net
|
||||
- cik.xai-corp.net
|
||||
- stash.xai-corp.net
|
||||
acme:
|
||||
config:
|
||||
- http01:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: xai-corp
|
||||
name: xai-corp-staging-tls
|
||||
namespace: default
|
||||
spec:
|
||||
# Secret names are always required.
|
||||
@@ -21,8 +21,3 @@ spec:
|
||||
ingressClass: traefik
|
||||
domains:
|
||||
- xai-corp.net
|
||||
# - http01:
|
||||
# ingress: certs-ingress
|
||||
# domains:
|
||||
# - hello.xai-corp.net
|
||||
# - sql.xai-corp.net
|
||||
|
||||
Reference in New Issue
Block a user