From a602559297aa376cd27dad78ce060a8ccbc9554c Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Thu, 13 Jun 2024 15:07:43 -0800 Subject: [PATCH] remove windmill --- charts/fp/templates-staging/uwu-ingress.yaml | 48 ---------- charts/windmill/README.md | 3 - charts/windmill/values.yaml | 96 -------------------- helmfile.yaml | 44 --------- helmsman.argocd.yaml | 47 ---------- helmsman.fp.yaml | 56 ------------ helmsman.nothing.yaml | 6 -- 7 files changed, 300 deletions(-) delete mode 100644 charts/fp/templates-staging/uwu-ingress.yaml delete mode 100644 charts/windmill/README.md delete mode 100644 charts/windmill/values.yaml delete mode 100644 helmfile.yaml delete mode 100644 helmsman.argocd.yaml delete mode 100644 helmsman.fp.yaml delete mode 100644 helmsman.nothing.yaml diff --git a/charts/fp/templates-staging/uwu-ingress.yaml b/charts/fp/templates-staging/uwu-ingress.yaml deleted file mode 100644 index b8b42fb..0000000 --- a/charts/fp/templates-staging/uwu-ingress.yaml +++ /dev/null @@ -1,48 +0,0 @@ -## Utility ingress (named uwu to make it non-specific) is used for several backend or development services. -## We do this to save money, as every VKE ingress cost us $10/month -## We route to different services by path - - - -{{ if eq .Values.managedBy "Helm" }} - -# --- -# apiVersion: networking.k8s.io/v1 -# kind: Ingress -# metadata: -# name: uwu-ingress -# namespace: futureporn -# annotations: -# cert-manager.io/cluster-issuer: "letsencrypt-staging" -# nginx.ingress.kubernetes.io/ssl-passthrough: "true" -# # If you encounter a redirect loop or are getting a 307 response code -# # then you need to force the nginx ingress to connect to the backend using HTTPS. -# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" -# spec: -# ingressClassName: nginx -# rules: -# - host: uwu.sbtp.xyz -# http: -# paths: -# - path: /piko -# pathType: Prefix -# backend: -# service: -# name: piko -# port: -# name: https -# - path: /windmill -# pathType: Prefix -# backend: -# service: -# name: windmmill-app -# port: -# name: https -# tls: -# - hosts: -# - uwu.sbtp.xyz -# secretName: uwu-tls - - - -{{ end }} \ No newline at end of file diff --git a/charts/windmill/README.md b/charts/windmill/README.md deleted file mode 100644 index 43577b3..0000000 --- a/charts/windmill/README.md +++ /dev/null @@ -1,3 +0,0 @@ -windmill helm chart is pulled in via ../../helmsman.yaml. - -This folder is here just to hold our values.yaml file for configuring windmill. \ No newline at end of file diff --git a/charts/windmill/values.yaml b/charts/windmill/values.yaml deleted file mode 100644 index 1c2ed78..0000000 --- a/charts/windmill/values.yaml +++ /dev/null @@ -1,96 +0,0 @@ -# windmill root values block -windmill: - # domain as shown in browser, this is used together with `baseProtocol` as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled - baseDomain: windmill2.sbtp.xyz - baseProtocol: https - # postgres URI, pods will crashloop if database is unreachable, sets DATABASE_URL environment variable in app and worker container - databaseUrl: postgres://postgres:windmill@windmill-postgresql/windmill?sslmode=disable - # replica for the application app - appReplicas: 2 - # replicas for the workers, jobs are executed on the workers - lspReplicas: 2 - workerGroups: - # The default worker group is the one that will execute jobs with any taggs except the native ones. Windmill has a default worker group configuration for it - - name: "default" - replicas: 2 - # -- Annotations to apply to the pods - annotations: {} - - # -- Labels to apply to the pods - labels: {} - - # -- Node selector to use for scheduling the pods - nodeSelector: {} - - # -- Tolerations to apply to the pods - tolerations: [] - - # -- Affinity rules to apply to the pods - affinity: {} - - # -- Resource limits and requests for the pods - resources: - requests: - memory: "1028Mi" - cpu: "500m" - limits: - memory: "2048Mi" - cpu: "1000m" - - # -- Extra environment variables to apply to the pods - extraEnv: [] - - # -- Extra sidecar containers - extraContainers: [] - - # Thenative worker group will only execute native jobs. Windmill has a default worker group configuration for it - - name: "native" - replicas: 3 - # -- Resource limits and requests for the pods - resources: - requests: - memory: "128Mi" - cpu: "100m" - limits: - memory: "256Mi" - cpu: "200m" - - # -- Extra environment variables to apply to the pods - extraEnv: [] - - # -- Extra sidecar containers - extraContainers: [] - - - name: "gpu" - replicas: 0 - - # Use those to override the tag or image used for the app and worker containers. Windmill uses the same image for both. - # By default, if enterprise is enable, the image is set to ghcr.io/windmill-labs/windmill-ee, otherwise the image is set to ghcr.io/windmill-labs/windmill - #tag: "mytag" - #image: "ghcr.io/windmill-labs/windmill" - -# enable postgres (bitnami) on kubernetes -postgresql: - enabled: true - primary: - persistence: - size: 40Gi -# enable minio (bitnami) on kubernetes -minio: - enabled: false - -# Configure Ingress -ingress: - className: "nginx" - annotations: - nginx.ingress.kubernetes.io/ssl-redirect: "true" - cert-manager.io/cluster-issuer: "letsencrypt-prod" - tls: - - hosts: - - windmill2.sbtp.xyz - secretName: windmill-tls - -# enable enterprise features -enterprise: - # -- enable windmill enterprise, requires license key. - enabled: false \ No newline at end of file diff --git a/helmfile.yaml b/helmfile.yaml deleted file mode 100644 index 9e6c92a..0000000 --- a/helmfile.yaml +++ /dev/null @@ -1,44 +0,0 @@ -repositories: -- name: jetstack - url: https://charts.jetstack.io - -- name: vultr - url: https://vultr.github.io/helm-charts - -- name: emberstack - url: https://emberstack.github.io/helm-charts - - -releases: - - name: reflector - namespace: default - chart: emberstack/reflector - - - name: cert-manager - namespace: cert-manager - chart: jetstack/cert-manager - set: - - name: installCRDs - value: true - values: - - charts/fp/values-prod.yaml - - - name: cert-manager-webhook-vultr - namespace: cert-manager - chart: vultr/cert-manager-webhook-vultr - dependencies: - - version: ~v1.14.4 - chart: jetstack/cert-manager - needs: - - cert-manager/cert-manager - - - name: fp - namespace: default - chart: charts/fp - values: - - charts/fp/values-prod.yaml - dependencies: - - version: ~v1.14.4 - chart: jetstack/cert-manager - needs: - - cert-manager/cert-manager \ No newline at end of file diff --git a/helmsman.argocd.yaml b/helmsman.argocd.yaml deleted file mode 100644 index 1337417..0000000 --- a/helmsman.argocd.yaml +++ /dev/null @@ -1,47 +0,0 @@ -namespaces: - default: - cert-manager: - ingress-nginx: - argocd: - -helmRepos: - jetstack: https://charts.jetstack.io - emberstack: https://emberstack.github.io/helm-charts - vultr: https://vultr.github.io/helm-charts - ingress-nginx: https://kubernetes.github.io/ingress-nginx - argo: https://argoproj.github.io/argo-helm - -apps: - argodeps: - namespace: default - chart: "charts/argodeps" - enabled: true - version: "1.0.0" - argo: - namespace: argocd - chart: argo/argo-cd - enabled: true - version: "6.7.13" - valuesFile: "values/argocd.yaml" - ingress-nginx: - namespace: ingress-nginx - chart: "ingress-nginx/ingress-nginx" - enabled: true - version: "4.10.0" - cert-manager-webhook-vultr: - namespace: cert-manager - chart: vultr/cert-manager-webhook-vultr - enabled: true - version: "1.0.0" - cert-manager: - namespace: "cert-manager" - chart: "jetstack/cert-manager" - enabled: true - version: "1.14.4" - reflector: - namespace: "default" - chart: "emberstack/reflector" - enabled: true - version: "7.1.262" - - diff --git a/helmsman.fp.yaml b/helmsman.fp.yaml deleted file mode 100644 index 46db1ad..0000000 --- a/helmsman.fp.yaml +++ /dev/null @@ -1,56 +0,0 @@ -namespaces: - default: - cert-manager: - ingress-nginx: - metrics-server: - kcert: - windmill: - -helmRepos: - jetstack: https://charts.jetstack.io - emberstack: https://emberstack.github.io/helm-charts - vultr: https://vultr.github.io/helm-charts - ingress-nginx: https://kubernetes.github.io/ingress-nginx - metrics-server: https://kubernetes-sigs.github.io/metrics-server - windmill: https://windmill-labs.github.io/windmill-helm-charts - -apps: - windmill: - namespace: windmill - chart: "windmill/windmill" - enabled: true - version: "2.0.167" - valuesFile: "./charts/windmill/values.yaml" - metrics-server: - namespace: metrics-server - chart: "metrics-server/metrics-server" - enabled: true - version: "3.12.1" - ingress-nginx: - namespace: ingress-nginx - chart: "ingress-nginx/ingress-nginx" - enabled: true - version: "4.10.0" - fp: - namespace: "default" - chart: "charts/fp" - enabled: true - version: "0.0.1" - valuesFile: "./charts/fp/values-prod.yaml" - cert-manager-webhook-vultr: - namespace: cert-manager - chart: vultr/cert-manager-webhook-vultr - enabled: true - version: "1.0.0" - cert-manager: - namespace: "cert-manager" - chart: "jetstack/cert-manager" - enabled: true - version: "1.14.4" - reflector: - namespace: "default" - chart: "emberstack/reflector" - enabled: true - version: "7.1.262" - - diff --git a/helmsman.nothing.yaml b/helmsman.nothing.yaml deleted file mode 100644 index 1729859..0000000 --- a/helmsman.nothing.yaml +++ /dev/null @@ -1,6 +0,0 @@ -namespaces: - default: - -helmRepos: - -apps: