diff --git a/apps/craft-launcher/values.yaml b/apps/craft-launcher/values.yaml new file mode 100644 index 0000000..584e424 --- /dev/null +++ b/apps/craft-launcher/values.yaml @@ -0,0 +1,20 @@ +ingress: + enabled: true + className: traefik + host: artcraft.brunner.ninja + annotations: + external-dns.brunner.ninja/enabled: "true" + external-dns.kubernetes.io/target: brunner.ninja + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" +metrics: + serviceMonitor: + enabled: true +topologySpreadConstraints: +- maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: DoNotSchedule + nodeTaintsPolicy: Honor + labelSelector: + matchLabels: + app.kubernetes.io/part-of: artcraft diff --git a/bootstrap/craft-launcher.yaml b/bootstrap/craft-launcher.yaml new file mode 100644 index 0000000..f47844d --- /dev/null +++ b/bootstrap/craft-launcher.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: craft-launcher + namespace: argocd +spec: + project: artcraft + sources: + - repoURL: https://brunner.ninja/charts + chart: craft-launcher + targetRevision: 0.25.2 + helm: + releaseName: craft-launcher + valueFiles: + - $values/apps/craft-launcher/values.yaml + - repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git + targetRevision: main + ref: values + destination: + server: https://kubernetes.default.svc + namespace: artcraft + syncPolicy: + automated: + enabled: true + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/bootstrap/kustomization.yaml b/bootstrap/kustomization.yaml index 0a6940f..be7a9ad 100644 --- a/bootstrap/kustomization.yaml +++ b/bootstrap/kustomization.yaml @@ -64,6 +64,7 @@ resources: - texturecraft.yaml - materialcraft.yaml - craft-anything.yaml +- craft-launcher.yaml - pdfcraft.yaml - photocraft.yaml - soundcraft.yaml