feat: add clusterissuers
This commit is contained in:
parent
d27f1c3c31
commit
76243bc3a9
2 changed files with 34 additions and 0 deletions
20
apps/system/clusterissuers.yaml
Normal file
20
apps/system/clusterissuers.yaml
Normal 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
|
||||
14
manifests/system/cert-manager/clusterissuers.yaml
Normal file
14
manifests/system/cert-manager/clusterissuers.yaml
Normal 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
|
||||
Reference in a new issue