Skip to content

Commit 3fea267

Browse files
committed
fix duplication and lint
Signed-off-by: Lucas <lyoon@redhat.com>
1 parent f65c857 commit 3fea267

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

charts/backstage/values.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,11 @@ global:
135135
- >-
136136
mkdir -p /tmp/data &&
137137
echo 'Copying Lightspeed RAG data...' &&
138-
cp -r /rag/vector_db /rag-content/ &&
139-
cp -r /rag/embeddings_model /rag-content/ &&
138+
cp -r --no-preserve=mode,ownership /rag/vector_db /rag-content/ &&
139+
cp -r --no-preserve=mode,ownership /rag/embeddings_model /rag-content/ &&
140140
mkdir -p /rag-content/vector_db/notebooks &&
141141
chmod -R a+rwX /rag-content &&
142-
mkdir -p /tmp/data &&
143-
echo 'Copying Lightspeed RAG data...' &&
144-
cp -r --no-preserve=mode,ownership /rag/vector_db /rag-content/ &&
145-
cp -r --no-preserve=mode,ownership /rag/embeddings_model /rag-content/ &&
146-
echo 'Copy complete.'
142+
echo 'Copy complete.'
147143
env: []
148144
# -- Resource requests/limits for the Lightspeed RAG bootstrap init container.
149145
resources:
@@ -205,6 +201,7 @@ backstage:
205201
tag: next-1.10
206202
pullPolicy: ""
207203
podSecurityContext:
204+
enabled: false
208205
fsGroup: 1001
209206
command: []
210207
# FIXME (tumido): USE POSTGRES_PASSWORD and POSTGRES_USER instead of POSTGRES_ADMIN_PASSWORD
@@ -434,8 +431,6 @@ backstage:
434431
userPasswordKey: password
435432
primary:
436433
# TODO: https://issues.redhat.com/browse/RHIDP-2645
437-
podSecurityContext:
438-
enabled: false
439434
containerSecurityContext:
440435
enabled: false
441436
allowPrivilegeEscalation: false

0 commit comments

Comments
 (0)