diff --git a/ingress.yaml b/ingress.yaml new file mode 100644 index 0000000..1f71094 --- /dev/null +++ b/ingress.yaml @@ -0,0 +1,23 @@ +# https://kubernetes.io/docs/concepts/services-networking/ingress/ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: uptime-kuma-ingress + namespace: uptime-kuma + annotations: + kubernetes.io/ingress.class: "traefik" + traefik.ingress.kubernetes.io/redirect-entry-point: https + cert-manager.io/cluster-issuer: http-clusterissuer +spec: + rules: + - host: uptime.thejimnicholson.com + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: uptime-kuma-web + port: + number: 80 +--- diff --git a/kustomization.yaml b/kustomization.yaml index bea797a..540392e 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -5,3 +5,4 @@ resources: - storage.yaml - deployment.yaml - service.yaml +- ingress.yaml