From c7c244e95da9da88a09c591814e318ae6217d824 Mon Sep 17 00:00:00 2001 From: emelinda Date: Wed, 5 Aug 2026 00:11:41 +0300 Subject: [PATCH] Update `yc-ecp` Istio configuration: add `imagePullSecrets` for cert-manager and enforce HTTPS for dashboard bindings --- infrastructure/istio-config/yc-ecp/istio-config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/infrastructure/istio-config/yc-ecp/istio-config.yaml b/infrastructure/istio-config/yc-ecp/istio-config.yaml index 36adb55..96893a5 100644 --- a/infrastructure/istio-config/yc-ecp/istio-config.yaml +++ b/infrastructure/istio-config/yc-ecp/istio-config.yaml @@ -33,6 +33,13 @@ spec: - http01: ingress: class: istio + # solver-под создаётся контроллером в namespace + # сертификата, values чарта cert-manager на него + # не действуют — pull-секрет задаётся здесь + podTemplate: + spec: + imagePullSecrets: + - name: dockerhub # ключ = имя Certificate И имя секрета: версия чарта в OCI-репозитории # поле secretName не читает, а берёт имя ключа certificates: @@ -85,7 +92,10 @@ spec: servers: - hosts: - dashboard.invest.cps.sarex.lonsdaleites.ru - httpPortName: http + # без http-сервера порт 80 для этого хоста остаётся + # автогенерируемому ingress-шлюзу, через который + # cert-manager отдаёт HTTP-01 challenge + onlyHttps: true httpsPortName: https tls: credentialName: dashboard-tls