litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.36k stars 686 forks source link

Installation through helm commands are giving error #4432

Open KrishAryan opened 7 months ago

KrishAryan commented 7 months ago

What happened: Installation through helm commands are giving error

'Error: template: litmus/templates/server-cluster-role.yaml:2:6: executing "litmus/templates/server-cluster-role.yaml" at <eq .Values.portal.server.graphqlServer.genericEnv.SELF_AGENT "true">: error calling eq: incompatible types for comparison'

What you expected to happen: Successful installation of Litmus Chaos (latest)

Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible): In killerkoda kubernetes 1.29 or any other kubernetes cluster follow the steps of Litmus installation through helm commands

Anything else we need to know?:

SarthakJain26 commented 6 months ago

@Jonsy13 PTAL

ashupednekar commented 3 months ago

Hi, followed the repo add and install steps on a k3s cluster... working fine for me.

(base) ~ ❯ helm repo add litmuschaos https://litmuschaos.github.io/litmus-helm/
kubectl create ns litmus

namespace/litmus created
(base) ~ ❯ helm install chaos litmuschaos/litmus --namespace=litmus
NAME: chaos
LAST DEPLOYED: Sun Jun  2 14:05:27 2024
NAMESPACE: litmus
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Thank you for installing litmus 😀

Your release is named chaos and it's installed to namespace: litmus.

Visit https://docs.litmuschaos.io to find more info.
(base) ~ ❯ k get po -n litmus
NAME                                       READY   STATUS              RESTARTS   AGE
chaos-litmus-frontend-5794c9ff9d-lqj5q     0/1     ContainerCreating   0          12s
chaos-litmus-auth-server-f9b9dcf76-drxff   0/1     Init:0/1            0          12s
chaos-litmus-server-795c898895-bsxpm       0/1     Init:0/1            0          12s
chaos-mongodb-arbiter-0                    0/1     ContainerCreating   0          11s
chaos-mongodb-0                            0/1     Init:0/1            0          11s

Could you pls provide more details... ? are there any specific values that may be causing issue?