1
0
Fork 0

feat: add clusterissuers

This commit is contained in:
Vojtěch Mareš 2024-05-11 15:00:15 +02:00
parent d27f1c3c31
commit 76243bc3a9
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: clusterissuers
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: system
syncPolicy:
automated:
prune: true
selfHeal: true
source:
path: manifests/system/cert-manager/
repoURL: git@gitlab.mareshq.com:hq/cthulhunetes/gitops.git
targetRevision: HEAD
destination:
server: "https://kubernetes.default.svc"
namespace: default

View file

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