We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trident: 21.10.0
Using:
tridentctl install --generate-custom-yaml
Results in a duplicate declaration of type: array in tridentmirrorrelationships.trident.netapp.io CRD:
type: array
tridentmirrorrelationships.trident.netapp.io
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: tridentmirrorrelationships.trident.netapp.io spec: group: trident.netapp.io versions: - name: v1 served: true storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: state: type: string enum: - "" - promoted - established - reestablished volumeMappings: type: array items: type: object properties: latestSnapshotHandle: type: string localPVCName: type: string remoteVolumeHandle: type: string required: - localPVCName minItems: 1 maxItems: 1 type: array ...
This is a problem if you use Kustomize (https://kustomize.io/):
$ kustomize build cluster/ Error: map[string]interface {}(nil): yaml: unmarshal errors: line 40: mapping key "type" already defined at line 26
Apparently duplicate keys aren't valid per yaml 1.2 spec: kubernetes-sigs/kustomize#4096 (comment)
The text was updated successfully, but these errors were encountered:
Remove dup key declaration
76c610e
NetApp/trident#671
This issue was fixed with commit a357c9e which will be included in the 22.04 release.
Sorry, something went wrong.
No branches or pull requests
Trident: 21.10.0
Using:
Results in a duplicate declaration of
type: array
intridentmirrorrelationships.trident.netapp.io
CRD:This is a problem if you use Kustomize (https://kustomize.io/):
Apparently duplicate keys aren't valid per yaml 1.2 spec: kubernetes-sigs/kustomize#4096 (comment)
The text was updated successfully, but these errors were encountered: