79433654

Date: 2025-02-12 15:47:16
Score: 0.5
Natty:
Report link

As per jhole's comment, the toYaml should infact be in a template file.

What I seem to be able to do is the following:

containerBuilder:
  probes:
    livenessProbe:
      failureThreshold: 5
      tcpSocket:
        port: 2376
      periodSeconds: 10
      timeoutSeconds: 5
  spec:
    livenessProbe:
      "{{- toYaml .Values.containerBuilder.probes.livenessProbe | nindent 6 }}"

template.yaml

Container:
  {{ .Value.containerBuilder.spec }}

In order to render the template as I need.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: CJW