Skip to content

Commit

Permalink
Added changes for 3.9.0 litmus helm agent chart (#389)
Browse files Browse the repository at this point in the history
* Added charts for 1.39.0 agent charts

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

* Added charts for 1.39.0 agent charts

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

---------

Signed-off-by: Jonsy13 <[email protected]>
  • Loading branch information
Jonsy13 authored Jul 16, 2024
1 parent b71bbf5 commit 3f8e313
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 34 deletions.
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.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:
Expand All @@ -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
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.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

Expand All @@ -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
Expand All @@ -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 | `""` | |
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.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:
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.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

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.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:
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.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

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.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:
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.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

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.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:
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.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

Expand Down
19 changes: 14 additions & 5 deletions charts/litmus-agent/charts/subscriber/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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 }}
8 changes: 4 additions & 4 deletions charts/litmus-agent/charts/subscriber/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -45,5 +45,5 @@ rules:
"cronworkflows/finalizers",
"rollouts",
]
verbs: ["get", "list", "create", "delete", "update", "watch"]
verbs: ["get", "list", "create", "delete", "update", "watch","patch"]
{{- end }}
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.7.0"
APP_VERSION: "3.9.0"
SKIP_SSL: "false"

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

0 comments on commit 3f8e313

Please sign in to comment.