Imported resources cannot be granted permissions on
iliapolo opened this issue · 0 comments
iliapolo commented
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);