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

Commit

Permalink
Merge pull request #40 from cetic/feature/mongodb
Browse files Browse the repository at this point in the history
Feature/mongodb
  • Loading branch information
banzo authored Nov 10, 2021
2 parents 1cf3094 + 9863cda commit 2ceed14
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
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

0 comments on commit 2ceed14

Please sign in to comment.