diff --git a/apps/cedille-wiki/base/network.yaml b/apps/cedille-wiki/base/network.yaml index 098e059..bfca739 100644 --- a/apps/cedille-wiki/base/network.yaml +++ b/apps/cedille-wiki/base/network.yaml @@ -6,7 +6,8 @@ spec: selector: app: wiki-cedille ports: - - protocol: TCP - port: 80 - targetPort: 8080 - + - name: http + targetPort: 8080 + protocol: TCP + port: 80 + type: ClusterIP \ No newline at end of file diff --git a/apps/cedille-wiki/prod/ingress.yaml b/apps/cedille-wiki/prod/ingress.yaml index 03f6288..4cfd019 100644 --- a/apps/cedille-wiki/prod/ingress.yaml +++ b/apps/cedille-wiki/prod/ingress.yaml @@ -4,6 +4,7 @@ metadata: name: wiki-cedille-ingress annotations: cert-manager.io/cluster-issuer: letsencrypt-prod + ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/tls-acme: "true" spec: ingressClassName: contour @@ -12,13 +13,13 @@ spec: hosts: - wiki.omni.cedille.club rules: - - host: wiki.omni.cedille.club - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: wiki-cedille - port: - number: 80 + - host: wiki.omni.cedille.club + http: + paths: + - pathType: Prefix + path: / + backend: + service: + name: wiki-cedille + port: + name: http