-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
False
-
-
False
-
No
After running in dev sandbox I have failures like these:
```
$ cat failures/rhn-engineering-jmontleo-dev/backups.yaml
APIResource:
kind: Backup
name: backups
namespaced: true
singularName: backup
storageVersionHash: eSTCs+S6z7U=
verbs:
- delete
- deletecollection
- get
- list
- patch
- create
- update
- watch
error:
ErrStatus:
apiVersion: v1
code: 403
details:
group: velero.io
kind: backups
kind: Status
message: 'backups.velero.io is forbidden: User "rhn-engineering-jmontleo" cannot
list resource "backups" in API group "velero.io" in the namespace "rhn-engineering-jmontleo-dev"'
metadata: {}
reason: Forbidden
status: Failure
```
I would not consider these unexpected.
But then transform fails trying to transform them...
```
+ /usr/bin/crane transform --ignored-patches-dir= --flags-file= --export-dir=/var/crane/export --transform-dir=/var/crane/transform
Error: Object 'Kind' is missing in '{"APIResource":
,"error":{"ErrStatus":{"apiVersion":"v1","code":403,"details":
{"group":"velero.io","kind":"backups"},"kind":"Status","message":"backups.velero.io is forbidden: User \"rhn-engineering-jmontleo\" cannot list resource \"backups\" in API group \"velero.io\" in the namespace \"rhn-engineering-jmontleo-dev\"","metadata":{},"reason":"Forbidden","status":"Failure"}}}'
Usage:
crane transform [flags]
crane transform [command]
```
- links to