Skip to content

Commit

Permalink
Added changes for 3.7.x release (#379)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonsy13 <[email protected]>
  • Loading branch information
Jonsy13 authored May 17, 2024
1 parent 03f2080 commit 6d26987
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 850 deletions.
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.7.0"
description: A Helm chart to install litmus agent
name: litmus-agent
version: 3.6.1
version: 3.7.0
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.7.0
condition: chaos-operator.enabled
- name: chaos-exporter
version: 3.6.1
version: 3.7.0
condition: chaos-exporter.enabled
- name: event-tracker
version: 3.6.1
version: 3.7.0
condition: event-tracker.enabled
- name: subscriber
version: 3.6.1
version: 3.7.0
condition: subscriber.enabled
- name: workflow-controller
version: 0.2.1
Expand Down
10 changes: 5 additions & 5 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.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)

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.7.0 |
| | chaos-operator | 3.7.0 |
| | event-tracker | 3.7.0 |
| | subscriber | 3.7.0 |
| | workflow-controller | 0.2.1 |

## Installing the Chart
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.7.0"
description: A Helm chart to install chaos-exporter
name: chaos-exporter
version: 3.6.1
version: 3.7.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.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)

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.7.0"
description: A Helm chart to install chaos-operator
name: chaos-operator
version: 3.6.1
version: 3.7.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.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)

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.7.0"
description: A Helm chart to install event-tracker
name: event-tracker
version: 3.6.1
version: 3.7.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.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)

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.7.0"
description: A Helm chart to install subscriber
name: subscriber
version: 3.6.1
version: 3.7.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.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)

A Helm chart to install subscriber

Expand Down
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: "3.6.0"
appVersion: "3.7.0"
description: A Helm chart to install ChaosCenter
name: litmus
version: 3.6.0
version: 3.7.0
kubeVersion: ">=1.16.0-0"
home: https://litmuschaos.io
sources:
Expand Down
28 changes: 14 additions & 14 deletions charts/litmus/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# litmus

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

A Helm chart to install ChaosCenter

Expand Down Expand Up @@ -57,7 +57,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| adminConfig.DB_SERVER | string | `""` | |
| adminConfig.JWTSecret | string | `"litmus-portal@123"` | |
| adminConfig.SKIP_SSL_VERIFY | string | `"false"` | |
| adminConfig.VERSION | string | `"3.6.0"` | |
| adminConfig.VERSION | string | `"3.7.0"` | |
| customLabels | object | `{}` | Additional labels |
| existingSecret | string | `""` | Use existing secret (e.g., External Secrets) |
| image.imagePullSecrets | list | `[]` | |
Expand Down Expand Up @@ -91,7 +91,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| portal.frontend.customLabels | object | `{}` | |
| portal.frontend.image.pullPolicy | string | `"Always"` | |
| portal.frontend.image.repository | string | `"litmusportal-frontend"` | |
| portal.frontend.image.tag | string | `"3.6.0"` | |
| portal.frontend.image.tag | string | `"3.7.0"` | |
| portal.frontend.livenessProbe.failureThreshold | int | `5` | |
| portal.frontend.livenessProbe.initialDelaySeconds | int | `30` | |
| portal.frontend.livenessProbe.periodSeconds | int | `10` | |
Expand Down Expand Up @@ -129,7 +129,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| 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 | `"3.6.0"` | |
| portal.server.authServer.image.tag | string | `"3.7.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 @@ -156,24 +156,24 @@ We separated service configuration from `portal.server.service` to `portal.serve
| portal.server.customLabels | object | `{}` | |
| portal.server.graphqlServer.genericEnv.CHAOS_CENTER_UI_ENDPOINT | string | `""` | |
| portal.server.graphqlServer.genericEnv.CONTAINER_RUNTIME_EXECUTOR | string | `"k8sapi"` | |
| portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAME | string | `"v3.6.x"` | |
| portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONS | string | `"[\"3.6.0\"]"` | |
| portal.server.graphqlServer.genericEnv.DEFAULT_HUB_BRANCH_NAME | string | `"v3.7.x"` | |
| portal.server.graphqlServer.genericEnv.INFRA_COMPATIBLE_VERSIONS | string | `"[\"3.7.0\"]"` | |
| portal.server.graphqlServer.genericEnv.INFRA_DEPLOYMENTS | string | `"[\"app=chaos-exporter\", \"name=chaos-operator\", \"app=event-tracker\", \"app=workflow-controller\"]"` | |
| portal.server.graphqlServer.genericEnv.LITMUS_AUTH_GRPC_PORT | string | `":3030"` | |
| portal.server.graphqlServer.genericEnv.REMOTE_HUB_MAX_SIZE | string | `"5000000"` | |
| 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 | `"3.6.0"` | |
| portal.server.graphqlServer.genericEnv.WORKFLOW_HELPER_IMAGE_VERSION | string | `"3.7.0"` | |
| portal.server.graphqlServer.image.pullPolicy | string | `"Always"` | |
| portal.server.graphqlServer.image.repository | string | `"litmusportal-server"` | |
| portal.server.graphqlServer.image.tag | string | `"3.6.0"` | |
| portal.server.graphqlServer.image.tag | string | `"3.7.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:3.6.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:3.6.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:3.6.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:3.6.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:3.6.0"` | |
| portal.server.graphqlServer.imageEnv.EVENT_TRACKER_IMAGE | string | `"litmusportal-event-tracker:3.7.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_EXPORTER_IMAGE | string | `"chaos-exporter:3.7.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_OPERATOR_IMAGE | string | `"chaos-operator:3.7.0"` | |
| portal.server.graphqlServer.imageEnv.LITMUS_CHAOS_RUNNER_IMAGE | string | `"chaos-runner:3.7.0"` | |
| portal.server.graphqlServer.imageEnv.SUBSCRIBER_IMAGE | string | `"litmusportal-subscriber:3.7.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 @@ -230,7 +230,7 @@ We separated service configuration from `portal.server.service` to `portal.serve
| upgradeAgent.affinity | object | `{}` | |
| upgradeAgent.controlPlane.image.pullPolicy | string | `"Always"` | |
| upgradeAgent.controlPlane.image.repository | string | `"upgrade-agent-cp"` | |
| upgradeAgent.controlPlane.image.tag | string | `"3.6.0"` | |
| upgradeAgent.controlPlane.image.tag | string | `"3.7.0"` | |
| upgradeAgent.controlPlane.restartPolicy | string | `"OnFailure"` | |
| upgradeAgent.enabled | bool | `true` | |
| upgradeAgent.nodeSelector | object | `{}` | |
Expand Down
104 changes: 0 additions & 104 deletions charts/litmus/templates/server-cluster-role-binding.yaml
Original file line number Diff line number Diff line change
@@ -1,108 +1,4 @@
{{ if eq .Values.portalScope "cluster" }}
{{ if eq .Values.portal.server.graphqlServer.genericEnv.SELF_AGENT "true" }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: argo-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
app.kubernetes.io/component: argo-crb-for-{{ include "litmus-portal.name" . }}-server
{{- include "litmus-portal.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: argo-cr-for-{{ include "litmus-portal.fullname" . }}-server
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: litmus-cluster-scope-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
app.kubernetes.io/name: litmus
# provide unique instance-id if applicable
# app.kubernetes.io/instance: litmus-abcxzy
app.kubernetes.io/version: v1.13.6
app.kubernetes.io/component: operator-clusterrolebinding
app.kubernetes.io/part-of: litmus
app.kubernetes.io/managed-by: kubectl
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: litmus-cluster-scope-for-{{ include "litmus-portal.fullname" . }}-server
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: litmus-admin-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
name: litmus-admin-crb-for-{{ include "litmus-portal.name" . }}-server
app.kubernetes.io/component: litmus-admin-crb-for-{{ include "litmus-portal.name" . }}-server
{{- include "litmus-portal.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: litmus-admin-cr-for-{{ include "litmus-portal.fullname" . }}-server
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: chaos-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
app.kubernetes.io/component: chaos-crb-for-{{ include "litmus-portal.name" . }}-server
{{- include "litmus-portal.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: chaos-cr-for-{{ include "litmus-portal.fullname" . }}-server
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: subscriber-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
app.kubernetes.io/component: subscriber-crb-for-{{ include "litmus-portal.name" . }}-server
{{- include "litmus-portal.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: subscriber-cr-for-{{ include "litmus-portal.fullname" . }}-server
apiGroup: rbac.authorization.k8s.io
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: event-tracker-crb-for-{{ include "litmus-portal.fullname" . }}-server
labels:
app.kubernetes.io/component: event-tracker-crb-for-{{ include "litmus-portal.name" . }}-server
{{- include "litmus-portal.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: event-tracker-cr-for-{{ include "litmus-portal.fullname" . }}-server
subjects:
- kind: ServiceAccount
name: {{ .Values.portal.server.serviceAccountName }}
namespace: {{ .Release.Namespace }}
---
{{ end }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
Expand Down
Loading

0 comments on commit 6d26987

Please sign in to comment.