Mount an AWS Secrets Manager secret in an Amazon EKS pod

0

Hi

Has anyone had any luck following the AWS Tutorial for mounting AWS Secrets Manager Secrets in an Amazon EKS Pod

When I follow the instructions and sample yaml files, validating that roles and secrets are setup - I get the following error in the csi-secrets-store logs in the kube-system namespace

 secretproviderclasspodstatus_controller.go:263] "no secret objects defined for spc, nothing to reconcile" spc="default/nginx-deployment-aws-secrets" spcps="default/nginx-deployment-bfd6fdc6c-ls5pm-default-nginx-deployment-aws-secrets"

When I update the SecretProviderClass yaml to use secretObjects instead of objects - I get the following error

E1115 11:53:47.051196       1 nodeserver.go:242] "failed to mount secrets store object content" err="missing object versions" pod="default/nginx-deployment-bfd6fdc6c-fwqft"

Has anyone any recommendations on what I can do?

1개 답변
0

The error message seems to indicate that the version number of the secret has not been provided.

Without the configuration file it's not possible to tell but it's worthwhile reading the documentation about secret versions.

profile pictureAWS
전문가
답변함 6달 전
profile pictureAWS
전문가
검토됨 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠