++ issuer via istio config

This commit is contained in:
Kochetkov S 2026-10-14 13:46:27 +03:00
parent c43ffe5bcc
commit 7f3658078c
3 changed files with 27 additions and 19 deletions

View File

@ -1,18 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer-istio
spec:
acme:
email: "pavel@sarex.io"
privateKeySecretRef:
name: letsencrypt-secret-key
server: "https://acme-v02.api.letsencrypt.org/directory"
solvers:
- http01:
ingress:
class: istio
podTemplate:
spec:
imagePullSecrets:
- name: istio-registry-secret

View File

@ -10,7 +10,6 @@ patches:
kind: HelmRelease
name: cert-manager
namespace: cert-manager
- path: ./clusterissuer-letsencrypt-istio.yaml
- target:
group: cert-manager.io
version: v1
@ -22,3 +21,14 @@ patches:
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer
- target:
group: cert-manager.io
version: v1
kind: ClusterIssuer
name: letsencrypt-issuer-istio
patch: |-
$patch: delete
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer-istio

View File

@ -19,6 +19,22 @@ spec:
environments:
vk-infra:
certManager:
clusterIssuers:
letsencrypt-issuer-istio:
spec:
acme:
email: pavel@sarex.io
privateKeySecretRef:
name: letsencrypt-secret-key
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- http01:
ingress:
class: istio
podTemplate:
spec:
imagePullSecrets:
- name: istio-registry-secret
certificates:
idp-tls:
dnsNames: