Juste Guipi:
@Mumshad Mannambeth On the 3rd mock exam the question #7 always fail due to the implicit deny policy. Even by following the guise and solution it failed. You might want to fix this one
Mohamed Ayman:
It seems that you had not change this line in the YAML file for admission config
defaultAllow: false
Please use this YAML file
apiVersion: http://apiserver.config.k8s.io/v1|apiserver.config.k8s.io/v1
kind: AdmissionConfiguration
plugins:
- name: ImagePolicyWebhook
configuration:
imagePolicy:
kubeConfigFile: /etc/kubernetes/pki/admission_kube_config.yaml
allowTTL: 50
denyTTL: 50
retryBackoff: 500
defaultAllow: false