Skip to content

(helm) PDB doesn't always have newline where expected #518

@jcpunk

Description

@jcpunk

For reasons I don't understand, sometimes when rendering the PodDisruptionBudget the parameters are stacked on a single line producing invalid YAML.

spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: local-path-provisioner
      app.kubernetes.io/instance: release-name
  podDisruptionBudget:    minAvailable: 0

When minAvailable should be on its own line.

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