fluxcd: cert-manager
This commit is contained in:
@@ -84,11 +84,8 @@ kubectl delete order -l cert-manager.io/certificate-name=monitoring-limbosoluti
|
|||||||
|
|
||||||
## helm chart
|
## helm chart
|
||||||
|
|
||||||
|
Using flux for reconciliation.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
helm repo add jetstack https://charts.jetstack.io --force-update
|
kubectl kustomize deploy/flux | kubectl apply -f -
|
||||||
helm upgrade --install cert-manager jetstack/cert-manager \
|
|
||||||
--namespace kube-system \
|
|
||||||
--version=v1.20.2 \
|
|
||||||
--create-namespace \
|
|
||||||
--set crds.enabled=true
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
spec:
|
||||||
|
releaseName: cert-manager
|
||||||
|
interval: 40h
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: cert-manager
|
||||||
|
version: 1.x.x
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: cert-manager
|
||||||
|
interval: 40h
|
||||||
|
values:
|
||||||
|
crds.enabled: true
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
spec:
|
||||||
|
interval: 40h
|
||||||
|
url: https://charts.jetstack.io
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: replicator
|
||||||
|
resources:
|
||||||
|
- helm-repo.yaml
|
||||||
|
- helm-release.yaml
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: cert-manager
|
||||||
|
spec:
|
||||||
|
interval: 1m
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: casa
|
||||||
|
namespace: casa-limbosolutions-com
|
||||||
|
path: services/cert-manager/deploy/app
|
||||||
|
prune: true
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: kube-system
|
||||||
|
resources:
|
||||||
|
- app-sync.yaml
|
||||||
Reference in New Issue
Block a user