feat(core): standardized sealos cloud core component deployment#6722
Merged
cuisongliu merged 2 commits intolabring:mainfrom Apr 2, 2026
Merged
feat(core): standardized sealos cloud core component deployment#6722cuisongliu merged 2 commits intolabring:mainfrom
cuisongliu merged 2 commits intolabring:mainfrom
Conversation
Whoa! Easy there, Partner!This PR is too big. Please break it up into smaller PRs. |
lingdie
approved these changes
Feb 27, 2026
577ff15 to
f0eb54c
Compare
cuisongliu
approved these changes
Feb 27, 2026
f0eb54c to
78ce130
Compare
cuisongliu
approved these changes
Apr 2, 2026
core/ ├── frontend/ │ ├── desktop-frontend │ ├── costcenter-frontend │ └── license-frontend ├── controller/ │ ├── user-controller │ ├── account-controller │ ├── license-controller │ └── resources-controller ├── service/ │ └── account-service └── job / misc ├── init-job └── init-heartbeat
78ce130 to
887055d
Compare
cuisongliu
approved these changes
Apr 2, 2026
Contributor
|
🤖 says: cherry pick action finished successfully 🎉! |
github-actions Bot
pushed a commit
that referenced
this pull request
Apr 2, 2026
* support core helm refactor: core/ ├── frontend/ │ ├── desktop-frontend │ ├── costcenter-frontend │ └── license-frontend ├── controller/ │ ├── user-controller │ ├── account-controller │ ├── license-controller │ └── resources-controller ├── service/ │ └── account-service └── job / misc ├── init-job └── init-heartbeat * rebase
cuisongliu
pushed a commit
that referenced
this pull request
Apr 2, 2026
feat(core): standardized sealos cloud core component deployment (#6722) * support core helm refactor: core/ ├── frontend/ │ ├── desktop-frontend │ ├── costcenter-frontend │ └── license-frontend ├── controller/ │ ├── user-controller │ ├── account-controller │ ├── license-controller │ └── resources-controller ├── service/ │ └── account-service └── job / misc ├── init-job └── init-heartbeat * rebase Co-authored-by: Jiahui <4543bxy@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Helm Chart Deployment Structure Standardization & Values Splitting Proposal
1. Standardized Directory Structure
2. Helm Values Splitting Rules
2.1 Splitting Principles
values.yaml (Default / Protected Values – should not be edited by users)
Contains fields that are:
image,imagePullPolicyimagePullSecrets,nameOverride,fullnameOverridecreate,automountServiceAccountToken,annotations,namepodAnnotations,podLabels,podSecurityContext,securityContextlivenessProbe,readinessProbenodeSelector,tolerations,affinityvolumes,volumeMountsmetrics.enabled(default:false){service-name}-values.yaml (User Customization Template)
Contains fields users most commonly want to customize:
replicaCountresourcesenv*Envblocks (e.g.accountEnv,desktopConfig,appConfig, etc.)Important Rules:
--set/--set-stringin entrypoint.sh--set-stringfor string values/root/.sealos/cloud/values/core/{service-name}-values.yamlon first deployment2.2 Value Loading Priority (lowest → highest)
values.yaml→ Base defaults + documentation of auto-injected values
/root/.sealos/cloud/values/core/{service-name}-values.yaml→ User-provided customizations
HELM_OPTIONS/ command-line--setflags→ Highest priority (overrides everything above)
3. Deployment Script (
*-entrypoint.sh) Changes3.1 User Values File Preparation (new logic)
3.2 Auto-configuration Logic (add when needed)
Auto-config Best Practices:
--set-stringfor string values3.3 Updated
helm upgradeCommand4. Summary – Core Components Optimized by This PR
This PR standardizes the Helm chart structure, values splitting strategy, auto-configuration injection, and deployment script behavior across multiple core Sealos components.
Affected core components: