HI,
I have completed all tasks within the challenge except for one task i.e. apparmor profile not being applied to the alpha-xyz deployment. Here is my deployment yaml where have I gone wrong ?
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: alpha-xyz
name: alpha-xyz
namespace: alpha
annotations:
container.apparmor.security.beta.kubernetes.io/nginx: localhost/custom-nginx
spec:
replicas: 1
selector:
matchLabels:
app: alpha-xyz
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: alpha-xyz
spec:
containers:
- image: nginx:alpine
name: nginx
volumeMounts:
- mountPath: /usr/share/nginx/html
name: data-volume
volumes:
- name: data-volume
persistentVolumeClaim:
claimName: alpha-pvc
Here is the screenshot of my progress: