From a9fad2270bf983aa1c7b3f1f77c24a24081f6a96 Mon Sep 17 00:00:00 2001 From: Vedant Shrotria Date: Tue, 9 Apr 2024 11:29:50 +0530 Subject: [PATCH] Added changes for upgrading litmus-helm-agent to 3.5.x (#370) Signed-off-by: Jonsy13 --- README.md | 12 ++++++------ charts/litmus-agent/Chart.yaml | 12 ++++++------ charts/litmus-agent/README.md | 12 ++++++------ charts/litmus-agent/charts/chaos-exporter/Chart.yaml | 4 ++-- charts/litmus-agent/charts/chaos-exporter/README.md | 2 +- charts/litmus-agent/charts/chaos-operator/Chart.yaml | 4 ++-- charts/litmus-agent/charts/chaos-operator/README.md | 2 +- charts/litmus-agent/charts/event-tracker/Chart.yaml | 4 ++-- charts/litmus-agent/charts/event-tracker/README.md | 2 +- charts/litmus-agent/charts/subscriber/Chart.yaml | 4 ++-- charts/litmus-agent/charts/subscriber/README.md | 2 +- charts/litmus-agent/values.yaml | 2 +- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 0768c371..c6f0fecc 100644 --- a/README.md +++ b/README.md @@ -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=" \ ---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=" \ ---set "global.AGENT_MODE=cluster" +--set "global.INFRA_MODE=cluster" ``` ## Contributing diff --git a/charts/litmus-agent/Chart.yaml b/charts/litmus-agent/Chart.yaml index 43991f02..601a4b53 100644 --- a/charts/litmus-agent/Chart.yaml +++ b/charts/litmus-agent/Chart.yaml @@ -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 diff --git a/charts/litmus-agent/README.md b/charts/litmus-agent/README.md index b267dd0f..937f5af1 100644 --- a/charts/litmus-agent/README.md +++ b/charts/litmus-agent/README.md @@ -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 | `""` | | diff --git a/charts/litmus-agent/charts/chaos-exporter/Chart.yaml b/charts/litmus-agent/charts/chaos-exporter/Chart.yaml index ff73ed49..f00e1c64 100644 --- a/charts/litmus-agent/charts/chaos-exporter/Chart.yaml +++ b/charts/litmus-agent/charts/chaos-exporter/Chart.yaml @@ -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: diff --git a/charts/litmus-agent/charts/chaos-exporter/README.md b/charts/litmus-agent/charts/chaos-exporter/README.md index d7345a19..9ed64593 100644 --- a/charts/litmus-agent/charts/chaos-exporter/README.md +++ b/charts/litmus-agent/charts/chaos-exporter/README.md @@ -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 diff --git a/charts/litmus-agent/charts/chaos-operator/Chart.yaml b/charts/litmus-agent/charts/chaos-operator/Chart.yaml index afaf889c..11288e29 100644 --- a/charts/litmus-agent/charts/chaos-operator/Chart.yaml +++ b/charts/litmus-agent/charts/chaos-operator/Chart.yaml @@ -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: diff --git a/charts/litmus-agent/charts/chaos-operator/README.md b/charts/litmus-agent/charts/chaos-operator/README.md index 244e3b70..efa5e67e 100644 --- a/charts/litmus-agent/charts/chaos-operator/README.md +++ b/charts/litmus-agent/charts/chaos-operator/README.md @@ -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 diff --git a/charts/litmus-agent/charts/event-tracker/Chart.yaml b/charts/litmus-agent/charts/event-tracker/Chart.yaml index 16f3d33e..c5ad835f 100644 --- a/charts/litmus-agent/charts/event-tracker/Chart.yaml +++ b/charts/litmus-agent/charts/event-tracker/Chart.yaml @@ -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: diff --git a/charts/litmus-agent/charts/event-tracker/README.md b/charts/litmus-agent/charts/event-tracker/README.md index 0c471bb3..9d336bf1 100644 --- a/charts/litmus-agent/charts/event-tracker/README.md +++ b/charts/litmus-agent/charts/event-tracker/README.md @@ -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 diff --git a/charts/litmus-agent/charts/subscriber/Chart.yaml b/charts/litmus-agent/charts/subscriber/Chart.yaml index b5b94cb4..5584bd9d 100644 --- a/charts/litmus-agent/charts/subscriber/Chart.yaml +++ b/charts/litmus-agent/charts/subscriber/Chart.yaml @@ -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: diff --git a/charts/litmus-agent/charts/subscriber/README.md b/charts/litmus-agent/charts/subscriber/README.md index 6141d3c5..2acd7d66 100644 --- a/charts/litmus-agent/charts/subscriber/README.md +++ b/charts/litmus-agent/charts/subscriber/README.md @@ -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 diff --git a/charts/litmus-agent/values.yaml b/charts/litmus-agent/values.yaml index 1327da2d..9d9829fb 100644 --- a/charts/litmus-agent/values.yaml +++ b/charts/litmus-agent/values.yaml @@ -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