Skip to content

Prometheus setup scripts can't exec after yq update to v4 #93

@emperorente

Description

@emperorente

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions