The task's setup.sh fails during bootstrap with:
The Deployment "bleater-minio" is invalid:
* spec.template.spec.containers[0].env[0].valueFrom: Invalid value: "": may not be specified when `value` is not empty
* spec.template.spec.containers[0].env[1].valueFrom: Invalid value: "": may not be specified when `value` is not empty
The nebula-devops base image contains a bleater-minio deployment with plain value env vars:
env:
- name: MINIO_ROOT_USER
value: "admin"
- name: MINIO_ROOT_PASSWORD
value: "password123"The setup.sh attempts to kubectl apply a new deployment spec with valueFrom.secretKeyRef:
env:
- name: MINIO_ROOT_USER
valueFrom:
secretKeyRef:
name: bleater-minio-secret
key: MINIO_ROOT_USERWhen Kubernetes merges these via kubectl apply, both value and valueFrom end up set on the same env var, which is invalid.
Delete the existing deployment before applying the new one. Add this before the kubectl apply heredoc (around line 203):
kubectl delete deployment bleater-minio -n bleater --ignore-not-foundAfter applying the patch:
apex-arena test-solution end-to-end-security-hardeningpasses with score 1.0- All 10 grader checks pass
9f1adfe9-cf70-4468-a6e7-9a634505f3b1 (version 15)