{# --------------------------------------------------------------------------- Template for cluster/resources/{{ '-' if ._is_enabled }}/values.yaml.jinja Standalone-chart shape. For services sharing one release via a `global` block, use the shared-chart shape in references/helm-values.md §4 instead. The macro wrapper and the four-line stripping footer are mandatory — they remove blank lines left by unexpanded Jinja2 constructs, which would otherwise break the rendered YAML. --------------------------------------------------------------------------- #} {% macro render() %} # values for - replicaCount: {{ .get('', {}).get('replicas', 1) }} image: repository: {{ .get('', {}).get('image', {}).get('address', '') }} tag: {{ .get('', {}).get('image', {}).get('tag', '') }} pullPolicy: Always imagePullSecrets: - name: "storage-images" service: type: ClusterIP port: 80 livenessProbe: httpGet: path: /health port: periodSeconds: 60 readinessProbe: httpGet: path: /health port: periodSeconds: 60 env: targetPort: : {{ .get('', {}).get('env', {}).get('', '') }} {% endmacro %} {%- set result = render() -%} {%- for line in result.split('\n') -%} {% if line | trim | length != 0 -%} {{ line }} {% endif -%} {%- endfor %}