Open jpds opened 6 years ago
I think this is because the actual env var passed to drone-helm container by Drone is PLUGIN_DRY-RUN
, not PLUGIN_DRY_RUN
.
Have you tried this?
pipeline:
helm_deploy:
image: quay.io/ipedrazas/drone-helm
skip_tls_verify: true
chart: stable/prometheus
update_dependencies: false
release: prometheus
namespace: production-prometheus
dry_run: true
secrets: [ api_server, kubernetes_token ]
when:
branch: [master]
We may need to upgrade the docs here then: https://github.com/ipedrazas/drone-helm/blob/master/DOCS.md#advanced-customisations-and-debugging
I have a simple pipeline:
Interestingly, when this ran, it actually deployed prometheus, into that namespace.