Deduplicated certificates config

This commit is contained in:
2025-12-02 00:39:39 +01:00
parent 5bda93eb3d
commit 60b23ffc24
10 changed files with 27 additions and 31 deletions

View File

@@ -4,10 +4,6 @@ metadata:
name: huizinga-dev
namespace: certificates
spec:
secretName: huizinga-dev-tls
issuerRef:
name: letsencrypt
kind: ClusterIssuer
commonName: "huizinga.dev"
dnsNames:
- "huizinga.dev"

View File

@@ -1,17 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: certificates
namespace: flux-system
spec:
interval: 1h
retryInterval: 2m
timeout: 5m
dependsOn:
- name: letsencrypt
sourceRef:
kind: ExternalArtifact
name: certificates
path: ./production
prune: true
wait: true

View File

@@ -1,5 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../namespace.yaml
- certificate-huizinga-dev.yaml
- ../base
patches:
- path: certificate-huizinga-dev.yaml
target:
kind: Certificate