1
0
Fork 0

refactor: move cert-manager and clusterissuer 'letsencrypt-prod' to universal (multi-cluster)

This commit is contained in:
Vojtěch Mareš 2023-10-02 19:41:33 +02:00
parent 84ef1d465e
commit 9044b58c82
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
5 changed files with 79 additions and 55 deletions

View file

@ -1,37 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cherry-cert-manager
namespace: argocd
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
source:
chart: cert-manager
repoURL: https://charts.jetstack.io
targetRevision: 1.13.1
helm:
releaseName: cert-manager
valuesObject:
installCRDs: true
featureGates: "AdditionalCertificateOutputFormats=true"
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
webhook:
featureGates: "AdditionalCertificateOutputFormats=true"
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0

View file

@ -1,18 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cherry-clusterissuer
namespace: argocd
spec:
project: infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
destination:
server: https://kubernetes.default.svc
namespace: default
source:
path: clusters/cherry/manifests/clusterissuer/
repoURL: https://github.com/vojtechmares/gitops.git
targetRevision: HEAD

View file

@ -1,14 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
email: nobody@mareshq.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- http01:
ingress:
class: nginx