chore(cert-manager): move from helm to ArgoCD

This commit is contained in:
David Landry 2024-09-27 18:30:27 -04:00
parent 7afc858b7e
commit 843b99321c
7 changed files with 9471 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
- op: remove
path: /metadata/labels/app.kubernetes.io~1instance

View file

@ -0,0 +1,14 @@
kind: Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
resources:
- ./namespace.yaml
- ./cert-manager.custom.yaml
patches:
- path: ./helm.patch.yaml
target:
labelSelector: app.kubernetes.io/instance=helm
- path: ./helm.patch.yaml
target:
labelSelector: app.kubernetes.io/instance=cert-manager

View file

@ -0,0 +1,9 @@
apiVersion: v1
kind: Namespace
metadata:
labels:
app.kubernetes.io/component: cert-manager
app.kubernetes.io/name: cert-manager-system
app.kubernetes.io/part-of: cert-manager
name: cert-manager-system

View file

@ -0,0 +1,7 @@
{
"appName": "cert-manager",
"userGivenName": "cert-manager",
"destNamespace": "cert-manager",
"labels": null,
"annotations": null
}

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

View file

@ -0,0 +1,21 @@
#!/usr/bin/env sh
helm repo add jetstack https://charts.jetstack.io --force-update
# crds.keep=false to exclude a helm-specific annotation
# creator=static excludes other helm-specific annotations
helm template \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--version v1.15.3 \
--set creator=static \
--set crds.enabled=true \
--set crds.keep=false \
--set podDisruptionBudget.enabled=true \
--set podDisruptionBudget.minAvailable=1 \
--set startupapicheck.jobAnnotations=null \
--set startupapicheck.rbac.annotations=null \
--set startupapicheck.serviceAccount.annotations=null \
> base/cert-manager.custom.yaml
# Full documentation for helm values at
# https://artifacthub.io/packages/helm/cert-manager/cert-manager