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

feat:license deploy #4002

Merged
merged 1 commit into from Sep 27, 2023
Merged

feat:license deploy #4002

merged 1 commit into from Sep 27, 2023

Conversation

zjy365
Copy link
Contributor

@zjy365 zjy365 commented Sep 27, 2023

🤖 Generated by Copilot at ae3535e

Summary

🌐🔐🛒

This pull request migrates the license frontend service to its own namespace license-frontend and updates the image source, environment variables, API response, and ingress configuration. These changes improve the security, performance, and user experience of the service.

license-frontend
migrates to own namespace
a spring cleaning

Walkthrough

  • Migrate the license frontend service to its own namespace license-frontend for better isolation and security (link, link, link, link, link)
  • Add new environment variables licensePuchaseDomain, MONGODB_URI, and PASSWORD_SALT to the Kubefile to configure the license frontend service (link)
  • Create a secret for the license frontend service in the license-frontend namespace to store the mongodb_uri and password_salt values from the Kubefile (link)
  • Change the image of the license frontend container to use the GitHub container registry for better access and security (link)
  • Add a new environment variable LICENSE_DOMAIN to the license frontend container and the Response type in the getEnv.ts file to specify the domain for purchasing the license (link, link, link)
  • Use the LICENSE_DOMAIN value instead of the domain value to construct the purchase link for the user in the index.tsx file (link)
  • Remove the optional chaining operator from the data.hid expression in the index.tsx file to simplify the code (link)
  • Fix a typo in the indentation of the selector field of the license frontend service in the deploy.yaml.tmpl file (link)

Signed-off-by: jingyang <3161362058@qq.com>
@sealos-ci-robot
Copy link
Member

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 973
✅ Successful 400
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 572
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@c121914yu c121914yu merged commit bff3b03 into labring:main Sep 27, 2023
28 of 29 checks passed
bxy4543 pushed a commit to bxy4543/sealos that referenced this pull request Oct 13, 2023
Signed-off-by: jingyang <3161362058@qq.com>
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.

None yet

3 participants