remove windmill in a way flux understands
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-13 15:21:18 -08:00
parent a602559297
commit b42fd007fa
3 changed files with 2 additions and 21 deletions

View File

@ -1,8 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: podinfo name: temporal
namespace: futureporn namespace: futureporn
spec: spec:
interval: 5m interval: 5m
url: https://stefanprodan.github.io/podinfo url: https://charts.lemontech.engineering

View File

View File

@ -6,25 +6,6 @@ kubectl --namespace futureporn delete secret uwu-auth --ignore-not-found
kubectl --namespace futureporn create secret generic uwu-auth \ kubectl --namespace futureporn create secret generic uwu-auth \
--from-literal=auth=${CHISEL_AUTH} --from-literal=auth=${CHISEL_AUTH}
kubectl --namespace futureporn delete secret windmill-postgresql --ignore-not-found
## we do this so helm can adopt our pre-made secret @see https://github.com/helm/helm/pull/7649
cat <<EOF | kubectl --namespace futureporn create -f-
---
data:
postgres-password: $(echo -n $WINDMILL_POSTGRES_PASSWORD | base64)
apiVersion: v1
kind: Secret
metadata:
name: windmill-postgresql
namespace: futureporn
annotations:
meta.helm.sh/release-namespace: futureporn
meta.helm.sh/release-name: postgresql
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: postgresql
type: Opaque
EOF
kubectl --namespace futureporn delete secret frp --ignore-not-found kubectl --namespace futureporn delete secret frp --ignore-not-found
kubectl --namespace futureporn create secret generic frp \ kubectl --namespace futureporn create secret generic frp \