-
Notifications
You must be signed in to change notification settings - Fork 264
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
License page and License verification #647
Conversation
- fixed issue when deploying tenant with tls disabled - applied new design for tenant details and license screens - added license refresh job to operator console - added new refresh license endpoint - console operator not longer store CONSOLE_ACCESS_KEY and CONSOLE_SECRET_KEY values in the tenant-console-secret
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The license refresh part looks good to me.
if err != nil { | ||
return nil, "", err | ||
} | ||
licenseInfo, rawLicense, err := ValidateLicense(client, license, "", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to validate the license received from Subnet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@krisis hi kp, this is used to parse the jwt token string into the license structure
continuing rebase# This is a combination of 2 commits. continuing rebase # This is a combination of 5 commits.tree 03d4bd0e2d374d903f129ab8fe42344cb8fb7dbb parent 934e8c9 author Adam Stafford <adamstafford@MacBook-Pro-van-Adam-2.local> 1616022296 -0700 committer Adam Stafford <adam@minio.io> 1616543805 -0700 squashing part 2 This is a combination of 6 commits. squashing all comits# This is a combination of 13 commits. api for listing policies attatched to a bucket Reverting go.mod and go.sum. removing admin.json getting rid of ./swagger Attempting to add blank line deleting commented code new menu adding ViewBucket.tsx Bug fix with screens Removing debug print statement Committing types.tsx api for listing policies attatched to a bucket (minio#660) api for listing policies attatched to a bucket Added versioning edit in console (minio#645) Bump react-dev-utils from 11.0.1 to 11.0.4 in /portal-ui (minio#644) Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 11.0.1 to 11.0.4. - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md) - [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-dev-utils) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com> Allow to assign multiple policies to to a user or group (minio#646) * Allow to assign multiple policies to to a user or group * Latest assets console license page improvements and fixes (minio#647) - fixed issue when deploying tenant with tls disabled - applied new design for tenant details and license screens - added license refresh job to operator console - added new refresh license endpoint - console operator not longer store CONSOLE_ACCESS_KEY and CONSOLE_SECRET_KEY values in the tenant-console-secret Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com> Interactive Feedback when list objects take a long time (minio#655) * Interactive Feedback when list objects take a long time * Remove cancel button Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Add Bucket Locking option and fix versioning configuration. (minio#661) * Add Bucket Locking option and fix versioning configuration. * Addres comments * Rework the View Bucket options * Remove extra padding Update ViewBucket.tsx Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Update ViewBucket.tsx Deleting unnecessary files update ldap development example (minio#664)
…5d49cb82c7a795d681469486d6961008d665fded parent e088431 author Adam Stafford <adamstafford@MacBook-Pro-van-Adam-2.local> 1616022296 -0700 committer Adam Stafford <adam@minio.io> 1616606382 -0700 Adding UI to Bucket Policy Adding UI for bucket policy Adding UI for Bucket Policy API api for listing policies attatched to a bucket (minio#660) api for listing policies attatched to a bucket Added versioning edit in console (minio#645) Bump react-dev-utils from 11.0.1 to 11.0.4 in /portal-ui (minio#644) Bumps [react-dev-utils](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-dev-utils) from 11.0.1 to 11.0.4. - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG-1.x.md) - [Commits](https://github.com/facebook/create-react-app/commits/HEAD/packages/react-dev-utils) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com> Allow to assign multiple policies to to a user or group (minio#646) * Allow to assign multiple policies to to a user or group * Latest assets console license page improvements and fixes (minio#647) - fixed issue when deploying tenant with tls disabled - applied new design for tenant details and license screens - added license refresh job to operator console - added new refresh license endpoint - console operator not longer store CONSOLE_ACCESS_KEY and CONSOLE_SECRET_KEY values in the tenant-console-secret Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com> Interactive Feedback when list objects take a long time (minio#655) * Interactive Feedback when list objects take a long time * Remove cancel button Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Add Bucket Locking option and fix versioning configuration. (minio#661) * Add Bucket Locking option and fix versioning configuration. * Addres comments * Rework the View Bucket options * Remove extra padding Update ViewBucket.tsx Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Update ViewBucket.tsx Deleting unnecessary files update ldap development example (minio#664) removing admin.json getting rid of ./swagger Attempting to add blank line deleting commented code new menu adding ViewBucket.tsx Bug fix with screens Removing debug print statement Committing types.tsx Update ViewBucket.tsx Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Update portal-ui/src/screens/Console/Buckets/ViewBucket/PolicySelectors.tsx Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com> Deleting unnecessary files
License Page
ref=op
to all<a></a>
elements in the License Pagesubnet subscription management
pagehttps://subnet.min.io/api/auth/subscription/license-key
based on the existing one, and the license will be updated on all Console tenants (investigate if we need to restart all this pods)License verification
CONSOLE_SUBNET_LICENSE
env variable is still valid against subnethttps://subnet.min.io/api/auth/subscription/license-key
endpointHow it looks (Operator screens)
How it looks (Console Admin screens)