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 1 commit
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
11 changes: 8 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
apiVersion: v2
name: fadi
version: 0.2.9
appVersion: 0.2.9
version: 0.2.10
appVersion: 0.2.10
description: FADI is a Cloud Native platform for Big Data based on mature open source tools.
keywords:
- fadi
Expand All @@ -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 @@ -113,4 +114,8 @@ dependencies:
- name: airflow
version: ~8.0.5
repository: https://charts.bitnami.com/bitnami
condition: airflow.enabled
condition: airflow.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` |

## Contributing

Expand Down
15 changes: 15 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,3 +444,18 @@ airflow:
password: password1
port: 5432
user: admin

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"]})
use mongodb
db.user.insert({name: "Ada Lovelace", age: 205})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those 2 commands would do a nice test, but should not be in the chart by default.

EOF