apiVersion: apps/v1 kind: Deployment metadata: name: windmill-server annotations: keel.sh/policy: "all" keel.sh/match-tag: "true" keel.sh/schedule: "0 3 * * *" spec: replicas: 1 selector: matchLabels: app: windmill-server template: metadata: labels: app: windmill-server spec: nodeSelector: kubernetes.io/arch: amd64 containers: - name: server image: ghcr.io/windmill-labs/windmill:latest env: - name: MODE value: "standalone" - name: BASE_URL value: "https://murmuration.mynest.love" - name: DATABASE_URL valueFrom: secretKeyRef: name: windmill-secret key: DATABASE_URL ports: - containerPort: 8000 --- apiVersion: apps/v1 kind: Deployment metadata: name: windmill-postgres spec: replicas: 1 selector: matchLabels: app: windmill-postgres template: metadata: labels: app: windmill-postgres spec: containers: - name: postgres image: postgres:16-alpine ports: - containerPort: 5432 envFrom: - secretRef: name: windmill-secret volumeMounts: - name: postgres-storage mountPath: /var/lib/postgresql/data subPath: windmill-data volumes: - name: postgres-storage persistentVolumeClaim: claimName: windmill-postgres-pvc