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

update docs for noAuth annotation #11221

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Conversation

aalves08
Copy link
Member

Summary

Fixes #

Occurred changes and/or fixed issues

  • update docs for noAuth annotation

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

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

@aalves08 aalves08 added this to the v2.9.0 milestone Jun 13, 2024
@aalves08 aalves08 requested a review from nwmac June 13, 2024 09:21
@aalves08 aalves08 self-assigned this Jun 13, 2024
@@ -89,7 +90,8 @@ ___`./pkg/my-package/package.json`___
"catalog.cattle.io/rancher-version": ">= 2.7.7-0 < 2.9.0-0",
"catalog.cattle.io/ui-extensions-version": ">= 1.1.0",
"catalog.cattle.io/ui-version": ">= 2.7.7-0 < 2.9.0-0",
"catalog.cattle.io/display-name": "My Super Great Extension"
"catalog.cattle.io/display-name": "My Super Great Extension",
"noAuth": "true"
Copy link
Member

Choose a reason for hiding this comment

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

noAuth is at the same level as annotations - it is not an annotation itself since it wires in differently - the value is a boolean, not a string

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch.... I didn't notice that. NO_AUTH=$(jq -r '.rancher.noAuth' < ${PACKAGE_JSON}). You're right

@aalves08
Copy link
Member Author

@nwmac up for review again:
Screenshot 2024-06-13 at 10 31 13

@aalves08 aalves08 requested a review from nwmac June 13, 2024 09:31
@@ -90,7 +95,8 @@ ___`./pkg/my-package/package.json`___
"catalog.cattle.io/ui-extensions-version": ">= 1.1.0",
"catalog.cattle.io/ui-version": ">= 2.7.7-0 < 2.9.0-0",
"catalog.cattle.io/display-name": "My Super Great Extension"
}
},
"noAuth": "true"
Copy link
Member

Choose a reason for hiding this comment

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

Its just a boolean, not a string - "noAuth": true

@aalves08 aalves08 requested a review from nwmac June 16, 2024 11:06
@aalves08 aalves08 merged commit 7c8dcf9 into rancher:master Jun 17, 2024
26 checks passed
nwmac pushed a commit to nwmac/dashboard that referenced this pull request Oct 24, 2024
* update docs

* update docs

* address pr comments
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