Files
openstack-helm/values_overrides/nova/apparmor.yaml
Ritchie, Frank (fr801x) 062261562f Use security_context for apparmor
Starting with kubernetes 1.30 apparmor profiles are specified in the
security_context instead of annotations:

https://kubernetes.io/docs/tutorials/security/apparmor/

This PS:

1: updates apparmor value overrides to use security_context
2: removes apparmor annotations from top level values where found
3: removes non apparmor values from apparmor value overrides where found

End users can still use annotations by setting values appropriately.

Change-Id: I2c1a473e81d0904cbb1f96ee6ffb08b0d68e8651
2025-06-11 22:48:33 -04:00

53 lines
1.3 KiB
YAML

---
pod:
security_context:
nova:
container:
nova_compute:
appArmorProfile:
type: RuntimeDefault
nova_compute_init:
appArmorProfile:
type: RuntimeDefault
nova_compute_vnc_init:
appArmorProfile:
type: RuntimeDefault
nova_api:
appArmorProfile:
type: RuntimeDefault
nova_api_metadata_init:
appArmorProfile:
type: RuntimeDefault
nova_osapi:
appArmorProfile:
type: RuntimeDefault
nova_conductor:
appArmorProfile:
type: RuntimeDefault
nova_novncproxy:
appArmorProfile:
type: RuntimeDefault
nova_novncproxy_init_assets:
appArmorProfile:
type: RuntimeDefault
nova_novncproxy_init:
appArmorProfile:
type: RuntimeDefault
nova_scheduler:
appArmorProfile:
type: RuntimeDefault
nova_cell_setup:
container:
nova_cell_setup:
appArmorProfile:
type: RuntimeDefault
nova_cell_setup_init:
appArmorProfile:
type: RuntimeDefault
kubernetes_entrypoint:
container:
kubernetes_entrypoint:
appArmorProfile:
type: RuntimeDefault
...