From 3f8e313097632f354ea2f14044cb6ac0ad8b9259 Mon Sep 17 00:00:00 2001 From: Vedant Shrotria Date: Tue, 16 Jul 2024 14:42:24 +0530 Subject: [PATCH] Added changes for 3.9.0 litmus helm agent chart (#389) * Added charts for 1.39.0 agent charts Signed-off-by: Jonsy13 * Added charts for 1.39.0 agent charts Signed-off-by: Jonsy13 --------- Signed-off-by: Jonsy13 --- charts/litmus-agent/Chart.yaml | 12 ++++++------ charts/litmus-agent/README.md | 12 ++++++------ .../charts/chaos-exporter/Chart.yaml | 4 ++-- .../charts/chaos-exporter/README.md | 2 +- .../charts/chaos-operator/Chart.yaml | 4 ++-- .../charts/chaos-operator/README.md | 2 +- .../charts/event-tracker/Chart.yaml | 4 ++-- .../charts/event-tracker/README.md | 2 +- .../litmus-agent/charts/subscriber/Chart.yaml | 4 ++-- .../litmus-agent/charts/subscriber/README.md | 2 +- .../subscriber/templates/clusterrole.yaml | 19 ++++++++++++++----- .../charts/subscriber/templates/role.yaml | 8 ++++---- charts/litmus-agent/values.yaml | 2 +- 13 files changed, 43 insertions(+), 34 deletions(-) diff --git a/charts/litmus-agent/Chart.yaml b/charts/litmus-agent/Chart.yaml index d7f462db..cc4e31d1 100644 --- a/charts/litmus-agent/Chart.yaml +++ b/charts/litmus-agent/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: "3.8.0" +appVersion: "3.9.0" description: A Helm chart to install litmus agent name: litmus-agent -version: 3.8.2 +version: 3.9.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: 3.8.0 + version: 3.9.0 condition: chaos-operator.enabled - name: chaos-exporter - version: 3.8.0 + version: 3.9.0 condition: chaos-exporter.enabled - name: event-tracker - version: 3.8.0 + version: 3.9.0 condition: event-tracker.enabled - name: subscriber - version: 3.8.0 + version: 3.9.0 condition: subscriber.enabled - name: workflow-controller version: 0.2.1 diff --git a/charts/litmus-agent/README.md b/charts/litmus-agent/README.md index 305abdab..15752099 100644 --- a/charts/litmus-agent/README.md +++ b/charts/litmus-agent/README.md @@ -1,6 +1,6 @@ # litmus-agent -![Version: 3.8.2](https://img.shields.io/badge/Version-3.8.2-informational?style=flat-square) ![AppVersion: 3.8.0](https://img.shields.io/badge/AppVersion-3.8.0-informational?style=flat-square) +![Version: 3.9.0](https://img.shields.io/badge/Version-3.9.0-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.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 | 3.8.0 | -| | chaos-operator | 3.8.0 | -| | event-tracker | 3.8.0 | -| | subscriber | 3.8.0 | +| | chaos-exporter | 3.9.0 | +| | chaos-operator | 3.9.0 | +| | event-tracker | 3.9.0 | +| | subscriber | 3.9.0 | | | workflow-controller | 0.2.1 | ## Installing the Chart @@ -53,7 +53,7 @@ $ helm install litmus-agent litmuschaos/litmus-agent \ | Key | Type | Default | Description | |-----|------|---------|-------------| -| APP_VERSION | string | `"3.7.0"` | | +| APP_VERSION | string | `"3.9.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 5109566a..1983a657 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.8.0" +appVersion: "3.9.0" description: A Helm chart to install chaos-exporter name: chaos-exporter -version: 3.8.0 +version: 3.9.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 423cb36c..a962ad27 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: 3.8.0](https://img.shields.io/badge/Version-3.8.0-informational?style=flat-square) ![AppVersion: 3.8.0](https://img.shields.io/badge/AppVersion-3.8.0-informational?style=flat-square) +![Version: 3.9.0](https://img.shields.io/badge/Version-3.9.0-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.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 48edfa35..f8676bf5 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.8.0" +appVersion: "3.9.0" description: A Helm chart to install chaos-operator name: chaos-operator -version: 3.8.0 +version: 3.9.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 5b0a178c..07b0ecf1 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: 3.8.0](https://img.shields.io/badge/Version-3.8.0-informational?style=flat-square) ![AppVersion: 3.8.0](https://img.shields.io/badge/AppVersion-3.8.0-informational?style=flat-square) +![Version: 3.9.0](https://img.shields.io/badge/Version-3.9.0-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.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 e0aed0d1..e857673e 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.8.0" +appVersion: "3.9.0" description: A Helm chart to install event-tracker name: event-tracker -version: 3.8.0 +version: 3.9.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 ac55fd71..a0a0dfe6 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: 3.8.0](https://img.shields.io/badge/Version-3.8.0-informational?style=flat-square) ![AppVersion: 3.8.0](https://img.shields.io/badge/AppVersion-3.8.0-informational?style=flat-square) +![Version: 3.9.0](https://img.shields.io/badge/Version-3.9.0-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.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 ce116513..4f777be3 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.8.0" +appVersion: "3.9.0" description: A Helm chart to install subscriber name: subscriber -version: 3.8.0 +version: 3.9.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 79e7eee4..f4d2b8fc 100644 --- a/charts/litmus-agent/charts/subscriber/README.md +++ b/charts/litmus-agent/charts/subscriber/README.md @@ -1,6 +1,6 @@ # subscriber -![Version: 3.8.0](https://img.shields.io/badge/Version-3.8.0-informational?style=flat-square) ![AppVersion: 3.8.0](https://img.shields.io/badge/AppVersion-3.8.0-informational?style=flat-square) +![Version: 3.9.0](https://img.shields.io/badge/Version-3.9.0-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.0-informational?style=flat-square) A Helm chart to install subscriber diff --git a/charts/litmus-agent/charts/subscriber/templates/clusterrole.yaml b/charts/litmus-agent/charts/subscriber/templates/clusterrole.yaml index 3bb2f4ac..cf963bd4 100644 --- a/charts/litmus-agent/charts/subscriber/templates/clusterrole.yaml +++ b/charts/litmus-agent/charts/subscriber/templates/clusterrole.yaml @@ -22,9 +22,9 @@ rules: resources: ["pods","namespaces","nodes","services"] verbs: ["get","list","watch"] -- apiGroups: ["litmuschaos.io"] - resources: ["chaosengines","chaosschedules","chaosresults"] - verbs: ["get","list","create","delete","update","watch"] +- apiGroups: [ "litmuschaos.io" ] + resources: [ "chaosengines", "chaosresults" ] + verbs: [ "get", "list", "create", "delete", "update", "watch", "patch" ] - apiGroups: ["apps.openshift.io"] resources: ["deploymentconfigs"] @@ -35,6 +35,15 @@ rules: verbs: ["get","list", "delete","deletecollection"] - apiGroups: ["argoproj.io"] - resources: ["workflows","workflows/finalizers","workflowtemplates", "workflowtemplates/finalizers","cronworkflows","cronworkflows/finalizers","clusterworkflowtemplates","clusterworkflowtemplates/finalizers","rollouts"] - verbs: ["get","list","create","delete","update","watch"] + resources: + [ + "workflows", + "workflows/finalizers", + "workflowtemplates", + "workflowtemplates/finalizers", + "cronworkflows", + "cronworkflows/finalizers", + "rollouts", + ] + verbs: ["get", "list", "create", "delete", "update", "watch","patch"] {{- end }} diff --git a/charts/litmus-agent/charts/subscriber/templates/role.yaml b/charts/litmus-agent/charts/subscriber/templates/role.yaml index ed743b1f..ab5a910e 100644 --- a/charts/litmus-agent/charts/subscriber/templates/role.yaml +++ b/charts/litmus-agent/charts/subscriber/templates/role.yaml @@ -22,9 +22,9 @@ rules: resources: ["pods","services"] verbs: ["get", "list", "watch"] - - apiGroups: ["litmuschaos.io"] - resources: ["chaosengines", "chaosschedules", "chaosresults"] - verbs: ["get", "list", "create", "delete", "update", "watch"] + - apiGroups: [ "litmuschaos.io" ] + resources: [ "chaosengines", "chaosresults" ] + verbs: [ "get", "list", "create", "delete", "update", "watch", "patch"] - apiGroups: ["apps.openshift.io"] resources: ["deploymentconfigs"] @@ -45,5 +45,5 @@ rules: "cronworkflows/finalizers", "rollouts", ] - verbs: ["get", "list", "create", "delete", "update", "watch"] + verbs: ["get", "list", "create", "delete", "update", "watch","patch"] {{- end }} diff --git a/charts/litmus-agent/values.yaml b/charts/litmus-agent/values.yaml index 376a9e95..649e17c9 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.7.0" +APP_VERSION: "3.9.0" SKIP_SSL: "false" # PLATFORM_NAME: AWS, GKE, Openshift, Rancher, Others