From 96a10eee29d97c7907ce9fefedff3c637cc2ecec Mon Sep 17 00:00:00 2001 From: "Guillaume B.B. Van Hemmen" Date: Thu, 19 Dec 2024 14:32:26 +0100 Subject: [PATCH] #0000 - Add cert-manager setup, license, and update README Introduce a `ClusterIssuer` resource for cert-manager to enable Let's Encrypt integration with Traefik. Add an MIT license for the project and clarify the purpose of the repository in the README. --- LICENSE | 21 +++++++++++++++++++++ README.md | 2 +- cert-manager.yaml | 18 ++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 cert-manager.yaml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7356467 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Guillaume 'B.B.' Van Hemmen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index c535414..fb49cab 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # core -the core setup of the cluster \ No newline at end of file +A collection of "core" application that run the cluster. diff --git a/cert-manager.yaml b/cert-manager.yaml new file mode 100644 index 0000000..9c0ad06 --- /dev/null +++ b/cert-manager.yaml @@ -0,0 +1,18 @@ +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: acme-lets-encrypt-http + namespace: cert-issuer +spec: + acme: + email: acme@van-hemmen.com + # We use the staging server here for testing to avoid hitting + server: https://acme-v02.api.letsencrypt.org/directory + privateKeySecretRef: + # if not existing, it will register a new account and stores it + name: production-issuer-account-key + solvers: + - http01: + # The ingressClass used to create the necessary ingress routes + ingress: + class: traefik