diff --git a/longhorn/dns-endpoint-longhorn.yaml b/longhorn/dns-endpoint-longhorn.yaml new file mode 100644 index 0000000..ac99c4a --- /dev/null +++ b/longhorn/dns-endpoint-longhorn.yaml @@ -0,0 +1,12 @@ +apiVersion: externaldns.k8s.io/v1alpha1 +kind: DNSEndpoint +metadata: + name: longhorn.michaelthomson.dev + namespace: longhorn-system +spec: + endpoints: + - dnsName: longhorn.michaelthomson.dev + recordTTL: 180 + recordType: CNAME + targets: + - server.michaelthomson.dev diff --git a/longhorn/helmrelease-longhorn.yaml b/longhorn/helmrelease-longhorn.yaml index 52dc278..23c021e 100644 --- a/longhorn/helmrelease-longhorn.yaml +++ b/longhorn/helmrelease-longhorn.yaml @@ -251,22 +251,22 @@ spec: ingress: ## Set to true to enable ingress record generation - enabled: false + enabled: true ## Add ingressClassName to the Ingress ## Can replace the kubernetes.io/ingress.class annotation on v1.18+ ingressClassName: ~ - host: sslip.io + host: longhorn.michaelthomson.dev ## Set this to true in order to enable TLS on the ingress record - tls: false + tls: true ## Enable this in order to enable that the backend service will be connected at port 443 secureBackends: false ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS - tlsSecret: longhorn.local-tls + tlsSecret: letsencrypt-wildcard-cert-michaelthomson.dev ## If ingress is enabled you can set the default ingress path ## then you can access the UI by using the following full path {{host}}+{{path}}