eks-workshop-v2 icon indicating copy to clipboard operation
eks-workshop-v2 copied to clipboard

[Bug]: [Security] [Sealed Secrets] Catalog updated deployment lacks key reference in manifest

Open juliangovender opened this issue 2 years ago • 0 comments

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

juliangovender avatar Apr 06 '23 11:04 juliangovender