I'm try to appned some JSON patch to $CONFIG_VALUES_JSON_PATCH_PATH in someModule's hooks, but after all hooks done, the ConfigMap/addon-operator values not be updated.
such as:
# /modules/001-some-module/hooks/hook.sh
if [[ $binding == "beforeHelm" ]]; then
...
cat > $CONFIG_VALUES_JSON_PATCH_PATH <<EOF
[{"op":"add", "path":"/someModule/param11", "value":"value11"}]
EOF
fi
and then
kubectl -n test get cm/addon-operator -o=yaml
but the values of configmap not updated.
Environment:
- Addon-operator version: v1.5.3
- Helm version: v3.10.3
- Kubernetes version: v1.24.17
- Installation type (kubectl apply, helm chart, etc.):