Problem:
When using create api command with both helm and go plugin, the roles.yaml in config/ directory is rewritten. However, the other rbac manifests which specify the permissions to view and edit the custom object is present. This requires an additional step of modifying the rbac manually and applying it to the cluster.
Possible solution:
Scaffold roles for each APIs in separate files and apply them in the cluster.
Problem:
When using
create apicommand with both helm and go plugin, theroles.yamlinconfig/directory is rewritten. However, the other rbac manifests which specify the permissions to view and edit the custom object is present. This requires an additional step of modifying the rbac manually and applying it to the cluster.Possible solution:
Scaffold roles for each APIs in separate files and apply them in the cluster.