Skip to content
Discussion options

You must be logged in to vote

Okay. Finaly found a solution. For anyone with the same issues

extraSecrets:
    ceph-s3-creds:
      stringData: |-
        AWS_ACCESS_KEY_ID: "{{ s3_access_key }}"
        AWS_SECRET_ACCESS_KEY: "{{ s3_access_secret }}"
        AWS_ENDPOINT_URL: "{{ s3_endpoint_url }}"

  extraEnv: |-
    - name: AWS_ACCESS_KEY_ID
      valueFrom:
        secretKeyRef:
          name: ceph-s3-creds
          key: AWS_ACCESS_KEY_ID
    - name: AWS_SECRET_ACCESS_KEY
      valueFrom:
        secretKeyRef:
          name: ceph-s3-creds
          key: AWS_SECRET_ACCESS_KEY
    - name: AWS_ENDPOINT_URL
      valueFrom:
        secretKeyRef:
          name: ceph-s3-creds
          key: AWS_ENDPOINT_URL

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@revolman
Comment options

@mvngne
Comment options

@revolman
Comment options

@mvngne
Comment options

@revolman
Comment options

Answer selected by mvngne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants