Skip to content

Commit

Permalink
fix: readme, notes & chart name
Browse files Browse the repository at this point in the history
  • Loading branch information
aeppling committed Sep 17, 2024
1 parent 5f4ecfb commit 0acd2df
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Helm charts to install & run Kexa with postgres/mariaDB and Grafana
If you do not want to use the cronjob, and just need a one time run:
- Replace kexa-chart/templates/kexa-store.yaml with kexa-chart/store/kexa-store.yaml


## Create your secrets

Most of addon's credentials are passed in .env file, only Kubernetes addon require
Expand All @@ -29,8 +30,14 @@ kubectl create secret generic kubeconfig-secret --from-file=kubeconfig.yaml=kube

## Install the chart

*Adding the Kexa repository*
```bash
helm repo add YOUR_REPOSITORY_NAME https://kexa-io.github.io/helm-charts/
```

*Installing Kexa chart*
```bash
helm install kexa-helm .\kexa-chart\
helm install YOUR_RELEASE_NAME YOUR_REPOSITORY_NAME/kexa
```

## Read the instructions in your console !
2 changes: 1 addition & 1 deletion charts/kexa-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: helm-kexa-grafana-postgres
name: kexa
description: A Helm chart that installs PostgreSQL and Grafana
version: 1.4.1
appVersion: '1.0'
Expand Down
26 changes: 11 additions & 15 deletions charts/kexa-chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
------ NOTES -------

#### Postgres ####

#### Grafana Dashboard ####
# Get postgres password
kubectl get secret --namespace default my-postgresql -o jsonpath="{.data.postgres-password}"

# Get Grafana's hashed password
kubectl get secret --namespace default kexa-helm-grafana -o jsonpath="{.data.admin-password}"
OR
kubectl get secret --namespace default kexa-helm-grafana-admin -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}"
# Decode hashed Postgres password
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("YOUR_HASHED_PASSWORD_HERE"))


#### Grafana Dashboard ####

# Get Grafana's hashed password
kubectl get secret --namespace default YOUR_RELEASE_NAME-grafana -o jsonpath="{.data.admin-password}"

# Decode hashed Grafana password
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("YOUR_HASHED_PASSWORD_HERE"))

# Forwarding port
kubectl port-forward svc/kexa-helm-grafana 8080:80
OR
kubectl port-forward svc/kexa-helm-grafana 3000
kubectl port-forward svc/YOUR_RELEASE_NAME-grafana 8080:80

# Login with 'admin' and password you got


# Get postgres password
kubectl get secret --namespace default my-postgresql -o jsonpath="{.data.postgres-password}"

# Decode hashed Postgres password
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("YOUR_HASHED_PASSWORD_HERE"))
# All dashboards and database connection to Postgres are already set


#### Kexa Logs ####
Expand Down

0 comments on commit 0acd2df

Please sign in to comment.