Skip to content

Commit

Permalink
updated dex deployment yaml (#4764)
Browse files Browse the repository at this point in the history
* updated dex deployment yaml

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

* removed jwt secret

Signed-off-by: Saranya-jena <saranya.jena@harness.io>

---------

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
  • Loading branch information
Saranya-jena authored Jul 15, 2024
1 parent 462fd1f commit 7423b82
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
13 changes: 11 additions & 2 deletions chaoscenter/dex-server/dex-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ rules:
signingkeies,
]
verbs: [delete, deletecollection, get, list, patch, create, update, watch]
- apiGroups: [apiextensions.k8s.io]
resources: [customresourcedefinitions]
verbs: [list, get, create]
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: dex-server-account
namespace: litmus
---
# ClusterRoleBinding for DexServer
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -81,7 +90,7 @@ roleRef:
name: litmus-dex-server
subjects:
- kind: ServiceAccount
name: litmus-server-account
name: dex-server-account
namespace: litmus
---
# Deployment for DexServer
Expand All @@ -102,7 +111,7 @@ spec:
labels:
component: litmusportal-dex-server
spec:
serviceAccountName: litmus-server-account
serviceAccountName: dex-server-account
containers:
- name: litmus-dex
imagePullPolicy: IfNotPresent
Expand Down
1 change: 0 additions & 1 deletion chaoscenter/manifests/litmus-getting-started.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ kind: Secret
metadata:
name: litmus-portal-admin-secret
stringData:
JWT_SECRET: "litmus-portal@123"
DB_USER: "root"
DB_PASSWORD: "1234"
---
Expand Down
1 change: 0 additions & 1 deletion chaoscenter/manifests/litmus-installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ kind: Secret
metadata:
name: litmus-portal-admin-secret
stringData:
JWT_SECRET: "litmus-portal@123"
DB_USER: "root"
DB_PASSWORD: "1234"
---
Expand Down
1 change: 0 additions & 1 deletion chaoscenter/manifests/litmus-without-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ kind: Secret
metadata:
name: litmus-portal-admin-secret
stringData:
JWT_SECRET: "litmus-portal@123"
DB_USER: "root"
DB_PASSWORD: "1234"
---
Expand Down

0 comments on commit 7423b82

Please sign in to comment.