Skip to content

Simplify configuration of S3 credentials #753

@dervoeti

Description

@dervoeti

It's currently mandatory to use a SecretClass, which might make sense in some cases, but for many cases it's an unnecessary hoop users have to jump through. They have to create a dummy SecretClass just to point it to the Secret. We should at least provide the option to simply use a Secret instead.

Current state:

spec:
  credentials:
    secretClass: s3-credentials-class # mandatory
    scope: {} # optional

Idea from @sbernauer :

spec:
  credentials:
    secret:
      name: my-secret # mandatory
      accessKeyKey: accessKey # defaults to accessKey
      secretKeyKey: secretKey # defaults to secretKey
    # OR
    secretClass:
      name: s3-credentials-class # mandatory
      scope: {} # optional

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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