DocsHow toCreate a group

How to create GitLab group using Frigg

This guide shows you how to create a group with name Test sub-group inside of an already present group named Test group

  1. Create a new branch with a name like create-test-sub-group-in-test-group
  2. Navigate to the directory of the repository in which the Test group resource is defined
  3. Create a new .yaml file in this directory
  4. Add a new Frigg group resource in this file. For example:
version: '2'
kind: GitlabGroup
metadata:
    name: test-sub-group
    configDefaults: GitlabDefaults
spec:
    name: Test sub-group
    groupNamespace: test-group
    config:
        shareWithGroupLock: true
        requireTwoFactorAuthentication: false
        projectCreationLevel: developer
        subgroupCreationLevel: maintainer
    members: []
    sharedWithGroups: []

ℹ️ For more information about the group resource, please take a look at the GitLabGroup resource


  1. Create a merge request with the new group resource
  2. Wait for the dry run to finish and check if the changelist contains the expected changes

  1. After making sure the changes are correct, have someone check and approve your merge request and start the deployment by clicking on the play button of the deploy job

  1. When the deploy job has finished successfully, the merge request will automatically be merged.