diff --git a/manifests/twitter-profile-pic.yaml b/manifests/twitter-profile-pic.yaml index 7c64f33..21ade65 100644 --- a/manifests/twitter-profile-pic.yaml +++ b/manifests/twitter-profile-pic.yaml @@ -111,3 +111,28 @@ spec: backend: serviceName: twitter-profile-pic servicePort: 80 + +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: twitter-profile-pic-cluster-fun + namespace: twitter-profile-pic + annotations: + cert-manager.io/cluster-issuer: letsencrypt + traefik.ingress.kubernetes.io/frontend-entry-points: http,https + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/redirect-permanent: "true" +spec: + tls: + - hosts: + - twitter-profile-pic.cluster.fun + secretName: twitter-profile-pic-cluster-fun-ingress + rules: + - host: twitter-profile-pic.cluster.fun + http: + paths: + - path: / + backend: + serviceName: twitter-profile-pic + servicePort: 80