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 all 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
1 change: 1 addition & 0 deletions charts/litmus-agent/README.md
Original file line number Diff line number Diff line change
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