Skip to content

[Feature Request] Support if/else condition #48

Description

@PierrePIRONIN

Is it possible to implement something that results to the following snippet ?

livenessProbe:
  exec:
    {{- if .Values.tls.enabled }}
    command: [ "sh", "-c", "curl -sSfk https://127.0.0.1:6385" ]
    {{- else }}
    command: [ "sh", "-c", "curl -sSfk http://127.0.0.1:6180/images" ]
    {{- end }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions