Skip to content

Commit

Permalink
Integrate the litmus images with scarf gateway (#354)
Browse files Browse the repository at this point in the history
* Instrument the litmuschaos images with scarf gateway

Signed-off-by: Shubham Chaudhary <[email protected]>
  • Loading branch information
ispeakc0de authored Dec 5, 2023
1 parent dba4a40 commit 604d765
Show file tree
Hide file tree
Showing 33 changed files with 68 additions and 67 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-delete
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete

Expand All @@ -95,7 +95,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: container-kill
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
CONTAINER_RUNTIME: containerd
Expand All @@ -112,7 +112,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: node-cpu-hog
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete

Expand All @@ -128,7 +128,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: node-memory-hog
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete

Expand All @@ -145,7 +145,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-cpu-hog
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -165,7 +165,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-cpu-hog
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -185,7 +185,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-network-corruption
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -205,7 +205,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-network-duplication
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -226,7 +226,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-network-latency
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -247,7 +247,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-network-loss
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TARGET_CONTAINER: nginx
Expand All @@ -269,7 +269,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: pod-autoscaler
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TOTAL_CHAOS_DURATION: 60
Expand All @@ -287,7 +287,7 @@ jobs:
uses: mayadata-io/[email protected]
env:
EXPERIMENT_NAME: node-io-stress
EXPERIMENT_IMAGE: litmuschaos/go-runner
EXPERIMENT_IMAGE: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
EXPERIMENT_IMAGE_TAG: ci
JOB_CLEANUP_POLICY: delete
TOTAL_CHAOS_DURATION: 120
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-aws/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "2.14.0"
description: A Helm chart to install litmus aws chaos experiments
name: kube-aws
version: 2.14.0
version: 2.14.1
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: 2.14.0](https://img.shields.io/badge/Version-2.14.0-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)
![Version: 2.14.1](https://img.shields.io/badge/Version-2.14.1-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)

A Helm chart to install litmus aws chaos experiments

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

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 @@ -10,7 +10,7 @@ customLabels: {}

image:
litmusGO:
repository: litmuschaos/go-runner
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 2.14.0
pullPolicy: Always

Expand Down
2 changes: 1 addition & 1 deletion charts/kube-azure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "2.14.0"
description: A Helm chart to install litmus Azure chaos experiments
name: kube-azure
version: 2.14.0
version: 2.14.1
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: 2.14.0](https://img.shields.io/badge/Version-2.14.0-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)
![Version: 2.14.1](https://img.shields.io/badge/Version-2.14.1-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)

A Helm chart to install litmus Azure chaos experiments

Expand All @@ -26,7 +26,7 @@ A Helm chart to install litmus Azure chaos experiments
| experiments.disabled | list | `[]` | |
| fullnameOverride | string | `"kube-azure"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos/go-runner"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"2.14.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 @@ -10,7 +10,7 @@ customLabels: {}

image:
litmusGO:
repository: litmuschaos/go-runner
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 2.14.0
pullPolicy: Always

Expand Down
2 changes: 1 addition & 1 deletion charts/kube-gcp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "2.14.0"
description: A Helm chart to install litmus gcp chaos experiments
name: kube-gcp
version: 2.14.0
version: 2.14.1
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: 2.14.0](https://img.shields.io/badge/Version-2.14.0-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)
![Version: 2.14.1](https://img.shields.io/badge/Version-2.14.1-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)

A Helm chart to install litmus gcp chaos experiments

Expand All @@ -26,7 +26,7 @@ A Helm chart to install litmus gcp chaos experiments
| experiments.disabled | list | `[]` | |
| fullnameOverride | string | `"kube-gcp"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos/go-runner"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"2.14.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 @@ -10,7 +10,7 @@ customLabels: {}

image:
litmusGO:
repository: litmuschaos/go-runner
repository: litmuschaos.docker.scarf.sh/litmuschaos/go-runner
tag: 2.14.0
pullPolicy: Always

Expand Down
2 changes: 1 addition & 1 deletion charts/kubernetes-chaos/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "2.14.0"
description: A Helm chart to install litmus chaos experiments for kubernetes category (chaos-chart)
name: kubernetes-chaos
version: 2.28.0
version: 2.28.1
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: 2.28.0](https://img.shields.io/badge/Version-2.28.0-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.0-informational?style=flat-square)
![Version: 2.28.1](https://img.shields.io/badge/Version-2.28.1-informational?style=flat-square) ![AppVersion: 2.14.0](https://img.shields.io/badge/AppVersion-2.14.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-
| experiments.disabled | list | `[]` | |
| fullnameOverride | string | `"k8s"` | |
| image.litmus.pullPolicy | string | `"Always"` | |
| image.litmus.repository | string | `"litmuschaos/ansible-runner"` | |
| image.litmus.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/ansible-runner"` | |
| image.litmus.tag | string | `"2.14.0"` | |
| image.litmusGO.pullPolicy | string | `"Always"` | |
| image.litmusGO.repository | string | `"litmuschaos/go-runner"` | |
| image.litmusGO.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusGO.tag | string | `"2.14.0"` | |
| image.litmusLIBImage.repository | string | `"litmuschaos/go-runner"` | |
| image.litmusLIBImage.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/go-runner"` | |
| image.litmusLIBImage.tag | string | `"2.14.0"` | |
| image.networkChaos.tcImage | string | `"gaiadocker/iproute2"` | |
| image.pumba.libName | string | `"pumba"` | |
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 @@ -10,20 +10,20 @@ customLabels: {}

image:
litmus:
repository: litmuschaos/ansible-runner
repository: litmuschaos.docker.scarf.sh/litmuschaos/ansible-runner
tag: 2.14.0
pullPolicy: Always

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

pumba:
libName: pumba

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

networkChaos:
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.2.0"
description: A Helm chart to install litmus agent
name: litmus-agent
version: 0.2.0
version: 0.2.1
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus-agent

![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)
![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)

A Helm chart to install litmus agent

Expand Down Expand Up @@ -75,7 +75,7 @@ $ helm install litmus-agent litmuschaos/litmus-agent \
| global.customLabels | object | `{}` | |
| global.podAnnotations | object | `{}` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"litmuschaos/litmus-helm-agent"` | |
| image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/litmus-helm-agent"` | |
| image.tag | string | `"latest"` | |
| resources.limits.cpu | string | `"100m"` | |
| resources.limits.memory | string | `"128Mi"` | |
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
Expand Up @@ -36,7 +36,7 @@ Kubernetes: `>=1.16.0-0`
| enabled | bool | `true` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"litmuschaos/chaos-exporter"` | |
| image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/chaos-exporter"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/chaos-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: litmuschaos/chaos-exporter
repository: litmuschaos.docker.scarf.sh/litmuschaos/chaos-exporter
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/chaos-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Kubernetes: `>=1.16.0-0`
| customLabels | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"litmuschaos/chaos-operator"` | |
| image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/chaos-operator"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
Expand All @@ -55,7 +55,7 @@ Kubernetes: `>=1.16.0-0`
| resources.requests.cpu | string | `"125m"` | |
| resources.requests.ephemeral-storage | string | `"500Mi"` | |
| resources.requests.memory | string | `"300Mi"` | |
| runner.image.repository | string | `"litmuschaos/chaos-runner"` | |
| runner.image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/chaos-runner"` | |
| runner.image.tag | string | `""` | |
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.runAsUser | int | `2000` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/chaos-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
replicaCount: 1

image:
repository: litmuschaos/chaos-operator
repository: litmuschaos.docker.scarf.sh/litmuschaos/chaos-operator
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""

runner:
image:
repository: litmuschaos/chaos-runner
repository: litmuschaos.docker.scarf.sh/litmuschaos/chaos-runner
tag: ""

imagePullSecrets: []
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
Expand Up @@ -36,7 +36,7 @@ Kubernetes: `>=1.16.0-0`
| global.agentConfigName | string | `"agent-config"` | |
| global.agentSecretName | string | `"agent-secret"` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"litmuschaos/litmusportal-event-tracker"` | |
| image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/litmusportal-event-tracker"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/charts/event-tracker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
replicaCount: 1

image:
repository: litmuschaos/litmusportal-event-tracker
repository: litmuschaos.docker.scarf.sh/litmuschaos/litmusportal-event-tracker
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
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
Expand Up @@ -34,7 +34,7 @@ Kubernetes: `>=1.16.0-0`
| global.agentConfigName | string | `"agent-config"` | |
| global.agentSecretName | string | `"agent-secret"` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"litmuschaos/litmusportal-subscriber"` | |
| image.repository | string | `"litmuschaos.docker.scarf.sh/litmuschaos/litmusportal-subscriber"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus-agent/charts/subscriber/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ global:
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

appSettings:
appSettings:
executorImage: "litmuschaos/argoexec:v3.3.1"
containerRuntimeExecutor: "k8sapi"

replicaCount: 1

image:
repository: litmuschaos/litmusportal-subscriber
repository: litmuschaos.docker.scarf.sh/litmuschaos/litmusportal-subscriber
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down
Loading

0 comments on commit 604d765

Please sign in to comment.