Skip to content

Option to project secrets as files #140

@bryopsida

Description

@bryopsida

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Several security benchmarking tools look for patterns like this.

            - name: "ADMINHASH"
              valueFrom:
                secretKeyRef:
                  name: somename
                  key: adminHash

And mark a finding due to policies such as:

Describe the solution you'd like
A clear and concise description of what you want to happen.

It would be nice if there was an option/toggle such as.

secretsAsFiles: true

That when enabled removed all usage such as

            - name: "ADMINHASH"
              valueFrom:
                secretKeyRef:
                  name: somename
                  key: adminHash

This would be off/disabled by default to preserve existing behavior and allow users to opt in if they want it.

I'm willing to take on the PR to do this but may need some guidance on the preferred way to wire in the values as files.

From looking at the manifests the following properties would need to be provided through files.

  • COUCHDB_ERLANG_COOKIE
  • COUCHDB_SECRET
  • COUCHDB_PASSWORD
  • COUCHDB_USER
  • ADMINUSERNAME
  • ADMINHASH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions