Mount extensions+theme directly in main container (symlinks lost by initialize.sh)
This commit is contained in:
@@ -190,12 +190,8 @@ spec:
|
|||||||
chmod +x kubectl && mv kubectl /usr/local/bin/kubectl && \
|
chmod +x kubectl && mv kubectl /usr/local/bin/kubectl && \
|
||||||
cp /usr/local/bin/kubectl /a0/work/kubectl
|
cp /usr/local/bin/kubectl /a0/work/kubectl
|
||||||
fi
|
fi
|
||||||
# Link Blue Jay profile from workspace into Agent Zero's expected paths
|
# Link Blue Jay profile from workspace into Agent Zero's expected path
|
||||||
ln -sfn /a0/work/.bluejay/agents/bluejay /a0/agents/bluejay
|
ln -sfn /a0/work/.bluejay/agents/bluejay /a0/agents/bluejay
|
||||||
ln -sfn /a0/work/.bluejay/extensions/flowercore /a0/extensions/flowercore
|
|
||||||
# Theme CSS into webui static dir
|
|
||||||
mkdir -p /a0/webui/static/css/custom
|
|
||||||
cp /a0/work/.bluejay/theme/* /a0/webui/static/css/custom/ 2>/dev/null || true
|
|
||||||
# Run the original entrypoint
|
# Run the original entrypoint
|
||||||
exec /exe/initialize.sh $BRANCH
|
exec /exe/initialize.sh $BRANCH
|
||||||
ports:
|
ports:
|
||||||
@@ -268,6 +264,12 @@ spec:
|
|||||||
mountPath: /a0/work
|
mountPath: /a0/work
|
||||||
- name: knowledge
|
- name: knowledge
|
||||||
mountPath: /a0/knowledge/custom/main
|
mountPath: /a0/knowledge/custom/main
|
||||||
|
- name: flowercore-extensions
|
||||||
|
mountPath: /a0/extensions/flowercore
|
||||||
|
readOnly: true
|
||||||
|
- name: bluejay-theme
|
||||||
|
mountPath: /a0/webui/static/css/custom
|
||||||
|
readOnly: true
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
|||||||
Reference in New Issue
Block a user