diff --git a/argocd/templates/plane.yaml b/argocd/templates/plane.yaml new file mode 100644 index 0000000..4906f0c --- /dev/null +++ b/argocd/templates/plane.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: plane + namespace: argocd +spec: + project: default + source: + repoURL: https://gitlab.com/developerdurp/homelab.git + targetRevision: main + path: plane + destination: + namespace: plane + name: in-cluster + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/plane/Chart.yaml b/plane/Chart.yaml new file mode 100644 index 0000000..e53710e --- /dev/null +++ b/plane/Chart.yaml @@ -0,0 +1,11 @@ +apiVersion: v2 +name: plane +description: A Helm chart for Kubernetes +type: application +version: 0.0.1 +appVersion: 0.0.1 + +dependencies: +- name: plane-ce + repository: https://helm.plane.so/ + version: 1.0.22 diff --git a/plane/values.yaml b/plane/values.yaml new file mode 100644 index 0000000..f32227a --- /dev/null +++ b/plane/values.yaml @@ -0,0 +1,130 @@ +planeVersion: stable + +dockerRegistry: + enabled: false + host: "index.docker.io/v1/" + loginid: makeplane + password: "" + +ingress: + enabled: true + appHost: "plane.durp.info" + minioHost: "plane-minio.durp.info" + ingressClass: "nginx" + ingress_annotations: { + "nginx.ingress.kubernetes.io/proxy-body-size": "5m", + } + +# SSL Configuration - Valid only if ingress.enabled is true +ssl: + createIssuer: false + issuer: "http" # Allowed : cloudflare, digitalocean, http + token: "" # not required for http + server: https://acme-v02.api.letsencrypt.org/directory + email: plane@example.com + generateCerts: false + +redis: + local_setup: true + image: valkey/valkey:7.2.5-alpine + servicePort: 6379 + storageClass: longhorn + volumeSize: 1Gi + pullPolicy: IfNotPresent + assign_cluster_ip: false + +postgres: + local_setup: true + image: postgres:15.5-alpine + servicePort: 5432 + cliConnectPort: "" + storageClass: longhorn + volumeSize: 5Gi + pullPolicy: IfNotPresent + assign_cluster_ip: false + +minio: + image: minio/minio:latest + local_setup: true + pullPolicy: IfNotPresent + root_password: password + root_user: admin + storageClass: longhorn + volumeSize: 5Gi + assign_cluster_ip: true + +web: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-frontend + pullPolicy: IfNotPresent + assign_cluster_ip: true + +space: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-space + pullPolicy: IfNotPresent + assign_cluster_ip: true + +admin: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-admin + pullPolicy: IfNotPresent + assign_cluster_ip: true + +api: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-backend + pullPolicy: IfNotPresent + assign_cluster_ip: false + +worker: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-backend + pullPolicy: IfNotPresent + +beatworker: + replicas: 1 + memoryLimit: 1000Mi + cpuLimit: 500m + image: makeplane/plane-backend + pullPolicy: IfNotPresent + +env: + pgdb_username: plane + pgdb_password: plane + pgdb_name: plane + pgdb_remote_url: "" #INCASE OF REMOTE PG DB URL ONLY + + # NEXT_PUBLIC_DEPLOY_URL: "" + # REDIS + remote_redis_url: "" #INCASE OF REMOTE REDIS ONLY + # POSTGRES DB VALUES + + # DATA STORE + docstore_bucket: "uploads" + doc_upload_size_limit: "5242880" # 5MB + + # REQUIRED IF MINIO LOCAL SETUP IS FALSE + aws_access_key: "" + aws_secret_access_key: "" + aws_region: "" + aws_s3_endpoint_url: "" + + secret_key: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5" + + sentry_dsn: "" + sentry_environment: "" + + cors_allowed_origins: "" + default_cluster_domain: cluster.local +