Skip to content

Disable templating

Introduced in v0.20.0 as render: false

Changed in v0.32.0 as renderer: copy

Sometimes we need to disable templating values. For example, prometheus rules.

helmwave.yml
project: "Example: values render flag"
version: "0.39.1"

repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami

.options: &options
  namespace: my-namespace
  wait: true

releases:
  - name: nginx
    <<: *options
    chart: bitnami/nginx
    values:
      - src: values.yml
        renderer: copy
values.yml
## Prometheus Exporter / Metrics
##
metrics:
  service:
    annotations:
      prometheus.io/scrape: "true"
      prometheus.io/port: "{{ .Values.metrics.service.port }}"