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 agent tls mode to global settings #11287

Merged
merged 3 commits into from
Jun 28, 2024
Merged

Conversation

jordojordo
Copy link
Member

@jordojordo jordojordo commented Jun 21, 2024

Summary

Fixes #11138

Occurred changes and/or fixed issues

This will add the agent-tls-mode setting to the Global Settings page, as well as a new optional property warning on the GlobalSettings interface that will display a warning banner when editing the setting.

Technical notes summary

The setting is an enum with two values: strict and system-store

To add a warning to the setting, the advancedSettings.warnings translation will require a property named after the setting, in this case agent-tls-mode.

Areas or cases that should be tested

Testing the setting works with both values, ensure the warning banner shows.

Areas which could experience regressions

N/A

Screenshot/Video

1

2

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@jordojordo jordojordo self-assigned this Jun 21, 2024
@jordojordo jordojordo added this to the v2.9.0 milestone Jun 21, 2024
@jordojordo jordojordo requested a review from richard-cox June 21, 2024 17:35
Copy link
Member

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

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

One suggested change for description, otherwise everything else looks good

shell/assets/translations/en-us.yaml Outdated Show resolved Hide resolved
@jordojordo jordojordo requested a review from richard-cox June 25, 2024 14:05
richard-cox
richard-cox previously approved these changes Jun 25, 2024
@nwmac
Copy link
Member

nwmac commented Jun 27, 2024

@jordojordo This looks like it was approved but then commits pushed - don't know if that was to get a fix for e2e tests?

It looks like the automated test that was added is failing.

@nwmac
Copy link
Member

nwmac commented Jun 28, 2024

@jordojordo I fixed the e2e tests and rebased and bumped this PR - I think this is ready to be merged.

@nwmac nwmac merged commit 6aeadc3 into rancher:master Jun 28, 2024
26 checks passed
@jordojordo jordojordo deleted the cert-setting branch June 28, 2024 11:53
jordojordo added a commit to jordojordo/dashboard that referenced this pull request Aug 7, 2024
* Add agent tls mode to global settings

* Update shell/assets/translations/en-us.yaml

Co-authored-by: Richard Cox <[email protected]>

* Move agent test to avoid issues with _ and local for cluster name based on previous test

---------

Co-authored-by: Richard Cox <[email protected]>
Co-authored-by: Neil MacDougall <[email protected]>
rak-phillip added a commit that referenced this pull request Aug 8, 2024
[Backport] Add agent tls mode to global settings (#11287)
nwmac added a commit to nwmac/dashboard that referenced this pull request Oct 24, 2024
* Add agent tls mode to global settings

* Update shell/assets/translations/en-us.yaml

Co-authored-by: Richard Cox <[email protected]>

* Move agent test to avoid issues with _ and local for cluster name based on previous test

---------

Co-authored-by: Richard Cox <[email protected]>
Co-authored-by: Neil MacDougall <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new cert setting to Settings page, with appropriate warning
3 participants