cdk8s-team/cdk8s-plus

Imported resources cannot be granted permissions on

iliapolo opened this issue · 0 comments

It should be possible to do the following:

const role = new kplus.Role(this, 'Role');

// configure rules on an imported config map
const cm = kplus.ConfigMap.fromConfigMapName(this, 'ConfigMap', 'config-map-name');
role.allowGet(cm);