Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvinaud committed Sep 30, 2024
2 parents af57718 + a45ffda commit 44e20cc
Show file tree
Hide file tree
Showing 58 changed files with 510 additions and 1,108 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: getcommit
run: |
prsha=$(echo $response | jq '.[-1].sha' | tr -d '"')
echo "::set-output name=sha::$prsha"
echo "sha=$prsha" >> $GITHUB_OUTPUT
env:
response: ${{ steps.get_PR_commits.outputs.data }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/portal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: getcommit
run: |
prsha=$(echo $response | jq '.[-1].sha' | tr -d '"')
echo "::set-output name=sha::$prsha"
echo "sha=$prsha" >> $GITHUB_OUTPUT
env:
response: ${{ steps.get_PR_commits.outputs.data }}

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -34,6 +35,25 @@ jobs:
helm repo add mongodb https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- name: Run chart-releaser
id: chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Login to GHCR
if: steps.chart-releaser.outputs.changed_charts
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Charts to GHCR
if: steps.chart-releaser.outputs.changed_charts
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci://ghcr.io/${{ github.repository_owner }}/litmus-helm
done
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
4 changes: 2 additions & 2 deletions charts/kube-aws/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "3.7.0"
appVersion: "3.11.0"
description: A Helm chart to install litmus aws chaos experiments
name: kube-aws
version: 3.7.0
version: 3.11.0
home: https://litmuschaos.io
sources:
- https://github.com/litmuschaos/litmus
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-aws/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-aws

![Version: 3.7.0](https://img.shields.io/badge/Version-3.7.0-informational?style=flat-square) ![AppVersion: 3.7.0](https://img.shields.io/badge/AppVersion-3.7.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 litmus aws chaos experiments

Expand All @@ -27,7 +27,7 @@ A Helm chart to install litmus aws chaos experiments
| fullnameOverride | string | `"kube-aws"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"3.7.0"` | |
| image.litmusGO.tag | string | `"3.10.0"` | |
| nameOverride | string | `"kube-aws"` | |

----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-aws/templates/ec2-terminate-by-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
- name: RAMP_TIME
value: ''

- name: INSTANCE_TAG
- name: EC2_INSTANCE_TAG
value: ''

# enable it if the target instance is a part of self-managed nodegroup.
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-aws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ customLabels: {}
image:
litmusGO:
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 3.7.0
tag: 3.10.0
pullPolicy: Always

experiments:
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-azure/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "3.7.0"
appVersion: "3.11.0"
description: A Helm chart to install litmus Azure chaos experiments
name: kube-azure
version: 3.7.0
version: 3.11.0
home: https://litmuschaos.io
sources:
- https://github.com/litmuschaos/litmus
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-azure/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-azure

![Version: 3.7.0](https://img.shields.io/badge/Version-3.7.0-informational?style=flat-square) ![AppVersion: 3.7.0](https://img.shields.io/badge/AppVersion-3.7.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 litmus Azure chaos experiments

Expand All @@ -27,7 +27,7 @@ A Helm chart to install litmus Azure chaos experiments
| fullnameOverride | string | `"kube-azure"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"3.7.0"` | |
| image.litmusGO.tag | string | `"3.11.0"` | |
| nameOverride | string | `"kube-azure"` | |

----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-azure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ customLabels: {}
image:
litmusGO:
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 3.7.0
tag: 3.11.0
pullPolicy: Always

experiments:
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-gcp/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "3.7.0"
appVersion: "3.11.0"
description: A Helm chart to install litmus gcp chaos experiments
name: kube-gcp
version: 3.7.0
version: 3.11.0
home: https://litmuschaos.io
sources:
- https://github.com/litmuschaos/litmus
Expand Down
4 changes: 2 additions & 2 deletions charts/kube-gcp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-gcp

![Version: 3.7.0](https://img.shields.io/badge/Version-3.7.0-informational?style=flat-square) ![AppVersion: 3.7.0](https://img.shields.io/badge/AppVersion-3.7.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 litmus gcp chaos experiments

Expand All @@ -27,7 +27,7 @@ A Helm chart to install litmus gcp chaos experiments
| fullnameOverride | string | `"kube-gcp"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"3.7.0"` | |
| image.litmusGO.tag | string | `"3.11.0"` | |
| nameOverride | string | `"kube-gcp"` | |

----------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-gcp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ customLabels: {}
image:
litmusGO:
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 3.7.0
tag: 3.11.0
pullPolicy: Always

experiments:
Expand Down
4 changes: 2 additions & 2 deletions charts/kubernetes-chaos/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "3.7.0"
appVersion: "3.11.0"
description: A Helm chart to install litmus chaos experiments for kubernetes category (chaos-chart)
name: kubernetes-chaos
version: 3.7.0
version: 3.11.0
home: https://litmuschaos.io
sources:
- https://github.com/litmuschaos/litmus
Expand Down
8 changes: 4 additions & 4 deletions charts/kubernetes-chaos/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kubernetes-chaos

![Version: 3.7.0](https://img.shields.io/badge/Version-3.7.0-informational?style=flat-square) ![AppVersion: 3.7.0](https://img.shields.io/badge/AppVersion-3.7.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 litmus chaos experiments for kubernetes category (chaos-chart)

Expand Down Expand Up @@ -29,12 +29,12 @@ A Helm chart to install litmus chaos experiments for kubernetes category (chaos-
| fullnameOverride | string | `"k8s"` | |
| image.litmus.pullPolicy | string | `"Always"` | |
| image.litmus.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/ansible-runner"` | |
| image.litmus.tag | string | `"3.7.0"` | |
| image.litmus.tag | string | `"3.11.0"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"3.7.0"` | |
| image.litmusGO.tag | string | `"3.11.0"` | |
| image.litmusLIBImage.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusLIBImage.tag | string | `"3.7.0"` | |
| image.litmusLIBImage.tag | string | `"3.11.0"` | |
| nameOverride | string | `"k8s"` | |

----------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions charts/kubernetes-chaos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ customLabels: {}
image:
litmus:
repository: litmuschaos.docker.scarf.sh/litmuschaos/ansible-runner
tag: 3.7.0
tag: 3.11.0
pullPolicy: Always

litmusGO:
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 3.7.0
tag: 3.11.0
pullPolicy: Always

litmusLIBImage:
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 3.7.0
tag: 3.11.0

environment:
# supported: 'docker', 'containerd', 'crio'
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.6.0"
appVersion: "3.11.2"
description: A Helm chart to install litmus agent
name: litmus-agent
version: 3.6.1
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.6.1
version: 3.11.0
condition: chaos-operator.enabled
- name: chaos-exporter
version: 3.6.1
version: 3.11.0
condition: chaos-exporter.enabled
- name: event-tracker
version: 3.6.1
version: 3.11.0
condition: event-tracker.enabled
- name: subscriber
version: 3.6.1
version: 3.11.0
condition: subscriber.enabled
- name: workflow-controller
version: 0.2.1
Expand Down
16 changes: 10 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.6.1](https://img.shields.io/badge/Version-3.6.1-informational?style=flat-square) ![AppVersion: 3.6.0](https://img.shields.io/badge/AppVersion-3.6.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.6.1 |
| | chaos-operator | 3.6.1 |
| | event-tracker | 3.6.1 |
| | subscriber | 3.6.1 |
| | 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.6.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 Expand Up @@ -85,6 +85,10 @@ $ helm install litmus-agent litmuschaos/litmus-agent \
| resources.requests.cpu | string | `"100m"` | |
| resources.requests.memory | string | `"128Mi"` | |
| subscriber.enabled | bool | `true` | |
| useExistingHookSecret | bool | `false` | Use an existing hook Secret instead of creating one with the chart, ref. to templates/secret.yaml |
| useExistingInfraConfigMap | bool | `false` | Use an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map.yaml |
| useExistingInfraSecret | bool | `false` | Use an existing infra Secret instead of creating one with the chart, ref. to templates/infra-secret.yaml |
| useExistingWorkflowControllerConfigMap | bool | `false` | Use an existing infra ConfigMap instead of creating one with the chart, ref. to templates/infra-config-map-workflow.yaml |
| workflow-controller.crds.create | bool | `true` | |
| workflow-controller.enabled | bool | `true` | |

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.6.0"
appVersion: "3.11.0"
description: A Helm chart to install chaos-exporter
name: chaos-exporter
version: 3.6.1
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.6.1](https://img.shields.io/badge/Version-3.6.1-informational?style=flat-square) ![AppVersion: 3.6.0](https://img.shields.io/badge/AppVersion-3.6.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.6.0"
appVersion: "3.11.0"
description: A Helm chart to install chaos-operator
name: chaos-operator
version: 3.6.1
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.6.1](https://img.shields.io/badge/Version-3.6.1-informational?style=flat-square) ![AppVersion: 3.6.0](https://img.shields.io/badge/AppVersion-3.6.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.6.0"
appVersion: "3.11.0"
description: A Helm chart to install event-tracker
name: event-tracker
version: 3.6.1
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.6.1](https://img.shields.io/badge/Version-3.6.1-informational?style=flat-square) ![AppVersion: 3.6.0](https://img.shields.io/badge/AppVersion-3.6.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.6.0"
appVersion: "3.11.0"
description: A Helm chart to install subscriber
name: subscriber
version: 3.6.1
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.6.1](https://img.shields.io/badge/Version-3.6.1-informational?style=flat-square) ![AppVersion: 3.6.0](https://img.shields.io/badge/AppVersion-3.6.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
Loading

0 comments on commit 44e20cc

Please sign in to comment.