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

Discover EKS: handle 'CONFIG_MAP' authentication mode gracefully #47960

Merged

Conversation

marcoandredinis
Copy link
Contributor

EKS Cluster Access Config's Authentication mode can be set to one of:

  • API
  • API_AND_CONFIG_MAP
  • CONFIG_MAP

Teleport requires either API or API_AND_CONFIG_MAP to install the helm chart.

This PR checks this value before trying to install the helm chart. This way the user is presented with a better error message.

@marcoandredinis marcoandredinis added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 labels Oct 25, 2024
@marcoandredinis marcoandredinis added the discover Issues related to Teleport Discover label Oct 25, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47960.d3pp5qlev8mo18.amplifyapp.com

@marcoandredinis marcoandredinis force-pushed the marco/discover_eksenrollcluster_handle_configmap_auth branch from 5d8f3df to 0d656ce Compare October 29, 2024 10:53
@marcoandredinis
Copy link
Contributor Author

@fspmarshall @mvbrock Can you please take a look when you get a chance?

@marcoandredinis marcoandredinis force-pushed the marco/discover_eksenrollcluster_handle_configmap_auth branch from 0d656ce to 1992185 Compare October 31, 2024 16:42
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from mvbrock November 1, 2024 14:00
EKS Cluster Access Config's Authentication mode can be set to one of:
- API
- API_AND_CONFIG_MAP
- CONFIG_MAP

Teleport requires either API or API_AND_CONFIG_MAP to install the helm
chart.

This PR checks this value before trying to install the helm chart.
This way the user is presented with a better error message.
@marcoandredinis marcoandredinis force-pushed the marco/discover_eksenrollcluster_handle_configmap_auth branch from 1992185 to b025b16 Compare November 1, 2024 14:28
@marcoandredinis marcoandredinis added this pull request to the merge queue Nov 1, 2024
Merged via the queue into master with commit 2be4c39 Nov 1, 2024
40 checks passed
@marcoandredinis marcoandredinis deleted the marco/discover_eksenrollcluster_handle_configmap_auth branch November 1, 2024 15:03
@public-teleport-github-review-bot

@marcoandredinis See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v15 backport/branch/v16 backport/branch/v17 discover Issues related to Teleport Discover no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants