Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extraSecrets option to create additional Secrets #94

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Conversation

maboehm
Copy link
Collaborator

@maboehm maboehm commented Sep 12, 2024

Follow up to #93

Creating additional secrets allows users to safely pass confidential values to the deployment. When used in gardener, the ControllerDeployment would contain the literal secret values (which is ok, since they are protected/encrypted just like secrets).

So for example:

apiVersion: core.gardener.cloud/v1beta1
kind: ControllerDeployment
metadata:
  name: shoot-flux
type: helm
providerConfig:
  values:
    envFrom:
    - secretRef:
        name: super-secret
    extraSecrets:
    - name: super-secret
      stringData:
        foo: bar
    image:
      tag: latest

@maboehm maboehm merged commit c70baed into main Sep 12, 2024
2 checks passed
@maboehm maboehm deleted the add-extrasecret branch September 12, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants