mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[PR #227] [MERGED] feat: cloud load balance pre-works #879
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#879
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/certimate-go/certimate/pull/227
Author: @fudiwei
Created: 10/20/2024
Status: ✅ Merged
Merged: 10/22/2024
Merged by: @usual2970
Base:
main← Head:feat/cloud-load-balance📝 Commits (10+)
88e6471feat: support using scm service on deployment to huaweicloud cdn896b5d3Merge branch 'main' into feat/cloud-load-balance8d41a9aMerge branch 'main' into feat/cloud-load-balancef0e7fe6clean code3a213dcfeat: do not use region from access when deploy to huaweicloud cdn560d21crefactor: optimize codef6a3f4erefactor: optimize codefc55e37chore: git keep /ui/distf168bd9feat: add huaweicloud elb uploadera4fc8dffeat: add tencentcloud ssl uploader📊 Changes
63 files changed (+3582 additions, -2550 deletions)
View changed files
📝
.gitignore(+3 -1)📝
README.md(+2 -2)📝
README_EN.md(+3 -4)📝
go.mod(+5 -4)📝
go.sum(+29 -4)📝
internal/applicant/huaweicloud.go(+6 -1)📝
internal/deployer/huaweicloud_cdn.go(+87 -31)📝
internal/domain/domains.go(+70 -7)➕
internal/pkg/core/uploader/uploader.go(+27 -0)➕
internal/pkg/core/uploader/uploader_aliyun_cas.go(+164 -0)➕
internal/pkg/core/uploader/uploader_huaweicloud_elb.go(+159 -0)➕
internal/pkg/core/uploader/uploader_huaweicloud_scm.go(+167 -0)➕
internal/pkg/core/uploader/uploader_tencentcloud_ssl.go(+91 -0)➕
internal/pkg/utils/cast/cast.go(+25 -0)➕
internal/pkg/utils/x509/x509.go(+48 -0)➕
ui/dist/.gitkeep(+1 -0)📝
ui/public/imgs/providers/httpreq.svg(+2 -28)📝
ui/public/imgs/providers/pdns.svg(+1 -1)📝
ui/src/components/certimate/AccessAliyunForm.tsx(+95 -97)📝
ui/src/components/certimate/AccessAwsForm.tsx(+125 -127)...and 43 more files
📄 Description
此 PR 包含以下内容变更:
/ui/src/components/certimate/DeployList.tsx组件,便于后续扩展业务逻辑。【备注】
关于 Uploader
很多云厂商的在部署到负载均衡等服务时,其提供的接口不支持直接传入证书 PEM 内容,而是需要先通过其提供的证书管理服务上传自定义证书、取得一个证书 ID,并在后续部署流程时使用该证书 ID。
虽然目前也可以在 Deployer 中实现此部分逻辑,但对于在将同一张证书同时部署到同一厂商的多个服务的场景下,可能存在将相同证书反复上传多次的问题。
为解决该问题、也为了简化 Deployer 中关于“上传证书”这部分的逻辑,因此单独抽象出了 Uploader 这一业务逻辑。该部分逻辑的相关代码辑位于
/internal/pkg/core/uploader/目录下。🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.