Skip to content

Render flag for values

Sometimes we need to disable render values. For example prometheus rules.

values.yml
## Prometheus Exporter / Metrics
##
metrics:
  service:
    annotations:
      prometheus.io/scrape: "true"
      prometheus.io/port: "{{ .Values.metrics.service.port }}"
helmwave.yml
project: "Example: values render flag"
version: "0.31.0"

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
        render: false