iac/infrastructure/cert-manager/aero/kustomization.yaml

30 lines
950 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
# Внутренний CA вместо ACME: контур закрытый, до Let's Encrypt не достучаться.
- clusterissuer-ca.yaml
# ACME-издатели из base выключены удалением, а не форком base: так overlay
# остаётся патчем и не расходится с остальными кластерами при обновлении base.
patches:
- target:
kind: ClusterIssuer
name: letsencrypt-issuer
patch: |
$patch: delete
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer
- target:
kind: ClusterIssuer
name: letsencrypt-issuer-istio
patch: |
$patch: delete
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer-istio