generated from cloudnative-pg/cnpg-template
-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
When moving from the native backup to the new plugin style, there's an issue with authentication to AWS.
I've followed the configuration of including the correct role in
serviceAccountTemplate:
metadata:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxx:role/role
as well as the inheritFromIAMROle
spec:
retentionPolicy: "30d"
configuration:
destinationPath: s3://mybucketxxxx/key1/key2/
s3Credentials:
inheritFromIAMRole: true
wal:
compression: bzip2
However we keep getting errors like the following in the plugin sidecar
WARNING: Refreshing temporary credentials failed during mandatory refresh period.
ERROR: Barman cloud WAL archive check exception: An error occurred (InvalidIdentityToken) when calling the AssumeRoleWithWebIdentity operation: No OpenIDConnect provider found in your account for https://oidc.eks.us-gov-west-1.amazonaws.com/id/xxxxxxxxxxxx
This works with the native backup with the same role, to the same bucket.
Metadata
Metadata
Assignees
Labels
No labels