chore(cert-manager): move from helm to ArgoCD
This commit is contained in:
parent
7afc858b7e
commit
843b99321c
7 changed files with 9471 additions and 0 deletions
9414
apps/cert-manager/base/cert-manager.custom.yaml
Normal file
9414
apps/cert-manager/base/cert-manager.custom.yaml
Normal file
File diff suppressed because it is too large
Load diff
2
apps/cert-manager/base/helm.patch.yaml
Normal file
2
apps/cert-manager/base/helm.patch.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
- op: remove
|
||||||
|
path: /metadata/labels/app.kubernetes.io~1instance
|
||||||
14
apps/cert-manager/base/kustomization.yaml
Normal file
14
apps/cert-manager/base/kustomization.yaml
Normal 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
|
||||||
9
apps/cert-manager/base/namespace.yaml
Normal file
9
apps/cert-manager/base/namespace.yaml
Normal 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
|
||||||
|
|
||||||
7
apps/cert-manager/overlays/system/config.json
Normal file
7
apps/cert-manager/overlays/system/config.json
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"appName": "cert-manager",
|
||||||
|
"userGivenName": "cert-manager",
|
||||||
|
"destNamespace": "cert-manager",
|
||||||
|
"labels": null,
|
||||||
|
"annotations": null
|
||||||
|
}
|
||||||
4
apps/cert-manager/overlays/system/kustomization.yaml
Normal file
4
apps/cert-manager/overlays/system/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
21
apps/cert-manager/update-manifest-from-helm.sh
Executable file
21
apps/cert-manager/update-manifest-from-helm.sh
Executable 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue