Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added changes for supporting MongoDB on Mac M1 #369

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion charts/litmus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "3.5.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 3.5.0
version: 3.5.1
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

![Version: 3.5.0](https://img.shields.io/badge/Version-3.5.0-informational?style=flat-square) ![AppVersion: 3.5.0](https://img.shields.io/badge/AppVersion-3.5.0-informational?style=flat-square)
![Version: 3.5.1](https://img.shields.io/badge/Version-3.5.1-informational?style=flat-square) ![AppVersion: 3.5.0](https://img.shields.io/badge/AppVersion-3.5.0-informational?style=flat-square)

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -72,7 +72,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| ingress.ingressClassName | string | `""` | |
| ingress.name | string | `"litmus-ingress"` | |
| ingress.tls | list | `[]` | |
| mongodb | object | `{"architecture":"replicaset","auth":{"enabled":true,"existingSecret":"","rootPassword":"1234","rootUser":"root"},"enabled":true,"metrics":{"enabled":false,"prometheusRule":{"enabled":false}},"persistence":{"enabled":true},"replicaCount":3,"volumePermissions":{"enabled":true}}` | Configure the Bitnami MongoDB subchart see values at https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml |
| mongodb | object | `{"architecture":"replicaset","auth":{"enabled":true,"existingSecret":"","rootPassword":"1234","rootUser":"root"},"enabled":true,"livenessProbe":{"timeoutSeconds":20},"metrics":{"enabled":false,"prometheusRule":{"enabled":false}},"persistence":{"enabled":true},"readinessProbe":{"timeoutSeconds":20},"replicaCount":3,"volumePermissions":{"enabled":true}}` | Configure the Bitnami MongoDB subchart see values at https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml |
| mongodb.auth.existingSecret | string | `""` | existingSecret Existing secret with MongoDB(®) credentials (keys: `mongodb-passwords`, `mongodb-root-password`, `mongodb-metrics-password`, ` mongodb-replica-set-key`) |
| nameOverride | string | `""` | |
| openshift.route.annotations | object | `{}` | |
Expand Down
14 changes: 14 additions & 0 deletions charts/litmus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,15 @@
# -- Configure the Bitnami MongoDB subchart
# see values at https://github.com/bitnami/charts/blob/master/bitnami/mongodb/values.yaml
mongodb:
# For some environments, mongo pings can take time to resolve
livenessProbe:
timeoutSeconds: 20 # Default 10s

Check failure on line 338 in charts/litmus/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

338:24 [comments] too few spaces before comment
readinessProbe:
timeoutSeconds: 20 # Default 5s

Check failure on line 340 in charts/litmus/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

340:24 [comments] too few spaces before comment
# Required when using Mac M1 - https://github.com/bitnami/containers/issues/40947#issuecomment-1968364385
# extraEnvVars:
# - name: EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU
# value: "1"
enabled: true
auth:
enabled: true
Expand All @@ -350,3 +359,8 @@
enabled: false
prometheusRule:
enabled: false
# Required when using Mac M1 - https://github.com/bitnami/containers/issues/40947#issuecomment-1968364385
# arbiter:
# extraEnvVars:
# - name: EXPERIMENTAL_DOCKER_DESKTOP_FORCE_QEMU
# value: "1"
Loading