Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded version of chaoscenter in pre-hook job in litmus-agent chart #329 #330

Merged
merged 7 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 2 additions & 1 deletion 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 @@ -55,6 +55,7 @@ $ helm install litmus-agent litmuschaos/litmus-agent \
| AGENT_DESCRIPTION | string | `"chaos agent deployed with helm"` | |
| AGENT_NAME | string | `"helm-agent"` | |
| AGENT_NODE_SELECTOR | string | `""` | |
| APP_VERSION | string | `"3.0.0-beta8"` | |
| CLUSTER_TYPE | string | `"external"` | |
| LITMUS_BACKEND_URL | string | `""` | |
| LITMUS_PASSWORD | string | `"litmus"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus-agent/templates/hook-pre-install-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
value: {{ .Release.Namespace }}

- name: APP_VERSION
value: "3.0.0-beta8" #For compatibility with 3.0.0-beta8 ChaosCenter, Version has to be same
value: {{ .Values.APP_VERSION }}

- name: SERVICE_ACCOUNT_NAME
value: {{ include "litmus-agent.serviceAccountName" . }}
Expand Down
2 changes: 2 additions & 0 deletions charts/litmus-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ AGENT_NODE_SELECTOR: ""
SA_EXISTS: true
NS_EXISTS: true
CLUSTER_TYPE: "external"
# For compatibility with 3.0.0-beta8 ChaosCenter, Version has to be same
APP_VERSION: "3.0.0-beta8"
SKIP_SSL: "false"

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