eks-workshop-v2
                                
                                 eks-workshop-v2 copied to clipboard
                                
                                    eks-workshop-v2 copied to clipboard
                            
                            
                            
                        [Bug]: [Security] [Sealed Secrets] Catalog updated deployment lacks key reference in manifest
Installation method
Own AWS account
What happened?
In the workshop, the manifest file /workspace/modules/security/sealed-secrets/deployment.yaml does not contain the 'key' within the 'secretKeyRef' block, which causes the update to fail with error:
error: error validating ".": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].env[0].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector, ValidationError(Deployment.spec.template.spec.containers[0].env[3].valueFrom.secretKeyRef): missing required field "key" in io.k8s.api.core.v1.SecretKeySelector]; if you choose to ignore these errors, turn validation off with --validate=false
What did you expect to happen?
For the catalog deployment update to work.
How can we reproduce it?
Just deploy the kustomise update using:
kubectl apply -k /workspace/modules/security/sealed-secrets
Anything else we need to know?
No response
EKS version
1.23