Install AppArmor with a cluster management project

Introduced in GitLab 14.0.

Assuming you already have a Cluster management project created from a management project template, to install AppArmor you should uncomment this line from your helmfile.yaml:

  - path: applications/apparmor/helmfile.yaml

You can define one or more AppArmor profiles by adding them into applications/apparmor/values.yaml as the following:

profiles:
  profile-one: |-
    profile profile-one {
      file,
    }

Refer to the AppArmor chart for more information on this chart.