kyma-runtime-extension-samples
kyma-runtime-extension-samples copied to clipboard
apparmor profile annotation depreacated - on-premise-docker-registry
Description
The deployment file for the connectivity proxy in the on-premise-docker-registry example contains a deprecated annotation.
Expected result
$make deploy-nginx-reverse-proxy
kubectl -n cloud-connector-proxy apply -f k8s/
configmap/nginx-conf unchanged
deployment.apps/nginx created
service/nginx configured
peerauthentication.security.istio.io/nginx created
Actual result
$ make deploy-nginx-reverse-proxy
kubectl -n cloud-connector-proxy apply -f k8s/
configmap/nginx-conf created
Warning: spec.template.metadata.annotations[container.apparmor.security.beta.kubernetes.io/nginx]: deprecated since v1.30; use the "appArmorProfile" field instead
deployment.apps/nginx created
service/nginx created
peerauthentication.security.istio.io/nginx created
Steps to reproduce
Deploy example on a Kyma Cluster with k8s version higher than v.1.30
Troubleshooting
Provided PR.