Skip to content

Setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in s3 configuration #21386

@NikhithaChinthapalli

Description

@NikhithaChinthapalli
loki:
  storage:
    type: s3
    bucketNames:
      chunks: loki-chunks
      ruler: loki-ruler
      admin: loki-admin
    s3:
      endpoint: rook-ceph-rgw-righive.rook-ceph.svc.cluster.local:80
      accessKeyId: ${AWS_ACCESS_KEY_ID}
      secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
      s3ForcePathStyle: true
      insecure: true

I created 3 Ceph buckets loki-admin, loki-chunks, loki-ruler. Once the objectbcketclaim creates three buckets I have three kubernetes secrets having access key and access id (each corresponding to that bucket) creates in loki namespace. Now I'm confused which of these bucket credentials needs to set as AWS_SECRET_ACCESS_KEY and AWS_SECRET_ACCESS_KEY

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions