diff --git a/home-apps/go-links.yaml b/home-apps/go-links.yaml index dbc7891..5c1a0e4 100644 --- a/home-apps/go-links.yaml +++ b/home-apps/go-links.yaml @@ -99,3 +99,30 @@ spec: number: 80 path: / pathType: Prefix + +--- + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: go-links-public-ingress + annotations: + kubernetes.io/ingress.class: "nginx" + kubernetes.io/tls-acme: "true" + cert-manager.io/cluster-issuer: "letsencrypt-prod" +spec: + tls: + - hosts: + - go.junv.me + secretName: go-links-webhook-tls + rules: + - host: go.junv.me + http: + paths: + - backend: + service: + name: go-links + port: + number: 80 + path: / + pathType: Prefix