Skip to content

Commit

Permalink
Added changes for upgrading litmus-helm-agent to 3.5.x (#370)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonsy13 <vedant.shrotria@harness.io>
  • Loading branch information
Jonsy13 authored Apr 9, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent f524078 commit a9fad22
Showing 12 changed files with 31 additions and 31 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -133,15 +133,15 @@ Sample helm command to install the external agent in namespace mode
```bash
helm install litmus-agent litmuschaos/litmus-agent \
--namespace litmus --create-namespace \
--set "AGENT_NAME=helm-agent" \
--set "AGENT_DESCRIPTION=My first agent deployed with helm !" \
--set "INFRA_NAME=helm-agent" \
--set "INFRA_DESCRIPTION=My first agent deployed with helm !" \
--set "LITMUS_URL=https://chaos-center.domain.com" \ # FOR REMOTE AGENT (INGRESS)
--set "LITMUS_URL=http://litmusportal-frontend-service.litmus.svc.cluster.local:9091" \ # FOR SELF AGENT (SVC)
--set "LITMUS_BACKEND_URL=http://litmusportal-server-service.litmus.svc.cluster.local:9002" \ # FOR SELF AGENT (SVC)
--set "LITMUS_USERNAME=admin" \
--set "LITMUS_PASSWORD=litmus" \
--set "LITMUS_PROJECT_ID=<PROJECT_ID>" \
--set "global.AGENT_MODE=namespace" \
--set "global.INFRA_MODE=namespace" \
--set "crds.create=false" \
--set "workflow-controller.crds.create=false
```
@@ -153,15 +153,15 @@ Sample helm command to install the external agent in cluster mode
```bash
helm install litmus-agent litmuschaos/litmus-agent \
--namespace litmus --create-namespace \
--set "AGENT_NAME=helm-agent" \
--set "AGENT_DESCRIPTION=My first agent deployed with helm !" \
--set "INFRA_NAME=helm-agent" \
--set "INFRA_DESCRIPTION=My first agent deployed with helm !" \
--set "LITMUS_URL=https://chaos-center.domain.com" \ # FOR REMOTE AGENT (INGRESS)
--set "LITMUS_URL=http://litmusportal-frontend-service.litmus.svc.cluster.local:9091" \ # FOR SELF AGENT (SVC)
--set "LITMUS_BACKEND_URL=http://litmusportal-server-service.litmus.svc.cluster.local:9002" \ # FOR SELF AGENT (SVC)
--set "LITMUS_USERNAME=admin" \
--set "LITMUS_PASSWORD=litmus" \
--set "LITMUS_PROJECT_ID=<PROJECT_ID>" \
--set "global.AGENT_MODE=cluster"
--set "global.INFRA_MODE=cluster"
```
## Contributing
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: "0.3.0"
appVersion: "3.5.0"
description: A Helm chart to install litmus agent
name: litmus-agent
version: 1.0.0
version: 3.5.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
@@ -21,16 +21,16 @@ maintainers:
icon: https://raw.githubusercontent.com/litmuschaos/icons/master/litmus.png
dependencies:
- name: chaos-operator
version: 1.0.0
version: 3.5.0
condition: chaos-operator.enabled
- name: chaos-exporter
version: 1.0.0
version: 3.5.0
condition: chaos-exporter.enabled
- name: event-tracker
version: 1.0.0
version: 3.5.0
condition: event-tracker.enabled
- name: subscriber
version: 1.0.0
version: 3.5.0
condition: subscriber.enabled
- name: workflow-controller
version: 0.2.0
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: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square)
![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)

A Helm chart to install litmus agent

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

| Repository | Name | Version |
|------------|------|---------|
| | chaos-exporter | 1.0.0 |
| | chaos-operator | 1.0.0 |
| | event-tracker | 1.0.0 |
| | subscriber | 1.0.0 |
| | chaos-exporter | 3.5.0 |
| | chaos-operator | 3.5.0 |
| | event-tracker | 3.5.0 |
| | subscriber | 3.5.0 |
| | workflow-controller | 0.2.0 |

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

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| APP_VERSION | string | `"3.1.0"` | |
| APP_VERSION | string | `"3.5.0"` | |
| INFRA_DESCRIPTION | string | `"chaos infrastructure deployed with helm"` | |
| INFRA_NAME | string | `"helm-infrastructure"` | |
| INFRA_NODE_SELECTOR | string | `""` | |
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.1.0"
appVersion: "3.5.0"
description: A Helm chart to install chaos-exporter
name: chaos-exporter
version: 1.0.0
version: 3.5.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
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: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)
![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)

A Helm chart to install chaos-exporter

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.1.0"
appVersion: "3.5.0"
description: A Helm chart to install chaos-operator
name: chaos-operator
version: 1.0.0
version: 3.5.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
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: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)
![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)

A Helm chart to install chaos-operator

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.1.0"
appVersion: "3.5.0"
description: A Helm chart to install event-tracker
name: event-tracker
version: 1.0.0
version: 3.5.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
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: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)
![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)

A Helm chart to install event-tracker

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.1.0"
appVersion: "3.5.0"
description: A Helm chart to install subscriber
name: subscriber
version: 1.0.0
version: 3.5.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
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: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 3.1.0](https://img.shields.io/badge/AppVersion-3.1.0-informational?style=flat-square)
![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)

A Helm chart to install subscriber

2 changes: 1 addition & 1 deletion charts/litmus-agent/values.yaml
Original file line number Diff line number Diff line change
@@ -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.1.0"
APP_VERSION: "3.5.0"
SKIP_SSL: "false"

# PLATFORM_NAME: AWS, GKE, Openshift, Rancher, Others

0 comments on commit a9fad22

Please sign in to comment.