#Trident Protect: failing on creating an application CR

1 messages · Page 1 of 1 (latest)

void sierra
#

Following the docs to get Trident Protect setup

Trying to create an application CR

cat app.yaml

apiVersion: protect.trident.netapp.io/v1
kind: Application
metadata:
name: test-app
namespace: test-app
spec:
includedNamespaces:
labelSelector: {}
namespace: test-app

oc apply -f app.yaml

The Application "test-app" is invalid:

  • spec.includedNamespaces: Invalid value: "object": spec.includedNamespaces in body must be of type array: "object"
  • <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation

Any ideas ?