use valuesObject
ci / build (push) Successful in 9s Details

This commit is contained in:
CJ_Clippy 2024-04-25 16:33:04 +00:00
parent 72a94c0b53
commit 6ffeff1543
2 changed files with 110 additions and 17 deletions

View File

@ -1,17 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: futureporn
namespace: argocd
# Finalizer that ensures that project is not deleted until it is not referenced by any application
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
description: The Galaxy's Best VTuber Hentai Site
# Allow manifests to deploy from any Git repos
sourceRepos:
- '*'
destination:
# cluster API URL
server: https://kubernetes.default.svc
namespace: '*'

View File

@ -14,4 +14,114 @@ spec:
path: windmill/windmill path: windmill/windmill
repoURL: https://windmill-labs.github.io/windmill-helm-charts repoURL: https://windmill-labs.github.io/windmill-helm-charts
targetRevision: f20a4a626dbd18e5d3b0c9439af8ec7f90d269d7 targetRevision: f20a4a626dbd18e5d3b0c9439af8ec7f90d269d7
helm:
valuesObject:
# 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: 3
# -- 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: []
# -- Mode for workers, defaults to "worker" - alternative "agent" requires Enterprise license
mode: "worker"
# Thenative worker group will only execute native jobs. Windmill has a default worker group configuration for it
- name: "native"
replicas: 4
# -- 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: []
# -- Mode for workers, defaults to "worker" - alternative "agent" requires Enterprise license
mode: "worker"
- 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
# enable minio (bitnami) on kubernetes
minio:
enabled: false
# Configure Ingress
ingress:
className: "nginx"
# enable enterprise features
enterprise:
# -- enable windmill enterprise, requires license key.
enabled: false
enterprise:
enable: false
ingress:
enabled: true
path: /
hosts:
- windmill2.sbtp.xyz
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
labels: {}
tls:
- secretName: windmill-tls
hosts:
- windmill2.sbtp.xyz