feat(cluster): use LE staging env for initial setup
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
5 files changed
+11
-5
No files matched your search
@@ -195,7 +195,7 @@ In order to use Terraform and `cert-manager` with the Cloudflare DNS challenge y
|
||||
|
||||
📍 Nodes are not security hardened by default, you can do this with [dev-sec/ansible-collection-hardening](https://github.com/dev-sec/ansible-collection-hardening) or similar if it supports Ubuntu 22.04.
|
||||
|
||||
1. Ensure you are able to SSH into your nodes from your workstation using your private ssh key. This is how Ansible is able to connect to your remote nodes.
|
||||
1. Ensure you are able to SSH into your nodes from your workstation using a private SSH key **without a passphrase**. This is how Ansible is able to connect to your remote nodes.
|
||||
|
||||
[How to configure SSH key-based authentication](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server)
|
||||
|
||||
@@ -419,6 +419,12 @@ To access services from the outside world port forwarded `80` and `443` in your
|
||||
|
||||
Now if nothing is working, that is expected. This is DNS after all!
|
||||
|
||||
### 🔐 SSL
|
||||
|
||||
By default in this template Kubernetes ingresses are set to use the [Let's Encrypt Staging Environment](https://letsencrypt.org/docs/staging-environment/). This will hopefully reduce issues from ACME on requesting certificates until you are ready to use this in "Production".
|
||||
|
||||
Once you have confirmed there are no issues requesting your certificates replace `letsencrypt-staging` with `letsencrypt-production` in your ingress annotations for `cert-manager.io/cluster-issuer`
|
||||
|
||||
### 🤖 Renovatebot
|
||||
|
||||
[Renovatebot](https://www.whitesourcesoftware.com/free-developer-tools/renovate/) will scan your repository and offer PRs when it finds dependencies out of date. Common dependencies it will discover and update are Flux, Ansible Galaxy Roles, Terraform Providers, Kubernetes Helm Charts, Kubernetes Container Images, Pre-commit hooks updates, and more!
|
||||
|
||||
@@ -28,7 +28,7 @@ spec:
|
||||
enabled: true
|
||||
ingressClassName: "traefik"
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
||||
external-dns/is-public: "true"
|
||||
hajimari.io/enable: "true"
|
||||
|
||||
@@ -107,7 +107,7 @@ spec:
|
||||
enabled: true
|
||||
ingressClassName: "traefik"
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
||||
hajimari.io/enable: "true"
|
||||
hajimari.io/icon: "weather-sunset"
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
name: traefik-dashboard
|
||||
namespace: networking
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
||||
hajimari.io/appName: "traefik"
|
||||
hajimari.io/enable: "true"
|
||||
hajimari.io/icon: "web"
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
name: webhook-receiver
|
||||
namespace: flux-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
||||
external-dns/is-public: "true"
|
||||
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
|
||||
traefik.ingress.kubernetes.io/router.middlewares: "networking-cloudflare-only@kubernetescrd"
|
||||
|
||||
Reference in new issue
Block a user