Skip to content

Commit

Permalink
Added 3.11.x changes for ChaosCenter & Helm-Agent (#403)
Browse files Browse the repository at this point in the history
* Added litmusctl changes

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

* Added litmusctl changes

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

* Added litmusctl changes

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

---------

Signed-off-by: Jonsy13 <[email protected]>
  • Loading branch information
Jonsy13 authored Sep 18, 2024
1 parent 06f7fb3 commit a45ffda
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ helm install litmus-agent litmuschaos/litmus-agent \
--set "LITMUS_PROJECT_ID=<PROJECT_ID>" \
--set "global.INFRA_MODE=namespace" \
--set "crds.create=false" \
--set "workflow-controller.crds.create=false
--set "workflow-controller.crds.create=false"
```
#### Install the external agent in cluster mode
Expand Down
12 changes: 6 additions & 6 deletions charts/litmus-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.2"
description: A Helm chart to install litmus agent
name: litmus-agent
version: 3.10.0
version: 3.11.2
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand All @@ -21,16 +21,16 @@ maintainers:
icon: https://raw.githubusercontent.com/litmuschaos/icons/master/litmus.png
dependencies:
- name: chaos-operator
version: 3.10.0
version: 3.11.0
condition: chaos-operator.enabled
- name: chaos-exporter
version: 3.10.0
version: 3.11.0
condition: chaos-exporter.enabled
- name: event-tracker
version: 3.10.0
version: 3.11.0
condition: event-tracker.enabled
- name: subscriber
version: 3.10.0
version: 3.11.0
condition: subscriber.enabled
- name: workflow-controller
version: 0.2.1
Expand Down
12 changes: 6 additions & 6 deletions charts/litmus-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus-agent

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

A Helm chart to install litmus agent

Expand All @@ -24,10 +24,10 @@ Kubernetes: `>=1.16.0-0`

| Repository | Name | Version |
|------------|------|---------|
| | chaos-exporter | 3.10.0 |
| | chaos-operator | 3.10.0 |
| | event-tracker | 3.10.0 |
| | subscriber | 3.10.0 |
| | chaos-exporter | 3.11.0 |
| | chaos-operator | 3.11.0 |
| | event-tracker | 3.11.0 |
| | subscriber | 3.11.0 |
| | workflow-controller | 0.2.1 |

## Installing the Chart
Expand All @@ -53,7 +53,7 @@ $ helm install litmus-agent litmuschaos/litmus-agent \

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| APP_VERSION | string | `"3.10.0"` | |
| APP_VERSION | string | `"3.11.0"` | |
| INFRA_DESCRIPTION | string | `"chaos infrastructure deployed with helm"` | |
| INFRA_NAME | string | `"helm-infrastructure"` | |
| INFRA_NODE_SELECTOR | string | `""` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/chaos-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.0"
description: A Helm chart to install chaos-exporter
name: chaos-exporter
version: 3.10.0
version: 3.11.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/chaos-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chaos-exporter

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

A Helm chart to install chaos-exporter

Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/chaos-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.0"
description: A Helm chart to install chaos-operator
name: chaos-operator
version: 3.10.0
version: 3.11.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/chaos-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chaos-operator

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

A Helm chart to install chaos-operator

Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/event-tracker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.0"
description: A Helm chart to install event-tracker
name: event-tracker
version: 3.10.0
version: 3.11.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/event-tracker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# event-tracker

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

A Helm chart to install event-tracker

Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/subscriber/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.0"
description: A Helm chart to install subscriber
name: subscriber
version: 3.10.0
version: 3.11.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/subscriber/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# subscriber

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

A Helm chart to install subscriber

Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data:
{{- if .Values.LITMUS_BACKEND_URL }}
LITMUS_BACKEND_URL: {{ ((printf "%s/query" .Values.LITMUS_BACKEND_URL )) | b64enc | quote }}
{{- else }}
LITMUS_BACKEND_URL: {{ ((printf "%s/ws/query" .Values.LITMUS_URL )) | b64enc | quote }}
LITMUS_BACKEND_URL: {{ ((printf "%s/api/query" .Values.LITMUS_URL )) | b64enc | quote }}
{{- end }}
LITMUS_USERNAME: {{ .Values.LITMUS_USERNAME | b64enc | quote }}
LITMUS_PASSWORD: {{ .Values.LITMUS_PASSWORD | b64enc | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SA_EXISTS: true
NS_EXISTS: true
INFRA_TYPE: "external"
# For compatibility with ChaosCenter, Version has to be same
APP_VERSION: "3.10.0"
APP_VERSION: "3.11.0"
SKIP_SSL: "false"

# PLATFORM_NAME: AWS, GKE, Openshift, Rancher, Others
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "3.10.0"
appVersion: "3.11.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 3.10.0
version: 3.11.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
26 changes: 13 additions & 13 deletions charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

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

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -56,7 +56,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| adminConfig.DB_PORT | string | `""` | |
| adminConfig.DB_SERVER | string | `""` | |
| adminConfig.SKIP_SSL_VERIFY | string | `"false"` | |
| adminConfig.VERSION | string | `"3.10.0"` | |
| adminConfig.VERSION | string | `"3.11.0"` | |
| allowedOrigins | string | `".*"` | |
| customLabels | object | `{}` | Additional labels |
| existingSecret | string | `""` | Use existing secret (e.g., External Secrets) |
Expand Down Expand Up @@ -106,7 +106,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| portal.frontend.customLabels | object | `{}` | |
| portal.frontend.image.pullPolicy | string | `"Always"` | |
| portal.frontend.image.repository | string | `"litmusportal-frontend"` | |
| portal.frontend.image.tag | string | `"3.10.0"` | |
| portal.frontend.image.tag | string | `"3.11.0"` | |
| portal.frontend.livenessProbe.failureThreshold | int | `5` | |
| portal.frontend.livenessProbe.initialDelaySeconds | int | `30` | |
| portal.frontend.livenessProbe.periodSeconds | int | `10` | |
Expand Down Expand Up @@ -144,7 +144,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| portal.server.authServer.env | object | `{}` | |
| portal.server.authServer.image.pullPolicy | string | `"Always"` | |
| portal.server.authServer.image.repository | string | `"litmusportal-auth-server"` | |
| portal.server.authServer.image.tag | string | `"3.10.0"` | |
| portal.server.authServer.image.tag | string | `"3.11.0"` | |
| portal.server.authServer.ports[0].containerPort | int | `3000` | |
| portal.server.authServer.ports[0].name | string | `"auth-server"` | |
| portal.server.authServer.ports[1].containerPort | int | `3030` | |
Expand Down Expand Up @@ -172,23 +172,23 @@ We separated service configuration from `portal.server.service` to `portal.serve
| portal.server.graphqlServer.automountServiceAccountToken | bool | `false` | |
| portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT | string | `""` | |
| portal.server.graphqlServer.genericEnv.CONTAINER_RUNTIME_EXECUTOR | string | `"k8sapi"` | |
| portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAME | string | `"v3.10.x"` | |
| portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAME | string | `"v3.11.x"` | |
| portal.server.graphqlServer.genericEnv.ENABLE_GQL_INTROSPECTION | string | `"false"` | |
| portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONS | string | `"[\"3.10.0\"]"` | |
| portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONS | string | `"[\"3.11.0\"]"` | |
| portal.server.graphqlServer.genericEnv.INFRA_DEPLOYMENTS | string | `"[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]"` | |
| portal.server.graphqlServer.genericEnv.REMOTE_HUB_MAX_SIZE | string | `"5000000"` | |
| portal.server.graphqlServer.genericEnv.TLS_CERT_64 | string | `""` | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | `"3.10.0"` | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | `"3.11.0"` | |
| portal.server.graphqlServer.image.pullPolicy | string | `"Always"` | |
| portal.server.graphqlServer.image.repository | string | `"litmusportal-server"` | |
| portal.server.graphqlServer.image.tag | string | `"3.10.0"` | |
| portal.server.graphqlServer.image.tag | string | `"3.11.0"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_CONTROLLER_IMAGE | string | `"workflow-controller:v3.3.1"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_EXECUTOR_IMAGE | string | `"argoexec:v3.3.1"` | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | `"litmusportal-event-tracker:3.10.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:3.10.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:3.10.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:3.10.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:3.10.0"` | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | `"litmusportal-event-tracker:3.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:3.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:3.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:3.11.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:3.11.0"` | |
| portal.server.graphqlServer.livenessProbe.failureThreshold | int | `5` | |
| portal.server.graphqlServer.livenessProbe.initialDelaySeconds | int | `30` | |
| portal.server.graphqlServer.livenessProbe.periodSeconds | int | `10` | |
Expand Down
24 changes: 12 additions & 12 deletions charts/litmus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ existingSecret: ""
allowedOrigins: ".*"

adminConfig:
VERSION: "3.10.0"
VERSION: "3.11.0"
SKIP_SSL_VERIFY: "false"
# -- leave empty if uses Mongo DB deployed by this chart
DBPASSWORD: ""
Expand Down Expand Up @@ -118,7 +118,7 @@ portal:
# runAsNonRoot: true
image:
repository: litmusportal-frontend
tag: 3.10.0
tag: 3.11.0
pullPolicy: "Always"
containerPort: 8185
customLabels: {}
Expand Down Expand Up @@ -221,7 +221,7 @@ portal:
readOnlyRootFilesystem: true
image:
repository: litmusportal-server
tag: 3.10.0
tag: 3.11.0
pullPolicy: "Always"
ports:
- name: gql-server
Expand All @@ -238,21 +238,21 @@ portal:
port: 8000
targetPort: 8000
imageEnv:
SUBSCRIBER_IMAGE: "litmusportal-subscriber:3.10.0"
EVENT_TRACKER_IMAGE: "litmusportal-event-tracker:3.10.0"
SUBSCRIBER_IMAGE: "litmusportal-subscriber:3.11.0"
EVENT_TRACKER_IMAGE: "litmusportal-event-tracker:3.11.0"
ARGO_WORKFLOW_CONTROLLER_IMAGE: "workflow-controller:v3.3.1"
ARGO_WORKFLOW_EXECUTOR_IMAGE: "argoexec:v3.3.1"
LITMUS_CHAOS_OPERATOR_IMAGE: "chaos-operator:3.10.0"
LITMUS_CHAOS_RUNNER_IMAGE: "chaos-runner:3.10.0"
LITMUS_CHAOS_EXPORTER_IMAGE: "chaos-exporter:3.10.0"
LITMUS_CHAOS_OPERATOR_IMAGE: "chaos-operator:3.11.0"
LITMUS_CHAOS_RUNNER_IMAGE: "chaos-runner:3.11.0"
LITMUS_CHAOS_EXPORTER_IMAGE: "chaos-exporter:3.11.0"
genericEnv:
TLS_CERT_64: ""
CONTAINER_RUNTIME_EXECUTOR: "k8sapi"
DEFAULT_HUB_BRANCH_NAME: "v3.10.x"
DEFAULT_HUB_BRANCH_NAME: "v3.11.x"
INFRA_DEPLOYMENTS: '["app=chaos-exporter", "name=chaos-operator", "app=event-tracker", "app=workflow-controller"]'
WORKFLOW_HELPER_IMAGE_VERSION: "3.10.0"
WORKFLOW_HELPER_IMAGE_VERSION: "3.11.0"
REMOTE_HUB_MAX_SIZE: "5000000"
INFRA_COMPATIBLE_VERSIONS: '["3.10.0"]'
INFRA_COMPATIBLE_VERSIONS: '["3.11.0"]'
# Provide UI endpoint if using namespaced scope
CHAOS_CENTER_UI_ENDPOINT: ""
ENABLE_GQL_INTROSPECTION: "false"
Expand Down Expand Up @@ -296,7 +296,7 @@ portal:
automountServiceAccountToken: false
image:
repository: litmusportal-auth-server
tag: 3.10.0
tag: 3.11.0
pullPolicy: "Always"
ports:
- name: auth-server
Expand Down

0 comments on commit a45ffda

Please sign in to comment.