setup ingress for hello-world to use https only

This commit is contained in:
2022-08-05 08:04:37 -04:00
parent b1470afd80
commit bbc6b7818d
10 changed files with 107 additions and 9 deletions

View File

@@ -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:

View File

@@ -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