Portworx Documentation has moved to https://docs.portworx.com
Portworx Enterprise version 2.13 has reached end of life and end of extended maintenance. Refer to the release support policy doc here.
Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
Application setup with bucket access
This page describes how to use a PXBucketAccess object with your application. Note that the following steps are the same for both Pure Flashblade and AWS S3 buckets.
In your application’s
deployment.yaml
file, add all of the environment variables for your buckets as Kubernetes deployment secret references. For example:env: - name: S3_ACCESS_KEY valueFrom: secretKeyRef: name: px-os-credentials-s3-pba key: access-key-id - name: S3_SECRET_KEY valueFrom: secretKeyRef: name: px-os-credentials-s3-pba key: secret-access-key - name: S3_BUCKET_NAME valueFrom: secretKeyRef: name: px-os-credentials-s3-pba key: bucket-id - name: S3_ENDPOINT valueFrom: secretKeyRef: name: px-os-credentials-s3-pba key: endpoint - name: S3_REGION valueFrom: secretKeyRef: name: px-os-credentials-s3-pba key: region
Apply the updates to your
deployment.yaml
:kubectl apply -f deployment.yaml
Related topics
Last edited: Monday, Jun 26, 2023
Questions? Visit the Portworx forum.