about summary refs log tree commit diff
path: root/tools/cert-manager
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 12:30:53 +0200
committermakefunstuff <[email protected]>2024-06-28 12:30:53 +0200
commit44cccb5f6b75c532aa6b097e2989d7581e78869e (patch)
treead2d4b607ce63210707d3ddc26a9c88301544bb4 /tools/cert-manager
parent303262c75bd8d3ad2e166760f0518a0d8aa0591c (diff)
downloadk3s-lab-44cccb5f6b75c532aa6b097e2989d7581e78869e.tar.gz
proper refactoring
Diffstat (limited to 'tools/cert-manager')
-rw-r--r--tools/cert-manager/Chart.yaml9
-rw-r--r--tools/cert-manager/templates/cluserissuer.yaml16
2 files changed, 25 insertions, 0 deletions
diff --git a/tools/cert-manager/Chart.yaml b/tools/cert-manager/Chart.yaml
new file mode 100644
index 0000000..9dd7d68
--- /dev/null
+++ b/tools/cert-manager/Chart.yaml
@@ -0,0 +1,9 @@
+apiVersion: v2
+name: cert-manager
+description: A Helm chart for Cert-Manager
+version: 0.1.0
+appVersion: v1.8.0
+dependencies:
+  - name: cert-manager
+    version: v1.8.0
+    repository: https://charts.jetstack.io
diff --git a/tools/cert-manager/templates/cluserissuer.yaml b/tools/cert-manager/templates/cluserissuer.yaml
new file mode 100644
index 0000000..f3ecf79
--- /dev/null
+++ b/tools/cert-manager/templates/cluserissuer.yaml
@@ -0,0 +1,16 @@
+apiVersion: cert-manager.io/v1
+kind: ClusterIssuer
+metadata:
+  name: letsencrypt-prod
+spec:
+  acme:
+    server: https://acme-v02.api.letsencrypt.org/directory
+    emailSecretRef:
+      name: letsencrypt-email-secret
+      key: email
+    privateKeySecretRef:
+      name: letsencrypt-prod
+    solvers:
+      - http01:
+          ingress:
+            class: traefik