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

[kots]: remove the "require min RBAC" boolean #13308

Merged
merged 1 commit into from
Sep 26, 2022
Merged

[kots]: remove the "require min RBAC" boolean #13308

merged 1 commit into from
Sep 26, 2022

Conversation

mrsimonemms
Copy link
Contributor

@mrsimonemms mrsimonemms commented Sep 26, 2022

Description

This prevents the preflight checks from being run in some environments (eg, EKS) as there are elevated privileges required to interrogate nodes etc.

There was a misunderstanding from the KOTS docs made in #13168 which I thought created the kotsadm service account. This service account appears to always be created, but this boolean limits it's capabilities (in retrospect, that's obvious. But it wasn't at the time - we caught it before it was released to the public anyway).

How to test

Deploy via KOTS on AWS. Preflight checks should run - previously, they were not running due to lack of cluster role permissions. With this fix, they should run.

Release Notes

[kots]: remove the "require min RBAC" boolean

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

This prevents the preflight checks from being run in some environments
(eg, EKS) as there are elevated privileges required to interrogate
nodes etc
Copy link
Contributor

@nandajavarma nandajavarma left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!!

@mrsimonemms mrsimonemms marked this pull request as draft September 26, 2022 12:09
@mrsimonemms mrsimonemms marked this pull request as ready for review September 26, 2022 12:09
@mrsimonemms
Copy link
Contributor Author

/hold

@mrsimonemms
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit a8ab9fb into main Sep 26, 2022
@roboquat roboquat deleted the sje/kots-rbac branch September 26, 2022 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note size/XS team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants