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

AO-58 Add support for agent token in the helm chart #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gamingrobot
Copy link
Contributor

@gamingrobot gamingrobot commented Jan 24, 2025

  • Adds new existingTokenSecret
  • Adds new tokenValue
  • Supports legacy auth values

@gamingrobot gamingrobot force-pushed the AO-58-helm-token-supprt branch from 91520be to a4e1de3 Compare January 24, 2025 21:46
@gamingrobot gamingrobot marked this pull request as ready for review January 24, 2025 21:51
@gamingrobot gamingrobot requested a review from a team as a code owner January 24, 2025 21:51
stringData:
token: >-
{{ required "The key clusterDefaults.tokenValue must be set if clusterDefaults.enabled is true and clusterDefaults.existingTokenSecret is not set" .Values.clusterDefaults.tokenValue }}
{{else if not .Values.clusterDefaults.existingSecret }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check that .Values.clusterDefaults.existingTokenSecret is unset here too.
Currently if you specify an existingTokenSecret only, this section is still reached, and then apiKeyValue is required.

@gamingrobot gamingrobot force-pushed the AO-58-helm-token-supprt branch from a4e1de3 to 4cbd46d Compare February 6, 2025 22:06
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