Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jharrington22/fc978a5d1511c20bd3ff42f6b1d3eeb5 to your computer and use it in GitHub Desktop.
Save jharrington22/fc978a5d1511c20bd3ff42f6b1d3eeb5 to your computer and use it in GitHub Desktop.
Managed Velero CredentialRequest
apiVersion: cloudcredential.openshift.io/v1
kind: CredentialsRequest
metadata:
name: managed-velero-operator-iam-credentials-aws
namespace: openshift-velero
spec:
secretRef:
name: managed-velero-operator-iam-credentials
namespace: openshift-velero
providerSpec:
apiVersion: cloudcredential.openshift.io/v1
kind: AWSProviderSpec
statementEntries:
- effect: Allow
action:
- s3:CreateBucket
- s3:DeleteObjectTagging
- s3:GetBucketLocation
- s3:GetBucketTagging
- s3:ListAllMyBuckets
- s3:ListBucket
- s3:PutBucketAcl
- s3:PutBucketPublicAccessBlock
- s3:PutBucketTagging
- s3:PutEncryptionConfiguration
- s3:PutLifecycleConfiguration
resource: "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment