Skip to content

Commit

Permalink
chore(3.0.0-beta3): adding release manifests for 3.0.0-beta3 (#3887)
Browse files Browse the repository at this point in the history
* chore(3.0.0-beta3): adding release manifests for 3.0.0-beta3

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

* updating readme for 3.0.0-beta3 installation

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

* adding deletecollection permissions

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
  • Loading branch information
ispeakc0de committed Jan 13, 2023
1 parent d5dbf75 commit ad5095f
Show file tree
Hide file tree
Showing 9 changed files with 6,310 additions and 23 deletions.
16 changes: 8 additions & 8 deletions litmus-portal/README.md
Expand Up @@ -22,31 +22,31 @@ ChaosCenter provides console and UI experience for managing, monitoring, and eve

#### Applying k8s manifest

> Litmus-3.0-beta1 Cluster Scope manifest
> Litmus-3.0.0-beta3 Cluster Scope manifest
```bash
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/mkdocs/docs/3.0-beta1/litmus-3.0-beta1.yaml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-3.0.0-beta3.yaml
```

Or

> Litmus-3.0-beta1 Namespaced Scope manifest.
> Litmus-3.0.0-beta3 Namespaced Scope manifest.
```bash
#Create a namespace eg: litmus
kubectl create ns litmus
#Install CRDs, if SELF_AGENT env is set to TRUE
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/mkdocs/docs/3.0-beta1/litmus-portal-crds-3.0-beta1.yml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-portal-crds-3.0.0-beta3.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/mkdocs/docs/3.0-beta1/litmus-namespaced-3.0-beta1.yaml -n litmus
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-namespaced-3.0.0-beta3.yaml -n litmus
```

Or

> Master (Latest) Cluster scope. Install in litmus namespace by default.
```bash
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/litmus-portal/manifests/cluster-k8s-manifest.yml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/manifests/cluster-k8s-manifest.yml
```

Or
Expand All @@ -57,9 +57,9 @@ Or
#Create a namespace eg: litmus
kubectl create ns litmus
#Install CRDs, if SELF_AGENT env is set to TRUE
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/litmus-portal/manifests/litmus-portal-crds.yml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/manifests/litmus-portal-crds.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/dev-3.x/litmus-portal/manifests/namespace-k8s-manifest.yml -n litmus
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/manifests/namespace-k8s-manifest.yml -n litmus
```

#### Configuration Options for Cluster scope.
Expand Down
12 changes: 6 additions & 6 deletions litmus-portal/manifests/cluster-k8s-manifest.yml
Expand Up @@ -583,7 +583,7 @@ spec:
spec:
initContainers:
- name: wait-for-mongodb
image: litmuschaos/curl:3.0.0-beta2
image: litmuschaos/curl:3.0.0-beta3
command: ["/bin/sh", "-c"]
args:
[
Expand Down Expand Up @@ -642,11 +642,11 @@ spec:
- name: ARGO_WORKFLOW_EXECUTOR_IMAGE
value: "litmuschaos/argoexec:v3.3.1"
- name: LITMUS_CHAOS_OPERATOR_IMAGE
value: "litmuschaos/chaos-operator:3.0.0-beta2"
value: "litmuschaos/chaos-operator:3.0.0-beta3"
- name: LITMUS_CHAOS_RUNNER_IMAGE
value: "litmuschaos/chaos-runner:3.0.0-beta2"
value: "litmuschaos/chaos-runner:3.0.0-beta3"
- name: LITMUS_CHAOS_EXPORTER_IMAGE
value: "litmuschaos/chaos-exporter:3.0.0-beta2"
value: "litmuschaos/chaos-exporter:3.0.0-beta3"
- name: SERVER_SERVICE_NAME
value: "litmusportal-server-service"
- name: AGENT_DEPLOYMENTS
Expand Down Expand Up @@ -674,7 +674,7 @@ spec:
- name: LITMUS_AUTH_GRPC_PORT
value: ":3030"
- name: WORKFLOW_HELPER_IMAGE_VERSION
value: "3.0.0-beta2"
value: "3.0.0-beta3"
- name: REMOTE_HUB_MAX_SIZE
value: "5000000"
ports:
Expand Down Expand Up @@ -729,7 +729,7 @@ spec:
automountServiceAccountToken: false
initContainers:
- name: wait-for-mongodb
image: litmuschaos/curl:3.0.0-beta2
image: litmuschaos/curl:3.0.0-beta3
command: ["/bin/sh", "-c"]
args:
[
Expand Down
215 changes: 212 additions & 3 deletions litmus-portal/manifests/litmus-portal-crds.yml
Expand Up @@ -670,9 +670,6 @@ spec:
#oneOf:
# - pattern: '^delete$'
# - pattern: '^retain$'
annotationCheck:
type: string
pattern: ^(true|false)$
defaultHealthCheck:
type: string
pattern: ^(true|false)$
Expand All @@ -686,6 +683,44 @@ spec:
type: string
appns:
type: string
selectors:
type: object
properties:
pods:
items:
properties:
names:
type: string
namespace:
type: string
required:
- names
- namespace
type: object
type: array
workloads:
items:
properties:
kind:
type: string
pattern: ^(^$|deployment|statefulset|daemonset|deploymentconfig|rollout)$
labels:
type: string
names:
type: string
namespace:
type: string
oneOf:
- required: [ names ]
- required: [ labels ]
required:
- kind
- namespace
type: object
type: array
oneOf:
- required: [ pods ]
- required: [ workloads ]
auxiliaryAppInfo:
type: string
engineState:
Expand All @@ -698,6 +733,180 @@ spec:
components:
type: object
properties:
sidecar:
type: array
items:
type: object
properties:
env:
description: ENV contains ENV passed to the sidecar container
items:
description: EnvVar represents an environment variable
present in a Container.
properties:
name:
description: Name of the environment variable. Must
be a C_IDENTIFIER.
type: string
value:
description: 'Variable references $(VAR_NAME) are
expanded using the previous defined environment
variables in the container and any service environment
variables. If a variable cannot be resolved, the
reference in the input string will be unchanged.
The $(VAR_NAME) syntax can be escaped with a double
$$, ie: $$(VAR_NAME). Escaped references will never
be expanded, regardless of whether the variable
exists or not. Defaults to "".'
type: string
valueFrom:
description: Source for the environment variable's
value. Cannot be used if value is not empty.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap
or its key must be defined
type: boolean
required:
- key
type: object
fieldRef:
description: 'Selects a field of the pod: supports
metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`,
`metadata.annotations[''<KEY>'']`, spec.nodeName,
spec.serviceAccountName, status.hostIP, status.podIP,
status.podIPs.'
properties:
apiVersion:
description: Version of the schema the FieldPath
is written in terms of, defaults to "v1".
type: string
fieldPath:
description: Path of the field to select in
the specified API version.
type: string
required:
- fieldPath
type: object
resourceFieldRef:
description: 'Selects a resource of the container:
only resources limits and requests (limits.cpu,
limits.memory, limits.ephemeral-storage, requests.cpu,
requests.memory and requests.ephemeral-storage)
are currently supported.'
properties:
containerName:
description: 'Container name: required for
volumes, optional for env vars'
type: string
divisor:
anyOf:
- type: integer
- type: string
description: Specifies the output format of
the exposed resources, defaults to "1"
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
description: 'Required: resource to select'
type: string
required:
- resource
type: object
secretKeyRef:
description: Selects a key of a secret in the
pod's namespace
properties:
key:
description: The key of the secret to select
from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the Secret or
its key must be defined
type: boolean
required:
- key
type: object
type: object
required:
- name
type: object
type: array
envFrom:
description: EnvFrom for the sidecar container
items:
description: EnvFromSource represents the source of a
set of ConfigMaps
properties:
configMapRef:
description: The ConfigMap to select from
properties:
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the ConfigMap must
be defined
type: boolean
type: object
prefix:
description: An optional identifier to prepend to
each key in the ConfigMap. Must be a C_IDENTIFIER.
type: string
secretRef:
description: The Secret to select from
properties:
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret must be
defined
type: boolean
type: object
type: object
type: array
image:
type: string
imagePullPolicy:
type: string
secrets:
items:
properties:
mountPath:
type: string
name:
type: string
required:
- mountPath
- name
type: object
type: array
runner:
x-kubernetes-preserve-unknown-fields: true
type: object
Expand Down
12 changes: 6 additions & 6 deletions litmus-portal/manifests/namespace-k8s-manifest.yml
Expand Up @@ -555,7 +555,7 @@ spec:
spec:
initContainers:
- name: wait-for-mongodb
image: litmuschaos/curl:3.0.0-beta2
image: litmuschaos/curl:3.0.0-beta3
command: ["/bin/sh", "-c"]
args:
[
Expand Down Expand Up @@ -628,11 +628,11 @@ spec:
- name: ARGO_WORKFLOW_EXECUTOR_IMAGE
value: "litmuschaos/argoexec:v3.3.1"
- name: LITMUS_CHAOS_OPERATOR_IMAGE
value: "litmuschaos/chaos-operator:3.0.0-beta2"
value: "litmuschaos/chaos-operator:3.0.0-beta3"
- name: LITMUS_CHAOS_RUNNER_IMAGE
value: "litmuschaos/chaos-runner:3.0.0-beta2"
value: "litmuschaos/chaos-runner:3.0.0-beta3"
- name: LITMUS_CHAOS_EXPORTER_IMAGE
value: "litmuschaos/chaos-exporter:3.0.0-beta2"
value: "litmuschaos/chaos-exporter:3.0.0-beta3"
- name: CONTAINER_RUNTIME_EXECUTOR
value: "k8sapi"
- name: HUB_BRANCH_NAME
Expand All @@ -642,7 +642,7 @@ spec:
- name: LITMUS_AUTH_GRPC_PORT
value: ":3030"
- name: WORKFLOW_HELPER_IMAGE_VERSION
value: "3.0.0-beta2"
value: "3.0.0-beta3"
- name: REMOTE_HUB_MAX_SIZE
value: "5000000"
- name: INGRESS
Expand Down Expand Up @@ -699,7 +699,7 @@ spec:
automountServiceAccountToken: false
initContainers:
- name: wait-for-mongodb
image: litmuschaos/curl:3.0.0-beta2
image: litmuschaos/curl:3.0.0-beta3
command: ["/bin/sh", "-c"]
args:
[
Expand Down

0 comments on commit ad5095f

Please sign in to comment.