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

feat(operator): allow the use of existing secrets #57

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aresfkonrad
Copy link

What changes are being made and why?


Closes #55
This feature allows the use of external secrets for the Kestra operator

How the changes have been QAed?


Setup Instructions

To enable the feature, the standard kestra values.yaml can be used. The following changes have to be made:

# To enable Basic Auth / apiKey auth via plain text fields
operator:
  enabled: true
  apiKey: "somerandomapikey"
  basicAuth: "user:secretpassword"
# To enable Basic Auth / apiKey auth via existingSecrets
operator:
  enabled: true
  apiKeyExistingSecretName: "kestra-apikey"
  apiKeyExistingSecretKey: "apiKey"
  basicAuthExistingSecretName: "kestra-basicauth"
  basicAuthExistingSecretKey: "basicAuth"
extraManifests:
  - apiVersion: v1
    data:
      basicAuth: aGFsbG86cGFzc3dvcmQ=
    kind: Secret
    metadata:
      name: kestra-basicauth
      namespace: kestra
  - apiVersion: v1
    data:
      apiKey: c29tZXJhbmRvbWtleXM=
    kind: Secret
    metadata:
      name: kestra-apikey
      namespace: kestra

@aresfkonrad aresfkonrad marked this pull request as ready for review October 8, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

Allow the use of an existingSecrets for superadmin, license, operator basic auth etc
1 participant