Open
Description
After yq update to v4, minnaker/scripts/addons/install_prometheus.sh can't be exec normally,
71 #yq m -i ${BASE_DIR}/prometheus/custom/prometheus.yaml ${BASE_DIR}/prometheus/custom/patch.yml
72 yq eval-all -i 'select(fi == 0) * select(filename == "'${BASE_DIR}'/prometheus/custom/patch.yml")' ${BASE_DIR}/prometheus/custom/prometheus.yaml ${BASE_DIR}/prometheus/custom/patch.yml
73
74 #yq d -i ${BASE_DIR}/prometheus/custom/prometheus.yaml spec.serviceMonitorSelector
75 yq eval -i 'del(.spec.serviceMonitorSelector)' ${BASE_DIR}/prometheus/custom/prometheus.yaml
Metadata
Metadata
Assignees
Labels
No labels