Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Feature/mongodb #40

Merged
merged 3 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ keywords:
- grafana
- cassandra
- kafka
- mongodb
home: https://github.com/cetic/fadi
icon: https://raw.githubusercontent.com/cetic/fadi/master/doc/images/logo.png
source:
Expand Down Expand Up @@ -121,4 +122,8 @@ dependencies:
- name: thingsboard
version: ~0.1.1
repository: https://cetic.github.io/helm-charts/
condition: thingsboard.enabled
condition: thingsboard.enabled
- name: mongodb
version: ~10.11.1
repository: https://charts.bitnami.com/bitnami
condition: mongodb.enabled
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Each requirement is configured with the options provided by that Chart. Please c
| `zabbix.enabled` | Enable [Zabbix](https://github.com/cetic/helm-zabbix) | `false` |
| `drupal.enabled` | Enable [drupal](https://github.com/cetic/helm-drupal) | `false` |
| `airflow.enabled` | Enable [airflow](https://artifacthub.io/packages/helm/bitnami/airflow) | `false` |
| `mongodb.enabled` | Enable [mongodb](https://artifacthub.io/packages/helm/bitnami/mongodb) | `false` |
| `rabbitmq.enabled` | Enable [rabbitmq](https://artifacthub.io/packages/helm/bitnami/rabbitmq) | `false` |
| `thingsboard.enabled` | Enable [thingsboard](https://github.com/cetic/helm-thingsboard) | `false` |

Expand Down
15 changes: 14 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -516,4 +516,17 @@ thingsboard:
enabled: true
annotations: {}
hosts:
- host: thingsboard.example
- host: thingsboard.example

mongodb:
enabled: false
persistence:
enabled: true
auth:
enabled: true
rootPassword: "password1"
initdbScripts:
create_admin_user.sh: |
$MONGODB_BIN_DIR/mongo admin --host 127.0.0.1 --port $MONGODB_PORT_NUMBER -u root -p $MONGODB_ROOT_PASSWORD << EOF
db.createUser({ user: "admin" , pwd: "password1", roles: ["userAdminAnyDatabase", "dbAdminAnyDatabase", "readWriteAnyDatabase"]})
EOF