Environment Creation Issues
Problem​
Failed to create an environment due to the following error:

Cause​
KubeRocketCI offers several approaches for namespace management: namespaces can be created by users, by KubeRocketCI itself, or by Argo CD. If you expect KubeRocketCI to handle namespace creation, ensure that the cd-pipeline-operator, a component of KubeRocketCI, has the necessary permissions. This permission is managed by the manageNamespace parameter of the values.yaml file.
If the manageNamespace parameter is set to false, it means the KubeRocketCI does not have permission to create namespaces and the procedure of creating namespaces in your project is delegated to a concrete person.
Solution​
Make sure the manageNamespace parameter is intentionally set to false. If not, define proper flow for namespace management. Read the Namespace Management page for more details.
If the parameter was intentionally set to false, the solution would be to clarify with your management who is allowed to manage namespaces in your project and request a namespace creation:
If you are allowed to create namespaces, create it manually:
-
Open the terminal. Ensure you have access to the cluster from your kubeconfig.
-
Create a namespace using the
kubectl create namespacecommand:
kubectl create namespace <ns>
Usually, the required namespace is shown on the Overview tab of the Environment:
