[k8s] Can't create Projects with low-permissioned users #42116
Labels
affects_2.6
This issue/PR affects Ansible v2.6
bug
This issue/PR relates to a bug.
k8s
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
Users can create projects using the
oc new-project
command, which creates aProjectRequest
object. The old Ansible module (openshift_raw
) would automatically translate Project creation into ProjectRequest creation.Even if you specify the ProjectRequest instead of Project kind, the request will still fail because the
get
will 403 (the user is not allowed to get a specific ProjectRequest).ISSUE TYPE
COMPONENT NAME
k8s
ANSIBLE VERSION
`##### CONFIGURATION
OS / ENVIRONMENT
`
fedora 27
OpenShift 3.10
STEPS TO REPRODUCE
EXPECTED RESULTS
Project creation success
ACTUAL RESULTS
403 failure
The text was updated successfully, but these errors were encountered: