Move app to subdomain

This commit is contained in:
Victor Timofei 2021-12-30 18:43:18 +02:00
parent d4014d18bf
commit 901b39f2fd
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ metadata:
namespace: argocd
spec:
dnsNames:
- k8s-argocd.tk
- 2048.k8s-argocd.tk
secretName: argocd-app-tls
issuerRef:
name: letsencrypt-cluster-issuer

View File

@ -9,10 +9,10 @@ metadata:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: k8s-argocd.tk
- host: 2048.k8s-argocd.tk
http:
paths:
- path: /2048-game/
- path: /
pathType: Prefix
backend:
service:
@ -21,6 +21,6 @@ spec:
number: 8000
tls:
- hosts:
- k8s-argocd.tk
- 2048.k8s-argocd.tk
secretName: argocd-app-tls