Added gitops part with cert-manager application
This commit is contained in:
28
argocd/namespaces/cert/applications/cert-manager.yaml
Normal file
28
argocd/namespaces/cert/applications/cert-manager.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "100"
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: cert
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
destination:
|
||||||
|
namespace: cert
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
source:
|
||||||
|
chart: cert-manager
|
||||||
|
repoURL: https://charts.jetstack.io
|
||||||
|
targetRevision: 1.19.2
|
||||||
|
helm:
|
||||||
|
valuesObject:
|
||||||
|
crds:
|
||||||
|
enabled: true
|
||||||
|
extraArgs:
|
||||||
|
- "--enable-gateway-api"
|
||||||
9
argocd/namespaces/namespace.yaml
Normal file
9
argocd/namespaces/namespace.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: cert
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "-1000"
|
||||||
|
labels:
|
||||||
|
name: cert
|
||||||
|
spec: {}
|
||||||
27
argocd/namespaces/project.yaml
Normal file
27
argocd/namespaces/project.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: AppProject
|
||||||
|
metadata:
|
||||||
|
name: cert
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "0"
|
||||||
|
spec:
|
||||||
|
description: Certs
|
||||||
|
clusterResourceWhitelist:
|
||||||
|
- group: apiextensions.k8s.io
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
- group: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
- group: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
- group: admissionregistration.k8s.io
|
||||||
|
kind: ValidatingWebhookConfiguration
|
||||||
|
- group: admissionregistration.k8s.io
|
||||||
|
kind: MutatingWebhookConfiguration
|
||||||
|
sourceRepos:
|
||||||
|
- '*'
|
||||||
|
destinations:
|
||||||
|
- namespace: cert
|
||||||
|
server: '*'
|
||||||
|
- namespace: kube-system
|
||||||
|
server: '*'
|
||||||
Reference in New Issue
Block a user