feat: deploy staging letsencrypt
This commit is contained in:
@@ -16,3 +16,22 @@ spec:
|
||||
name: flux-system
|
||||
timeout: 5m0s
|
||||
wait: true
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: infra-cert-manager-configs
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h0m0s
|
||||
path: ./infra/configs/cert-manager
|
||||
dependsOn:
|
||||
- name: infra-cert-manager
|
||||
- name: infra-1password
|
||||
prune: true
|
||||
retryInterval: 1m0s
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
timeout: 5m0s
|
||||
wait: true
|
||||
|
||||
25
infra/configs/cert-manager/config-cert-manager.yaml
Normal file
25
infra/configs/cert-manager/config-cert-manager.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: onepassword.com/v1
|
||||
kind: OnePasswordItem
|
||||
metadata:
|
||||
name: cloudflare-token
|
||||
namespace: cert-manager-system
|
||||
spec:
|
||||
itemPath: "vaults/cluster/items/cloudflare-token"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt-staging
|
||||
spec:
|
||||
acme:
|
||||
email: acme@yadunut.com
|
||||
server: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-staging
|
||||
solvers:
|
||||
- dns01:
|
||||
cloudflare:
|
||||
apiTokenSecretRef:
|
||||
name: cloudflare-token
|
||||
key: password
|
||||
@@ -1,6 +1,7 @@
|
||||
{...}: {
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = ["<network-id>"];
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
||||
Reference in New Issue
Block a user