⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix some inaccuracies in the helm chart values, and add some doc (#454)
keenzc815716c6958
diff --git a/README.md b/README.mdindex e83c611f0..733cef852 100644--- a/README.md+++ b/README.md@@ -100,7 +100,7 @@ For development, see our [Environment Setup Guide](ENVIRONMENT_SETUP.md) for det### Database Setup-Kaneo uses PostgreSQL for data storage. The Docker Compose setup above handles this automatically, but if you're running Kaneo outside of Docker, you'll need to:+Kaneo uses PostgreSQL for data storage. The Docker Compose setup above handles this automatically, but if you're running Kaneo outside of Docker, or if you are using an external postgres database, you'll need to:1. **Install PostgreSQL** (version 12 or higher)2. **Create a database and user:**@@ -108,6 +108,11 @@ Kaneo uses PostgreSQL for data storage. The Docker Compose setup above handles tCREATE DATABASE kaneo;CREATE USER kaneo_user WITH PASSWORD 'your_password';GRANT ALL PRIVILEGES ON DATABASE kaneo TO kaneo_user;++ \c kaneo;+ GRANT USAGE ON SCHEMA public TO kaneo_user;+ GRANT CREATE ON SCHEMA public TO kaneo_user;+ ALTER SCHEMA public OWNER TO kaneo_user;```3. **Set the DATABASE_URL environment variable:**```bashdiff --git a/charts/kaneo/values.yaml b/charts/kaneo/values.yamlindex 76a647cbe..9d7e3e5ef 100644--- a/charts/kaneo/values.yaml+++ b/charts/kaneo/values.yaml@@ -2,7 +2,6 @@nameOverride: ""fullnameOverride: ""replicaCount: 1-# Autoscaling configurationautoscaling:enabled: false@@ -10,29 +9,25 @@ autoscaling:maxReplicas: 10targetCPUUtilizationPercentage: 80# targetMemoryUtilizationPercentage: 80-# Pod configurationpodAnnotations: {}podSecurityContext: {}nodeSelector: {}tolerations: []affinity: {}-# Service account configurationserviceAccount:create: trueannotations: {}name: ""-# PostgreSQL database configurationpostgresql:# Set to true to deploy PostgreSQL as part of this chartenabled: trueimage:repository: postgres- tag: "16-alpine"+ tag: 16-alpinepullPolicy: IfNotPresent-# Database configurationauth:database: kaneo@@ -43,19 +38,16 @@ postgresql:secretKeys:adminPasswordKey: postgres-passworduserPasswordKey: password-# Persistence for PostgreSQL datapersistence:enabled: truesize: 8GistorageClass: ""accessMode: ReadWriteOnce-# PostgreSQL service configurationservice:type: ClusterIPport: 5432-# Resources for PostgreSQLresources: {}# resources:@@ -65,21 +57,17 @@ postgresql:# requests:# cpu: 100m# memory: 128Mi-# API backend configurationapi:image:repository: ghcr.io/usekaneo/apitag: latestpullPolicy: IfNotPresent-securityContext: {}-service:type: ClusterIPport: 1337targetPort: 1337-# Resources are optional and disabled by defaultresources: {}# resources:@@ -92,16 +80,23 @@ api:# Environment variables for the APIenv:- jwtAccess: "change_me"+ jwtAccess: change_meexistingSecret:enabled: falsename: ""- key: "jwt-access"+ key: jwt-accessdisableRegistration: false-# Database configurationdatabase:# Use external PostgreSQL (set postgresql.enabled to false)+ # Important: when using external postgres, make sure you have set up the db user correctly:+ # CREATE DATABASE kaneo;+ # CREATE USER kaneo_user WITH PASSWORD 'your_password';+ # GRANT ALL PRIVILEGES ON DATABASE kaneo TO kaneo_user;+ # \c kaneo;+ # GRANT USAGE ON SCHEMA public TO kaneo_user;+ # GRANT CREATE ON SCHEMA public TO kaneo_user;+ # ALTER SCHEMA public OWNER TO kaneo_user;external:enabled: falsehost: ""@@ -109,47 +104,41 @@ api:database: kaneousername: kaneo_userpassword: ""- # Use existing secret for external database credentials+ # Use existing secret for external database credentials in the form of a uri, e.g.: "postgresql://user:pass@host:port/db"existingSecret:enabled: falsename: ""- passwordKey: "password"-+ passwordKey: postgres_urilivenessProbe:httpGet:path: /meport: apiinitialDelaySeconds: 30periodSeconds: 10-readinessProbe:httpGet:path: /meport: apiinitialDelaySeconds: 5periodSeconds: 10-# Web frontend configurationweb:image:repository: ghcr.io/usekaneo/webtag: latestpullPolicy: IfNotPresent-# Environment variables for the Webenv:# Optional: Override the default API URL (http://localhost:1337)# The /api path will be automatically appended to the URL+ # Make sure this url matches the ingress host# apiUrl: "https://kaneo.example.com"apiUrl: ""-securityContext: {}-service:type: ClusterIPport: 80targetPort: 80-# Resources are optional and disabled by defaultresources: {}# resources:@@ -166,20 +155,21 @@ web:port: webinitialDelaySeconds: 30periodSeconds: 10-readinessProbe:httpGet:path: /port: webinitialDelaySeconds: 5periodSeconds: 10-# Ingress configurationingress:enabled: false- className: "nginx"+ className: nginxannotations:nginx.ingress.kubernetes.io/rewrite-target: /$1+ nginx.ingress.kubernetes.io/use-regex: "true"+ ## optional: use cert-manager to automatically provision a TLS certificate+ # cert-manager.io/cluster-issuer: letsencrypt# When using nginx ingress controller, these annotations provide URL rewriting# similar to the URLRewrite filter in the Gateway API# Other ingress controllers may require different annotations, handle carefully@@ -189,11 +179,11 @@ ingress:- host: kaneo.localpaths:- path: /?(.*)- pathType: Prefix+ pathType: ImplementationSpecificservice: webport: 80- path: /api/?(.*)- pathType: Prefix+ pathType: ImplementationSpecificservice: apiport: 1337tls: []