Giant Swarm offers a security-profiles-operator App which can be installed in workload clusters. Here, we define the security-profiles-operator chart with its templates and default configuration.
The Security Profiles Operator (SPO) is a Kubernetes controller that lets you manage Linux security profiles (Seccomp, AppArmor, and SELinux) as native Kubernetes custom resources. Instead of configuring nodes manually or baking profiles into images, you declare a SeccompProfile, AppArmorProfile, or SELinuxProfile and the operator distributes and enforces it across your cluster. This chart currently focuses on SELinux support.
There are several ways to install this app onto a workload cluster.
- Using GitOps to instantiate the App
- By creating an App resource using the platform API as explained in Getting started with App Platform.
This is an example of a values file you could upload using our web interface.
# values.yaml
kyvernoPolicyExceptions:
enabled: true
security-profiles-operator:
selinux:
enable: trueIf you have access to the Kubernetes API on the management cluster, you could create the App CR and ConfigMap directly.
See our full reference on how to configure apps for more details.
- SELinux
ProfileRecordingrequiresauditdto be running and logging AVC denials on the node. Without it, the operator cannot capture the access events needed to generate a profile.