Skip to main content
Version: 3.1

application-setup

  1. 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