'error converting YAML to JSON: yaml: line 5: did not find expected key
I keep getting error and this is my code below
apiVersion: "aadpodidentity.k8s.io/v1"
kind: AzureIdentity
metadata:
name: {{.Values.managedIdentity.name }}
spec:
type: "0"
resourceID: "{{ .Values.managedIdentity.resourceId }}"
clientID: "{{ .Values.managedIdentity.clientId }}"
Solution 1:[1]
apiVersion cannot have both the value "aadpodidentity.k8s.io/v1" and nested values (kind, metadata etc). You can either give a single value or nested values.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | flyx |
