Nagesh Jayaram:
In the Lightening test, for the secret question, I wrote the yaml file with command : [“sleep”,“4800”], and Pod is running meeting the mentioned spec, But still the Test is showing it as failure
apiVersion: v1
kind: Pod
metadata:
name: secret-1401
namespace: admin1401
spec:
containers:
- image: busybox
name: secret-admin
command: ["sleep" , "4800"]
volumeMounts:
- name: mysec
mountPath: /etc/secret-volume
readOnly: true
volumes:
- name: mysec
secret:
secretName: dotfile-secret