Skip to content

Commit

Permalink
Removed envs for jwt secret (#4767)
Browse files Browse the repository at this point in the history
* updated envs

Signed-off-by: Saranya-jena <[email protected]>

* removed installation readme

Signed-off-by: Saranya-jena <[email protected]>

* updated manifest

Signed-off-by: Saranya-jena <[email protected]>

---------

Signed-off-by: Saranya-jena <[email protected]>
  • Loading branch information
Saranya-jena authored Jul 15, 2024
1 parent 0eceb42 commit 7b562a8
Show file tree
Hide file tree
Showing 12 changed files with 4,912 additions and 85 deletions.
49 changes: 0 additions & 49 deletions chaoscenter/README.md

This file was deleted.

1 change: 0 additions & 1 deletion chaoscenter/authentication/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
)

type Config struct {
JwtSecret string `required:"true" split_words:"true"`
AdminUsername string `required:"true" split_words:"true"`
AdminPassword string `required:"true" split_words:"true"`
DbServer string `required:"true" split_words:"true"`
Expand Down
8 changes: 4 additions & 4 deletions chaoscenter/manifests/litmus-getting-started.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: ""
- name: REST_PORT
value: 8080
value: "8080"
- name: GRPC_PORT
value: 8000
value: "8000"
ports:
- containerPort: 8080
- containerPort: 8000
Expand Down Expand Up @@ -357,9 +357,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: ""
- name: REST_PORT
value: 3000
value: "3000"
- name: GRPC_PORT
value: 3030
value: "3030"
ports:
- containerPort: 3000
- containerPort: 3030
Expand Down
10 changes: 5 additions & 5 deletions chaoscenter/manifests/litmus-installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ spec:
- name: INFRA_COMPATIBLE_VERSIONS
value: '["ci"]'
- name: ALLOWED_ORIGINS
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?"
- name: ENABLE_INTERNAL_TLS
value: "true"
- name: TLS_CERT_PATH
Expand All @@ -279,9 +279,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 8081
value: "8081"
- name: GRPC_PORT
value: 8001
value: "8001"
ports:
- containerPort: 8081
- containerPort: 8001
Expand Down Expand Up @@ -390,9 +390,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 3001
value: "3001"
- name: GRPC_PORT
value: 3031
value: "3031"
ports:
- containerPort: 3001
- containerPort: 3031
Expand Down
8 changes: 4 additions & 4 deletions chaoscenter/manifests/litmus-without-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 8081
value: "8081"
- name: GRPC_PORT
value: 8001
value: "8001"
ports:
- containerPort: 8081
- containerPort: 8001
Expand Down Expand Up @@ -372,9 +372,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 3001
value: "3001"
- name: GRPC_PORT
value: 3031
value: "3031"
ports:
- containerPort: 3001
- containerPort: 3031
Expand Down
14 changes: 7 additions & 7 deletions mkdocs/docs/3.9.0/litmus-getting-started.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ spec:
- name: CONTAINER_RUNTIME_EXECUTOR
value: "k8sapi"
- name: DEFAULT_HUB_BRANCH_NAME
value: "master"
value: "3.9.x"
- name: LITMUS_AUTH_GRPC_ENDPOINT
value: "litmusportal-auth-server-service"
- name: LITMUS_AUTH_GRPC_PORT
value: ":3030"
value: "3030"
- name: WORKFLOW_HELPER_IMAGE_VERSION
value: "3.9.0"
- name: REMOTE_HUB_MAX_SIZE
Expand All @@ -253,9 +253,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: ""
- name: REST_PORT
value: 8080
value: "8080"
- name: GRPC_PORT
value: 8000
value: "8000"
ports:
- containerPort: 8080
- containerPort: 8000
Expand Down Expand Up @@ -345,7 +345,7 @@ spec:
- name: LITMUS_GQL_GRPC_ENDPOINT
value: "litmusportal-server-service"
- name: LITMUS_GQL_GRPC_PORT
value: ":8000"
value: "8000"
- name: ALLOWED_ORIGINS
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
- name: ENABLE_INTERNAL_TLS
Expand All @@ -357,9 +357,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: ""
- name: REST_PORT
value: 3000
value: "3000"
- name: GRPC_PORT
value: 3030
value: "3030"
ports:
- containerPort: 3000
- containerPort: 3030
Expand Down
16 changes: 8 additions & 8 deletions mkdocs/docs/3.9.0/litmus-installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,19 +257,19 @@ spec:
- name: CONTAINER_RUNTIME_EXECUTOR
value: "k8sapi"
- name: DEFAULT_HUB_BRANCH_NAME
value: "master"
value: "3.9.x"
- name: LITMUS_AUTH_GRPC_ENDPOINT
value: "litmusportal-auth-server-service"
- name: LITMUS_AUTH_GRPC_PORT
value: ":3030"
value: "3030"
- name: WORKFLOW_HELPER_IMAGE_VERSION
value: "3.9.0"
- name: REMOTE_HUB_MAX_SIZE
value: "5000000"
- name: INFRA_COMPATIBLE_VERSIONS
value: '["3.9.0"]'
- name: ALLOWED_ORIGINS
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?"
- name: ENABLE_INTERNAL_TLS
value: "true"
- name: TLS_CERT_PATH
Expand All @@ -279,9 +279,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 8081
value: "8081"
- name: GRPC_PORT
value: 8001
value: "8001"
ports:
- containerPort: 8081
- containerPort: 8001
Expand Down Expand Up @@ -378,7 +378,7 @@ spec:
- name: LITMUS_GQL_GRPC_ENDPOINT
value: "litmusportal-server-service"
- name: LITMUS_GQL_GRPC_PORT
value: ":8000"
value: "8000"
- name: ALLOWED_ORIGINS
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?" #ip needs to added here
- name: ENABLE_INTERNAL_TLS
Expand All @@ -390,9 +390,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 3001
value: "3001"
- name: GRPC_PORT
value: 3031
value: "3031"
ports:
- containerPort: 3001
- containerPort: 3031
Expand Down
14 changes: 7 additions & 7 deletions mkdocs/docs/3.9.0/litmus-without-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ spec:
- name: CONTAINER_RUNTIME_EXECUTOR
value: "k8sapi"
- name: DEFAULT_HUB_BRANCH_NAME
value: "master"
value: "3.9.x"
- name: LITMUS_AUTH_GRPC_ENDPOINT
value: "litmusportal-auth-server-service"
- name: LITMUS_AUTH_GRPC_PORT
value: ":3030"
value: "3030"
- name: WORKFLOW_HELPER_IMAGE_VERSION
value: "3.9.0"
- name: REMOTE_HUB_MAX_SIZE
Expand All @@ -270,9 +270,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 8081
value: "8081"
- name: GRPC_PORT
value: 8001
value: "8001"
ports:
- containerPort: 8081
- containerPort: 8001
Expand Down Expand Up @@ -360,7 +360,7 @@ spec:
- name: LITMUS_GQL_GRPC_ENDPOINT
value: "litmusportal-server-service"
- name: LITMUS_GQL_GRPC_PORT
value: ":8000"
value: "8000"
- name: ALLOWED_ORIGINS
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?" #ip needs to added here
- name: ENABLE_INTERNAL_TLS
Expand All @@ -372,9 +372,9 @@ spec:
- name: CA_CERT_TLS_PATH
value: "/etc/tls/ca.crt"
- name: REST_PORT
value: 3001
value: "3001"
- name: GRPC_PORT
value: 3031
value: "3031"
ports:
- containerPort: 3001
- containerPort: 3031
Expand Down
Loading

0 comments on commit 7b562a8

Please sign in to comment.