Skip to content

Commit

Permalink
fix: values doc & more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aeppling committed Sep 27, 2024
1 parent 9e15a4b commit c37da31
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 22 deletions.
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ uselocalRules: true
or when installing the chart
```yaml
helm install kexa-helm kexa/kexa -n kexa --set hostConfigPath="/mnt/host/c/your/path/to/tmpconfig" --set uselocalRules=true
helm install kexa-helm kexa/kexa -n kexa --set hostConfigPath="/mnt/host/c/your/path/to/tmpconfig" --set uselocalRules="true"
```

## Install the chart
Expand Down Expand Up @@ -134,3 +134,65 @@ Now you can schedule Kexa as you wish through Cronicle


*Read the instructions in your console!*

## Custom Values

```yaml
# app name
appname: kexa-helm

namespace: kexa

# local rules folder mount
hostConfigPath: /mnt/host/c/your/path/to/tmpconfig
hostConfigFolder: tmpconfig
uselocalRules: false

# kubernetes addon
kubernetesAddon:
enabled: true
mountPath: kubernetesconfigurations

# kubernetes cronjob (instead of using Cronicle)
kexaKubeCronJob: "0 0 29 2 1"

# Kexa version
kexaScript:
image: innovtech/kexa
tag: latest

# database connection
# can only be reconfigured here
grafana.ini:
database:
type: "postgres"
host: "my-postgresql.kexa.svc.cluster.local"
name: "kexa_export_database"
user: "kexa_postgres_user"
password: "my_postgres_password"
ssl_mode: "disable"


# postgres
postgresql:
image:
tag: "15.0.0"
livenessProbe:
initialDelaySeconds: 200
readinessProbe:
initialDelaySeconds: 200
host: my-postgresql.kexa.svc.cluster.local
fullnameOverride: "my-postgresql"
connectionString: "postgresql://kexa_postgres_user:[email protected]:5432/kexa_export_database"
auth:
postgresPassword: my_postgres_password
username: kexa_postgres_user
password: my_postgres_password
database: kexa_export_database
persistence:
enabled: true
size: 10Gi
primary:
service:
port: 5432
```
3 changes: 3 additions & 0 deletions charts/kexa-chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ kubectl port-forward svc/YOUR_RELEASE_NAME-grafana 8080:80 -n kexa
# Forwarding port
kubectl port-forward svc/kexa-helm-cronicle-svc 3012:80 -n kexa

# Login
With admin/admin

#### Kexa Logs ####

# Find logs from cronjob
Expand Down
25 changes: 4 additions & 21 deletions charts/kexa-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
appname: kexa-helm

namespace: kexa
hostConfigPath: /mnt/host/c/path/to/your/tmpconfig
hostConfigPath: /mnt/host/c/your/path/to/tmpconfig
hostConfigFolder: tmpconfig
uselocalRules: false
kubernetesAddon:
Expand All @@ -12,12 +12,6 @@ kexaKubeCronJob: "0 0 29 2 1" # Use "0 0 29 2 1" for never if you're using the
postgresql:
image:
tag: "15.0.0"
global:
postgresql:
auth:
postgresPassword: my_postgres_password
username: kexa_postgres_user
password: my_postgres_password
livenessProbe:
initialDelaySeconds: 200
readinessProbe:
Expand All @@ -30,8 +24,9 @@ postgresql:
username: kexa_postgres_user
password: my_postgres_password
database: kexa_export_database
service:
port: 5432
persistence:
enabled: true
size: 10Gi
primary:
service:
port: 5432
Expand Down Expand Up @@ -131,18 +126,6 @@ grafana:
kexaScript:
image: innovtech/kexa
tag: latest
volumeMounts:
- name: configuration-files
mountPath: /app/config
volumes:
- name: configuration-files
configMap:
name: kexa-configuration-files
saveAddon:
type: postgres
name: "Clever Cloud Postgresql"
urlName: postgres_connect
description: "Database to save the data (clever-cloud)"


cronicle:
Expand Down

0 comments on commit c37da31

Please sign in to comment.