Skip to content

Render flag for values

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

cat values.yml

## Prometheus Exporter / Metrics
##
metrics:
  service:
    annotations:
      prometheus.io/scrape: "true"
      prometheus.io/port: "{{ .Values.metrics.service.port }}"

cat helmwave.yml

version: 0.23.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
        render: false