From 16ae03f4f90c97979cf2e4b1f4ec79721c46241d Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 27 Apr 2024 19:54:50 +0000 Subject: [PATCH] use windmill ing --- Makefile | 7 +++---- apps/base/windmill/windmill.yaml | 9 ++++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 507fe58..229f0ed 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,15 @@ crds: cert-manager: kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.4/cert-manager.yaml +flux: + flux bootstrap git --url="ssh://git@gitea.futureporn.net:2222/futureporn/fp" --branch=main --path="clusters/production" --private-key-file=/home/chris/.ssh/fp-flux argo: helmsman --apply -f ./helmsman.argocd.yaml namespaces: kubectl create namespace cert-manager - kubectl create namespace windmill + kubectl create namespace futureporn helmsman: helmsman --apply -f ./helmsman.yaml @@ -36,9 +38,6 @@ secrets: kubectl --namespace cert-manager create secret generic vultr \ --from-literal=apiKey=${VULTR_API_KEY} - kubectl --namespace windmill delete secret vultr --ignore-not-found - kubectl --namespace windmill create secret generic vultr \ - --from-literal=apiKey=${VULTR_API_KEY} kubectl --namespace futureporn delete secret vultr --ignore-not-found kubectl --namespace futureporn create secret generic vultr \ diff --git a/apps/base/windmill/windmill.yaml b/apps/base/windmill/windmill.yaml index dce69ea..30e188a 100644 --- a/apps/base/windmill/windmill.yaml +++ b/apps/base/windmill/windmill.yaml @@ -90,6 +90,13 @@ spec: minio: enabled: false ingress: - enabled: false + enabled: true + annotations: + kubernetes.io/ingress.class: "nginx" + cert-manager.io/cluster-issuer: "letsencrypt" + tls: + - secretName: windmill-tls + hosts: + - windmill2.sbtp.xyz enterprise: enable: false \ No newline at end of file