Skip to content

Commit

Permalink
docs: fix default collection of satellite env
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Dec 13, 2023
1 parent 3f97fab commit 4ee9927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/upgrade/collect-operator-v1-information.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ for IDX in $(seq 0 "$(jq '.items | length - 1' "$TEMPDIR/linstorsatellitesets.js
confirm_patch "$TEMPDIR/linstorsatelliteconfiguration" y
fi

if [ "$(jq_item '.spec.additionalEnv | length')" -gt 0 ]; then
if [ "$(jq_item -c '.spec.additionalEnv')" != '[{"name":"LB_SELINUX_AS","value":"modules_object_t"}]' ]; then
echo "Found additional environment variables passed to LINSTOR Satellite"
jq_item '.spec.additionalEnv' \
| format_patch Pod satellite '{"apiVersion": "v1", "kind": "Pod", "metadata": {"name": "satellite"}, "spec": {"containers": [{"name": "linstor-satellite", "env": .}]}}' \
Expand Down

0 comments on commit 4ee9927

Please sign in to comment.