Skip to content

Commit

Permalink
feat(k8s): cert manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Collinbrown95 committed Nov 14, 2023
1 parent 4947408 commit 7cdb094
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
36 changes: 36 additions & 0 deletions k8s/cert-manager/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: cert-manager
namespace: cert-manager
spec:
interval: 24h
url: https://charts.jetstack.io
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: cert-manager
namespace: cert-manager
spec:
interval: 30m
chart:
spec:
chart: cert-manager
version: "1.x"
sourceRef:
kind: HelmRepository
name: cert-manager
namespace: cert-manager
interval: 12h
values:
installCRDs: true
global:
leaderElection:
namespace: cert-manager
4 changes: 4 additions & 0 deletions k8s/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cert-manager.yaml
13 changes: 13 additions & 0 deletions k8s/cert-manager/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: cert-manager
namespace: flux-system
spec:
interval: 10m0s
path: ./k8s/cert-manager
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system
3 changes: 0 additions & 3 deletions k8s/istio-system/istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
crds: CreateReplace
chart:
spec:
version: "${version}"
chart: base
sourceRef:
kind: HelmRepository
Expand All @@ -44,7 +43,6 @@ spec:
- name: istio-base
chart:
spec:
version: "${version}"
chart: istiod
sourceRef:
kind: HelmRepository
Expand Down Expand Up @@ -79,7 +77,6 @@ spec:
- name: istiod
chart:
spec:
version: "${version}"
chart: gateway
sourceRef:
kind: HelmRepository
Expand Down

0 comments on commit 7cdb094

Please sign in to comment.