antonputra/tutorials

Error in implementing the AWS EKS & Secrets Manager

ramandeep6785 opened this issue · 2 comments

I am trying to use this url for implementation

https://github.com/antonputra/tutorials/tree/main/lessons/079

if we use the secret from secret manager from AWS as env variable we need to implement the CRD secretproviderclasses.secrets-store.csi instead of using Helm chart.

i facing some issue

ubuntu@****:~/antonputra/079/secrets-store-csi-driver$ kubectl apply -f 1-secretproviderclasspodstatuses-crd.yaml
The CustomResourceDefinition "secretproviderclasspodstatuses.secrets-store.csi.x-k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1": must appear in spec.versions

It's outdated, I'll need to update the video. Meanwhile you can use CRDs from the source - https://github.com/kubernetes-sigs/secrets-store-csi-driver/blob/main/config/crd/bases/secrets-store.csi.x-k8s.io_secretproviderclasspodstatuses.yaml
It uses "v1" version.

I'll make an updated tutorial soon.