Update deployment.yaml
This commit is contained in:
parent
c803786611
commit
c2e899d56d
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ spec:
|
||||||
echo "✅ Found hermes at: $HERMES_BIN"
|
echo "✅ Found hermes at: $HERMES_BIN"
|
||||||
|
|
||||||
# Copy config
|
# Copy config
|
||||||
cp -f /etc/hermes/config.yaml /opt/data/config.yaml || true
|
cp -f /tmp/hermes/config.yaml /opt/data/config.yaml || true
|
||||||
|
|
||||||
# Create symlink in a writable location (PVC) so it works when you exec in
|
# Create symlink in a writable location (PVC) so it works when you exec in
|
||||||
mkdir -p /opt/data/bin
|
mkdir -p /opt/data/bin
|
||||||
|
|
@ -113,7 +113,7 @@ spec:
|
||||||
- name: hermes-data
|
- name: hermes-data
|
||||||
mountPath: /opt/data
|
mountPath: /opt/data
|
||||||
- name: hermes-configmap
|
- name: hermes-configmap
|
||||||
mountPath: /etc/hermes/config.yaml
|
mountPath: /tmp/hermes/config.yaml
|
||||||
subPath: config.yaml
|
subPath: config.yaml
|
||||||
readOnly: true
|
readOnly: true
|
||||||
resources:
|
resources:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue