Skip to content

{{ requiredEnv "RELEASE_NAME" }} used in the file values.example.yaml in monochart #234

@ghost

Description

{{ requiredEnv "RELEASE_NAME" }} used in the file values.example.yam in monochartl, but I think this is typically a Helmfile-thing and can't be used in a Helm values file.

[...]
  affinity:
    # use of simple rule
    affinityRule: "ShouldBeOnDifferentNode"
    # use custom affinity rule. Here app MUST be on different host then postgres instance for it
    podAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchExpressions:
          - key: app
            operator: In
            values:
            - postgresql
          - key: release
            operator: In
            values:
            - "{{ requiredEnv "RELEASE_NAME" }}-postgresql"
        topologyKey: "kubernetes.io/hostname"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions