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
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
---
|
|
pod:
|
|
security_context:
|
|
dashboard:
|
|
container:
|
|
grafana:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
db_init:
|
|
container:
|
|
grafana_db_init_session:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
grafana_db_init:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
db_session_sync:
|
|
container:
|
|
grafana_db_session_sync:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
set_admin_user:
|
|
container:
|
|
grafana_set_admin_password:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
run_migrator:
|
|
container:
|
|
grafana_run_migrator:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
prepare_grafana_migrator:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
test:
|
|
container:
|
|
helm_tests:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
kubernetes_entrypoint:
|
|
container:
|
|
kubernetes_entrypoint:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
...
|