Skip to content

Commit

Permalink
Upgrading litmusportal to 1.13.0 (#2440)
Browse files Browse the repository at this point in the history
* upgrading litmusportal to 1.13

Signed-off-by: Raj Das <[email protected]>

* upgrading litmusportal to 1.13

Signed-off-by: Raj Das <[email protected]>

* upgrade analytics

Signed-off-by: Raj Das <[email protected]>
  • Loading branch information
imrajdas authored Feb 15, 2021
1 parent c9f429b commit 36fe3b1
Show file tree
Hide file tree
Showing 5 changed files with 272 additions and 30 deletions.
8 changes: 4 additions & 4 deletions litmus-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Litmus-Portal provides console and UI experience for managing, monitoring, and e
## **Installation**

#### Applying k8s manifest
> Beta 1 (Stable)
> Beta 2 (Stable)
```bash
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/v1.12.x/litmus-portal/cluster-k8s-manifest.yml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/v1.13.x/litmus-portal/cluster-k8s-manifest.yml
```

Or
Expand Down Expand Up @@ -78,9 +78,9 @@ View the User Guide <b>[here](https://docs.google.com/document/d/1fiN25BrZpvqg0U

### **Uninstallation**

> Beta 1 (Stable)
> Beta 2 (Stable)
```bash
kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/v1.12.x/litmus-portal/cluster-k8s-manifest.yml
kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/v1.13.x/litmus-portal/cluster-k8s-manifest.yml
```

Or
Expand Down
2 changes: 1 addition & 1 deletion litmus-portal/frontend/public/locales/en/translation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ welcomeModal:

sidebar:
title: Litmus
version: 'Version: 1.12'
version: 'Version: 1.13'

header:
notificationDropdown:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ const WorkflowComparisonTable = () => {
const doc = new jsPDF('p', 'mm', 'a4'); // A4 size page of PDF
const position = -45;
doc.setFontSize(10);
doc.text('Litmus Portal Report Version: 1.12', 10, 10);
doc.text('Litmus Portal Report Version: 1.13', 10, 10);
doc.text('Time of Generation:', 10, 15);
doc.text(new Date().toString(), 42, 15);
doc.text(
Expand Down
145 changes: 133 additions & 12 deletions litmus-portal/graphql-server/manifests/cluster/2a_litmus_crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,39 @@ spec:
url:
type: string
minLength: 1
expectedResponseCode:
type: string
insecureSkipVerify:
type: boolean
minLength: 1
method:
type: object
minProperties: 1
maxProperties: 1
properties:
get:
type: object
properties:
criteria:
type: string
minLength: 1
responseCode:
type: string
minLength: 1
post:
type: object
properties:
contentType:
type: string
minLength: 1
body:
type: string
bodyPath:
type: string
criteria:
type: string
minLength: 1
responseCode:
type: string
minLength: 1
promProbe/inputs:
type: object
properties:
Expand Down Expand Up @@ -349,11 +379,9 @@ spec:
key:
type: string
minLength: 1
allowEmptyValue: false
value:
type: string
minLength: 1
allowEmptyValue: false


status:
Expand Down Expand Up @@ -409,13 +437,111 @@ spec:
type: string
env:
type: array
description: List of ENV vars passed to chaosexperiment pod
items:
type: object
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, metadata.annotations,
spec.nodeName, spec.serviceAccountName, status.hostIP,
status.podIP.'
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]+))))?$
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
image:
type: string
labels:
Expand Down Expand Up @@ -464,11 +590,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
secrets:
type: array
Expand All @@ -478,11 +602,9 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
hostFileVolumes:
type: array
Expand All @@ -492,16 +614,15 @@ spec:
properties:
name:
type: string
allowEmptyValue: false
minLength: 1
mountPath:
type: string
allowEmptyValue: false
minLength: 1
nodePath:
type: string
allowEmptyValue: false
minLength: 1
type:
type: string
securityContext:
type: object
hostPID:
Expand Down
Loading

0 comments on commit 36fe3b1

Please sign in to comment.