Skip to content

Commit

Permalink
Upgraded litmus charts to 2.12.0 ChaosCenter (#269)
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant <[email protected]>

Signed-off-by: Vedant <[email protected]>
Co-authored-by: Vedant <[email protected]>
  • Loading branch information
Jonsy13 and Vedant authored Aug 12, 2022
1 parent 5de38ba commit 72cf365
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 37 deletions.
4 changes: 2 additions & 2 deletions charts/litmus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "2.11.0"
appVersion: "2.12.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 2.12.1
version: 2.13.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
33 changes: 17 additions & 16 deletions charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

![Version: 2.12.1](https://img.shields.io/badge/Version-2.12.1-informational?style=flat-square) ![AppVersion: 2.11.0](https://img.shields.io/badge/AppVersion-2.11.0-informational?style=flat-square)
![Version: 2.13.0](https://img.shields.io/badge/Version-2.13.0-informational?style=flat-square) ![AppVersion: 2.12.0](https://img.shields.io/badge/AppVersion-2.12.0-informational?style=flat-square)

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -47,7 +47,7 @@ $ helm install litmus-portal litmuschaos/litmus
| adminConfig.DB_SERVER | string | `""` | |
| adminConfig.JWTSecret | string | `"litmus-portal@123"` | |
| adminConfig.SKIP_SSL_VERIFY | string | `"false"` | |
| adminConfig.VERSION | string | `"2.11.0"` | |
| adminConfig.VERSION | string | `"2.12.0"` | |
| customLabels | object | `{}` | Additional labels |
| existingSecret | string | `""` | Use existing secret (e.g., External Secrets) |
| image.imagePullSecrets | list | `[]` | |
Expand All @@ -73,7 +73,7 @@ $ helm install litmus-portal litmuschaos/litmus
| portal.frontend.customLabels | object | `{}` | |
| portal.frontend.image.pullPolicy | string | `"Always"` | |
| portal.frontend.image.repository | string | `"litmusportal-frontend"` | |
| portal.frontend.image.tag | string | `"2.11.0"` | |
| portal.frontend.image.tag | string | `"2.12.0"` | |
| portal.frontend.livenessProbe.failureThreshold | int | `5` | |
| portal.frontend.livenessProbe.initialDelaySeconds | int | `30` | |
| portal.frontend.livenessProbe.periodSeconds | int | `10` | |
Expand Down Expand Up @@ -109,7 +109,7 @@ $ helm install litmus-portal litmuschaos/litmus
| portal.server.authServer.env.LITMUS_GQL_GRPC_PORT | string | `":8000"` | |
| portal.server.authServer.image.pullPolicy | string | `"Always"` | |
| portal.server.authServer.image.repository | string | `"litmusportal-auth-server"` | |
| portal.server.authServer.image.tag | string | `"2.11.0"` | |
| portal.server.authServer.image.tag | string | `"2.12.0"` | |
| portal.server.authServer.ports[0].containerPort | int | `3030` | |
| portal.server.authServer.ports[0].name | string | `"auth-server"` | |
| portal.server.authServer.ports[1].containerPort | int | `3000` | |
Expand All @@ -130,24 +130,25 @@ $ helm install litmus-portal litmuschaos/litmus
| portal.server.graphqlServer.genericEnv.AGENT_DEPLOYMENTS | string | `"[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]"` | |
| portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT | string | `""` | |
| portal.server.graphqlServer.genericEnv.CONTAINER_RUNTIME_EXECUTOR | string | `"k8sapi"` | |
| portal.server.graphqlServer.genericEnv.HUB_BRANCH_NAME | string | `"v2.10.x"` | |
| portal.server.graphqlServer.genericEnv.HUB_BRANCH_NAME | string | `"v2.11.x"` | |
| portal.server.graphqlServer.genericEnv.LITMUS_AUTH_GRPC_PORT | string | `":3030"` | |
| portal.server.graphqlServer.genericEnv.REMOTE_HUB_MAX_SIZE | string | `"5000000"` | |
| portal.server.graphqlServer.genericEnv.SELF_AGENT | string | `"true"` | |
| portal.server.graphqlServer.genericEnv.SELF_AGENT_NODE_SELECTOR | string | `""` | |
| portal.server.graphqlServer.genericEnv.SELF_AGENT_TOLERATIONS | string | `""` | |
| portal.server.graphqlServer.genericEnv.TLS_CERT_64 | string | `""` | |
| portal.server.graphqlServer.genericEnv.TLS_SECRET_NAME | string | `""` | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | `"2.10.0"` | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | `"2.11.0"` | |
| portal.server.graphqlServer.image.pullPolicy | string | `"Always"` | |
| portal.server.graphqlServer.image.repository | string | `"litmusportal-server"` | |
| portal.server.graphqlServer.image.tag | string | `"2.11.0"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_CONTROLLER_IMAGE | string | `"workflow-controller:v3.2.9"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_EXECUTOR_IMAGE | string | `"argoexec:v3.2.9"` | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | `"litmusportal-event-tracker:2.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:2.10.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:2.10.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:2.10.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:2.11.0"` | |
| portal.server.graphqlServer.image.tag | string | `"2.12.0"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_CONTROLLER_IMAGE | string | `"workflow-controller:v3.3.1"` | |
| portal.server.graphqlServer.imageEnv.ARGO_WORKFLOW_EXECUTOR_IMAGE | string | `"argoexec:v3.3.1"` | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | `"litmusportal-event-tracker:2.12.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:2.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:2.11.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:2.11.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:2.12.0"` | |
| portal.server.graphqlServer.livenessProbe.failureThreshold | int | `5` | |
| portal.server.graphqlServer.livenessProbe.initialDelaySeconds | int | `30` | |
| portal.server.graphqlServer.livenessProbe.periodSeconds | int | `10` | |
Expand Down Expand Up @@ -196,7 +197,7 @@ $ helm install litmus-portal litmuschaos/litmus
| portal.server.updateStrategy | object | `{}` | |
| portal.server.waitForMongodb.image.pullPolicy | string | `"Always"` | |
| portal.server.waitForMongodb.image.repository | string | `"curl"` | |
| portal.server.waitForMongodb.image.tag | string | `"2.10.0"` | |
| portal.server.waitForMongodb.image.tag | string | `"2.11.0"` | |
| portal.server.waitForMongodb.resources.limits.cpu | string | `"250m"` | |
| portal.server.waitForMongodb.resources.limits.ephemeral-storage | string | `"1Gi"` | |
| portal.server.waitForMongodb.resources.limits.memory | string | `"512Mi"` | |
Expand All @@ -207,7 +208,7 @@ $ helm install litmus-portal litmuschaos/litmus
| upgradeAgent.affinity | object | `{}` | |
| upgradeAgent.controlPlane.image.pullPolicy | string | `"Always"` | |
| upgradeAgent.controlPlane.image.repository | string | `"upgrade-agent-cp"` | |
| upgradeAgent.controlPlane.image.tag | string | `"2.11.0"` | |
| upgradeAgent.controlPlane.image.tag | string | `"2.12.0"` | |
| upgradeAgent.controlPlane.restartPolicy | string | `"OnFailure"` | |
| upgradeAgent.nodeSelector | object | `{}` | |
| upgradeAgent.resources | object | `{}` | |
Expand Down
6 changes: 6 additions & 0 deletions charts/litmus/templates/server-cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ rules:
- apiGroups: [argoproj.io]
resources: [workflowtemplates, workflowtemplates/finalizers, clusterworkflowtemplates, clusterworkflowtemplates/finalizers, workflowtasksets]
verbs: [get, list, watch]
- apiGroups: [argoproj.io]
resources: [workflowtaskresults]
verbs: [list, watch, deletecollection]
- apiGroups: [""]
resources: [serviceaccounts]
verbs: [get, list]
Expand Down Expand Up @@ -67,6 +70,9 @@ rules:
- apiGroups: [apiextensions.k8s.io]
resources: [customresourcedefinitions]
verbs: [list, get]
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines/finalizers"]
verbs: ["update"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down
4 changes: 0 additions & 4 deletions charts/litmus/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ spec:
value: {{ .Values.portalScope }}
- name: SERVER_SERVICE_NAME
value: {{ include "litmus-portal.fullname" . }}-server-service
{{- if eq .Values.portalScope "namespace" }}
- name: PORTAL_ENDPOINT
value: "http://{{ include "litmus-portal.fullname" . }}-server-service:{{ .Values.portal.server.service.graphqlServer.port }}"
{{- end }}
- name: INGRESS
value: "{{ .Values.ingress.enabled }}"
- name: INGRESS_NAME
Expand Down
6 changes: 6 additions & 0 deletions charts/litmus/templates/server-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ rules:
- apiGroups: [argoproj.io]
resources: [workflowtemplates, workflowtemplates/finalizers,workflowtasksets]
verbs: [get, list, watch]
- apiGroups: [argoproj.io]
resources: [workflowtaskresults]
verbs: [list, watch, deletecollection]
- apiGroups: [""]
resources: [serviceaccounts]
verbs: [get, list]
Expand Down Expand Up @@ -77,6 +80,9 @@ rules:
- apiGroups: [litmuschaos.io]
resources: [chaosengines, chaosexperiments, chaosresults]
verbs: [get, create, update, patch, delete, list, watch, deletecollection]
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines/finalizers"]
verbs: ["update"]
#these permissions are required to apply https://github.com/litmuschaos/litmus/blob/master/litmus-portal/graphql-server/manifests/namespace/3a_agents_rbac.yaml
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
31 changes: 16 additions & 15 deletions charts/litmus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ existingSecret: ""

adminConfig:
JWTSecret: "litmus-portal@123"
VERSION: "2.11.0"
VERSION: "2.12.0"
SKIP_SSL_VERIFY: "false"
# -- leave empty if uses Mongo DB deployed by this chart
DBPASSWORD: ""
Expand Down Expand Up @@ -56,7 +56,7 @@ upgradeAgent:
controlPlane:
image:
repository: upgrade-agent-cp
tag: "2.11.0"
tag: "2.12.0"
pullPolicy: "Always"
restartPolicy: OnFailure
nodeSelector: {}
Expand Down Expand Up @@ -96,7 +96,7 @@ portal:
runAsNonRoot: true
image:
repository: litmusportal-frontend
tag: 2.11.0
tag: 2.12.0
pullPolicy: "Always"
containerPort: 8080
customLabels: {}
Expand Down Expand Up @@ -158,7 +158,7 @@ portal:
waitForMongodb:
image:
repository: curl
tag: 2.10.0
tag: 2.11.0
pullPolicy: "Always"
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down Expand Up @@ -191,32 +191,33 @@ portal:
readOnlyRootFilesystem: true
image:
repository: litmusportal-server
tag: 2.11.0
tag: 2.12.0
pullPolicy: "Always"
ports:
- name: gql-server
containerPort: 8080
- name: gql-rpc-server
containerPort: 8000
imageEnv:
SUBSCRIBER_IMAGE: "litmusportal-subscriber:2.11.0"
EVENT_TRACKER_IMAGE: "litmusportal-event-tracker:2.11.0"
ARGO_WORKFLOW_CONTROLLER_IMAGE: "workflow-controller:v3.2.9"
ARGO_WORKFLOW_EXECUTOR_IMAGE: "argoexec:v3.2.9"
LITMUS_CHAOS_OPERATOR_IMAGE: "chaos-operator:2.10.0"
LITMUS_CHAOS_RUNNER_IMAGE: "chaos-runner:2.10.0"
LITMUS_CHAOS_EXPORTER_IMAGE: "chaos-exporter:2.10.0"
SUBSCRIBER_IMAGE: "litmusportal-subscriber:2.12.0"
EVENT_TRACKER_IMAGE: "litmusportal-event-tracker:2.12.0"
ARGO_WORKFLOW_CONTROLLER_IMAGE: "workflow-controller:v3.3.1"
ARGO_WORKFLOW_EXECUTOR_IMAGE: "argoexec:v3.3.1"
LITMUS_CHAOS_OPERATOR_IMAGE: "chaos-operator:2.11.0"
LITMUS_CHAOS_RUNNER_IMAGE: "chaos-runner:2.11.0"
LITMUS_CHAOS_EXPORTER_IMAGE: "chaos-exporter:2.11.0"
genericEnv:
TLS_SECRET_NAME: ""
TLS_CERT_64: ""
SELF_AGENT: "true"
SELF_AGENT_NODE_SELECTOR: ""
SELF_AGENT_TOLERATIONS: ""
CONTAINER_RUNTIME_EXECUTOR: "k8sapi"
HUB_BRANCH_NAME: "v2.10.x"
HUB_BRANCH_NAME: "v2.11.x"
AGENT_DEPLOYMENTS: '["app=chaos-exporter", "name=chaos-operator", "app=event-tracker", "app=workflow-controller"]'
LITMUS_AUTH_GRPC_PORT: ":3030"
WORKFLOW_HELPER_IMAGE_VERSION: "2.10.0"
WORKFLOW_HELPER_IMAGE_VERSION: "2.11.0"
REMOTE_HUB_MAX_SIZE: "5000000"
# Provide UI endpoint if using namespaced scope
CHAOS_CENTER_UI_ENDPOINT: ""
resources:
Expand Down Expand Up @@ -252,7 +253,7 @@ portal:
automountServiceAccountToken: false
image:
repository: litmusportal-auth-server
tag: 2.11.0
tag: 2.12.0
pullPolicy: "Always"
ports:
- name: auth-server
Expand Down

0 comments on commit 72cf365

Please sign in to comment.