add automatic dns updates

This commit is contained in:
2023-12-26 14:34:57 +01:00
parent 72b7734535
commit 9aca8e9e0b
7 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ddns-application
namespace: argocd
spec:
project: infrastructure
source:
repoURL: git@github.com:moll-re/bootstrap-k3s-infra.git
targetRevision: main
path: infrastructure/ddns
destination:
server: https://kubernetes.default.svc
namespace: ddns
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml

View File

@@ -11,6 +11,7 @@ resources:
# infrastructure apps
- projects.yaml
- ddns/
- nfs/
- backup/
- pg-ha/