Skip to content

Commit

Permalink
Added changes for supporting MongoDB on Mac M1 (#369)
Browse files Browse the repository at this point in the history
* Added changes for supporting Mac M1

Signed-off-by: Jonsy13 <[email protected]>

* Added changes for supporting Mac M1

Signed-off-by: Jonsy13 <[email protected]>

* Added changes for supporting Mac M1

Signed-off-by: Jonsy13 <[email protected]>

---------

Signed-off-by: Jonsy13 <[email protected]>
  • Loading branch information
Jonsy13 authored Apr 5, 2024
1 parent 74200f4 commit f524078
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
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(&reg;) 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 @@ openshift:
# -- 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
readinessProbe:
timeoutSeconds: 20
# 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 @@ mongodb:
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"

0 comments on commit f524078

Please sign in to comment.