diff --git a/consul-ingress.yaml b/consul-ingress.yaml index 88d9f4f..588df24 100644 --- a/consul-ingress.yaml +++ b/consul-ingress.yaml @@ -5,6 +5,10 @@ metadata: annotations: cert-manager.io/cluster-issuer: letsencrypt-prod spec: + tls: + - hosts: + - consul.kl.suyiiyii.top + secretName: consul-tls rules: - host: consul.kl.suyiiyii.top http: @@ -15,4 +19,4 @@ spec: service: name: consul port: - number: 8500 \ No newline at end of file + number: 8500