add deployment

This commit is contained in:
Rido Akbar Ibrahim 2022-01-26 22:14:02 +07:00
parent ea18c3f16f
commit d057864b3c

View File

@ -6,9 +6,10 @@ metadata:
annotations: annotations:
kubernetes.io/ingress.class: "traefik" kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: letsencrypt-prod cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
spec: spec:
rules: rules:
- host: "wndsolutions.id" - host: "www.wndsolutions.id"
http: http:
paths: paths:
- pathType: Prefix - pathType: Prefix
@ -20,5 +21,5 @@ spec:
number: 80 number: 80
tls: tls:
- hosts: - hosts:
- "wndsolutions.id" - "www.wndsolutions.id"
secretName: wndsolutions-id-tls secretName: www-wndsolutions-id-tls