From 5c8f2850730f182cb06b8136af6d6178e979ced4 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 27 Jul 2024 17:14:44 +1000 Subject: [PATCH] add app cert manager --- infrastructures/cert-manager/base/kustomization.yaml | 8 ++++++++ infrastructures/cert-manager/base/values.yaml | 4 ++++ .../cert-manager/env/k3s-cluster/config.json | 12 ++++++++++++ .../cert-manager/env/k3s-cluster/kustomization.yaml | 4 ++++ 4 files changed, 28 insertions(+) create mode 100644 infrastructures/cert-manager/base/kustomization.yaml create mode 100644 infrastructures/cert-manager/base/values.yaml create mode 100644 infrastructures/cert-manager/env/k3s-cluster/config.json create mode 100644 infrastructures/cert-manager/env/k3s-cluster/kustomization.yaml diff --git a/infrastructures/cert-manager/base/kustomization.yaml b/infrastructures/cert-manager/base/kustomization.yaml new file mode 100644 index 0000000..3fb3808 --- /dev/null +++ b/infrastructures/cert-manager/base/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +helmCharts: + - name: cert-manager + repo: https://charts.jetstack.io + version: v1.15.1 + releaseName: cert-manager + valuesFile: values.yaml \ No newline at end of file diff --git a/infrastructures/cert-manager/base/values.yaml b/infrastructures/cert-manager/base/values.yaml new file mode 100644 index 0000000..b8f668f --- /dev/null +++ b/infrastructures/cert-manager/base/values.yaml @@ -0,0 +1,4 @@ +global: + priorityClassName: system-cluster-critical +namespace: cert-manager +installCRDs: true diff --git a/infrastructures/cert-manager/env/k3s-cluster/config.json b/infrastructures/cert-manager/env/k3s-cluster/config.json new file mode 100644 index 0000000..220c475 --- /dev/null +++ b/infrastructures/cert-manager/env/k3s-cluster/config.json @@ -0,0 +1,12 @@ +{ + "appName": "cert-manager", + "userGivenName": "cert-manager", + "namespace": "cert-manager", + "destNamespace": "cert-manager", + "destServer": "https://kubernetes.default.svc", + "srcPath": "infrastructures/cert-manager/env/k3s-cluster", + "srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git", + "srcTargetRevision": "", + "labels": null, + "annotations": null +} \ No newline at end of file diff --git a/infrastructures/cert-manager/env/k3s-cluster/kustomization.yaml b/infrastructures/cert-manager/env/k3s-cluster/kustomization.yaml new file mode 100644 index 0000000..a227ac4 --- /dev/null +++ b/infrastructures/cert-manager/env/k3s-cluster/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ../../base \ No newline at end of file