Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus-blackbox-exporter] fix issue when set extra containers #3849

Closed

Conversation

allanhung
Copy link
Contributor

@allanhung allanhung commented Oct 2, 2023

What this PR does / why we need it

fix issue when set extra containers

cat > values.yaml << EOF
extraInitContainers:
- name: k8s-sidecar
  image: quay.io/kiwigrid/k8s-sidecar
extraContainers:
- name: k8s-sidecar
  image: quay.io/kiwigrid/k8s-sidecar
EOF
helm template -f values.yaml prometheus-community/prometheus-blackbox-exporter
Error: YAML parse error on prometheus-blackbox-exporter/templates/deployment.yaml: error converting YAML to JSON: yaml: line 37: block sequence entries are not allowed in this context

Use --debug flag to render out invalid YAML

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@allanhung allanhung closed this Oct 2, 2023
@allanhung allanhung deleted the fix-extra-conatainers branch October 2, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant