Skip to content

Commit 94d8e56

Browse files
authored
Removed envs for jwt secret (#4767) (#4768)
* updated envs * removed installation readme * updated manifest --------- Signed-off-by: Saranya-jena <[email protected]>
1 parent 0eceb42 commit 94d8e56

12 files changed

+4912
-85
lines changed

chaoscenter/README.md

-49
This file was deleted.

chaoscenter/authentication/api/main.go

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import (
3434
)
3535

3636
type Config struct {
37-
JwtSecret string `required:"true" split_words:"true"`
3837
AdminUsername string `required:"true" split_words:"true"`
3938
AdminPassword string `required:"true" split_words:"true"`
4039
DbServer string `required:"true" split_words:"true"`

chaoscenter/manifests/litmus-getting-started.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ spec:
253253
- name: CA_CERT_TLS_PATH
254254
value: ""
255255
- name: REST_PORT
256-
value: 8080
256+
value: "8080"
257257
- name: GRPC_PORT
258-
value: 8000
258+
value: "8000"
259259
ports:
260260
- containerPort: 8080
261261
- containerPort: 8000
@@ -357,9 +357,9 @@ spec:
357357
- name: CA_CERT_TLS_PATH
358358
value: ""
359359
- name: REST_PORT
360-
value: 3000
360+
value: "3000"
361361
- name: GRPC_PORT
362-
value: 3030
362+
value: "3030"
363363
ports:
364364
- containerPort: 3000
365365
- containerPort: 3030

chaoscenter/manifests/litmus-installation.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ spec:
269269
- name: INFRA_COMPATIBLE_VERSIONS
270270
value: '["ci"]'
271271
- name: ALLOWED_ORIGINS
272-
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
272+
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?"
273273
- name: ENABLE_INTERNAL_TLS
274274
value: "true"
275275
- name: TLS_CERT_PATH
@@ -279,9 +279,9 @@ spec:
279279
- name: CA_CERT_TLS_PATH
280280
value: "/etc/tls/ca.crt"
281281
- name: REST_PORT
282-
value: 8081
282+
value: "8081"
283283
- name: GRPC_PORT
284-
value: 8001
284+
value: "8001"
285285
ports:
286286
- containerPort: 8081
287287
- containerPort: 8001
@@ -390,9 +390,9 @@ spec:
390390
- name: CA_CERT_TLS_PATH
391391
value: "/etc/tls/ca.crt"
392392
- name: REST_PORT
393-
value: 3001
393+
value: "3001"
394394
- name: GRPC_PORT
395-
value: 3031
395+
value: "3031"
396396
ports:
397397
- containerPort: 3001
398398
- containerPort: 3031

chaoscenter/manifests/litmus-without-resources.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ spec:
270270
- name: CA_CERT_TLS_PATH
271271
value: "/etc/tls/ca.crt"
272272
- name: REST_PORT
273-
value: 8081
273+
value: "8081"
274274
- name: GRPC_PORT
275-
value: 8001
275+
value: "8001"
276276
ports:
277277
- containerPort: 8081
278278
- containerPort: 8001
@@ -372,9 +372,9 @@ spec:
372372
- name: CA_CERT_TLS_PATH
373373
value: "/etc/tls/ca.crt"
374374
- name: REST_PORT
375-
value: 3001
375+
value: "3001"
376376
- name: GRPC_PORT
377-
value: 3031
377+
value: "3031"
378378
ports:
379379
- containerPort: 3001
380380
- containerPort: 3031

mkdocs/docs/3.9.0/litmus-getting-started.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ spec:
231231
- name: CONTAINER_RUNTIME_EXECUTOR
232232
value: "k8sapi"
233233
- name: DEFAULT_HUB_BRANCH_NAME
234-
value: "master"
234+
value: "3.9.x"
235235
- name: LITMUS_AUTH_GRPC_ENDPOINT
236236
value: "litmusportal-auth-server-service"
237237
- name: LITMUS_AUTH_GRPC_PORT
238-
value: ":3030"
238+
value: "3030"
239239
- name: WORKFLOW_HELPER_IMAGE_VERSION
240240
value: "3.9.0"
241241
- name: REMOTE_HUB_MAX_SIZE
@@ -253,9 +253,9 @@ spec:
253253
- name: CA_CERT_TLS_PATH
254254
value: ""
255255
- name: REST_PORT
256-
value: 8080
256+
value: "8080"
257257
- name: GRPC_PORT
258-
value: 8000
258+
value: "8000"
259259
ports:
260260
- containerPort: 8080
261261
- containerPort: 8000
@@ -345,7 +345,7 @@ spec:
345345
- name: LITMUS_GQL_GRPC_ENDPOINT
346346
value: "litmusportal-server-service"
347347
- name: LITMUS_GQL_GRPC_PORT
348-
value: ":8000"
348+
value: "8000"
349349
- name: ALLOWED_ORIGINS
350350
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
351351
- name: ENABLE_INTERNAL_TLS
@@ -357,9 +357,9 @@ spec:
357357
- name: CA_CERT_TLS_PATH
358358
value: ""
359359
- name: REST_PORT
360-
value: 3000
360+
value: "3000"
361361
- name: GRPC_PORT
362-
value: 3030
362+
value: "3030"
363363
ports:
364364
- containerPort: 3000
365365
- containerPort: 3030

mkdocs/docs/3.9.0/litmus-installation.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -257,19 +257,19 @@ spec:
257257
- name: CONTAINER_RUNTIME_EXECUTOR
258258
value: "k8sapi"
259259
- name: DEFAULT_HUB_BRANCH_NAME
260-
value: "master"
260+
value: "3.9.x"
261261
- name: LITMUS_AUTH_GRPC_ENDPOINT
262262
value: "litmusportal-auth-server-service"
263263
- name: LITMUS_AUTH_GRPC_PORT
264-
value: ":3030"
264+
value: "3030"
265265
- name: WORKFLOW_HELPER_IMAGE_VERSION
266266
value: "3.9.0"
267267
- name: REMOTE_HUB_MAX_SIZE
268268
value: "5000000"
269269
- name: INFRA_COMPATIBLE_VERSIONS
270270
value: '["3.9.0"]'
271271
- name: ALLOWED_ORIGINS
272-
value: ".*" #eg: ^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?
272+
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?"
273273
- name: ENABLE_INTERNAL_TLS
274274
value: "true"
275275
- name: TLS_CERT_PATH
@@ -279,9 +279,9 @@ spec:
279279
- name: CA_CERT_TLS_PATH
280280
value: "/etc/tls/ca.crt"
281281
- name: REST_PORT
282-
value: 8081
282+
value: "8081"
283283
- name: GRPC_PORT
284-
value: 8001
284+
value: "8001"
285285
ports:
286286
- containerPort: 8081
287287
- containerPort: 8001
@@ -378,7 +378,7 @@ spec:
378378
- name: LITMUS_GQL_GRPC_ENDPOINT
379379
value: "litmusportal-server-service"
380380
- name: LITMUS_GQL_GRPC_PORT
381-
value: ":8000"
381+
value: "8000"
382382
- name: ALLOWED_ORIGINS
383383
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?" #ip needs to added here
384384
- name: ENABLE_INTERNAL_TLS
@@ -390,9 +390,9 @@ spec:
390390
- name: CA_CERT_TLS_PATH
391391
value: "/etc/tls/ca.crt"
392392
- name: REST_PORT
393-
value: 3001
393+
value: "3001"
394394
- name: GRPC_PORT
395-
value: 3031
395+
value: "3031"
396396
ports:
397397
- containerPort: 3001
398398
- containerPort: 3031

mkdocs/docs/3.9.0/litmus-without-resources.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ spec:
248248
- name: CONTAINER_RUNTIME_EXECUTOR
249249
value: "k8sapi"
250250
- name: DEFAULT_HUB_BRANCH_NAME
251-
value: "master"
251+
value: "3.9.x"
252252
- name: LITMUS_AUTH_GRPC_ENDPOINT
253253
value: "litmusportal-auth-server-service"
254254
- name: LITMUS_AUTH_GRPC_PORT
255-
value: ":3030"
255+
value: "3030"
256256
- name: WORKFLOW_HELPER_IMAGE_VERSION
257257
value: "3.9.0"
258258
- name: REMOTE_HUB_MAX_SIZE
@@ -270,9 +270,9 @@ spec:
270270
- name: CA_CERT_TLS_PATH
271271
value: "/etc/tls/ca.crt"
272272
- name: REST_PORT
273-
value: 8081
273+
value: "8081"
274274
- name: GRPC_PORT
275-
value: 8001
275+
value: "8001"
276276
ports:
277277
- containerPort: 8081
278278
- containerPort: 8001
@@ -360,7 +360,7 @@ spec:
360360
- name: LITMUS_GQL_GRPC_ENDPOINT
361361
value: "litmusportal-server-service"
362362
- name: LITMUS_GQL_GRPC_PORT
363-
value: ":8000"
363+
value: "8000"
364364
- name: ALLOWED_ORIGINS
365365
value: "^(http://|https://|)litmuschaos.io(:[0-9]+|)?,^(http://|https://|)litmusportal-server-service(:[0-9]+|)?" #ip needs to added here
366366
- name: ENABLE_INTERNAL_TLS
@@ -372,9 +372,9 @@ spec:
372372
- name: CA_CERT_TLS_PATH
373373
value: "/etc/tls/ca.crt"
374374
- name: REST_PORT
375-
value: 3001
375+
value: "3001"
376376
- name: GRPC_PORT
377-
value: 3031
377+
value: "3031"
378378
ports:
379379
- containerPort: 3001
380380
- containerPort: 3031

0 commit comments

Comments
 (0)