Skip to content

fix[kubernetes-operator]: Wrong nindent for array values#13

Open
alice-dops wants to merge 1 commit intonetbirdio:mainfrom
alice-dops:main
Open

fix[kubernetes-operator]: Wrong nindent for array values#13
alice-dops wants to merge 1 commit intonetbirdio:mainfrom
alice-dops:main

Conversation

@alice-dops
Copy link
Copy Markdown

Before this fix, I couldn't add volumes and volumesMount because of bad nindent
with actual values, volumes and ninent get to one more tab than other volumes and volumeMounts

Before fix

Error

 Upgrade failed: YAML parse error on kubernetes-operator/templates/deployment.yaml: error converting YAML to JSON: yaml: line 91: did not find expected key

Values

operator:
  volumeMounts:
  - mountPath: "path"
    name:  "vol"
    readOnly: true
    subPath: "subpath"

  volumes:
  - name: "vol"
    configMap:
      defaultMode: 420
      name: "conf-name"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant