Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed envs for jwt secret (#4767) #4768

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading