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
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
---
|
|
pod:
|
|
security_context:
|
|
master:
|
|
container:
|
|
elasticsearch_master:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
elasticsearch_perms:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
memory_map_increase:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
data:
|
|
container:
|
|
elasticsearch_data:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
elasticsearch_perms:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
memory_map_increase:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
client:
|
|
container:
|
|
elasticsearch_client:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
memory_map_increase:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
apache_proxy:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
exporter:
|
|
container:
|
|
elasticsearch_exporter:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
test:
|
|
container:
|
|
helm_tests:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
create_template:
|
|
container:
|
|
create_elasticsearch_template:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
verify_repositories:
|
|
container:
|
|
elasticsearch_verify_repositories:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
kubernetes_entrypoint:
|
|
container:
|
|
kubernetes_entrypoint:
|
|
appArmorProfile:
|
|
type: RuntimeDefault
|
|
...
|