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

fix: always reset overlay data when the base value was set on the process obj #1745

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

piglei
Copy link
Collaborator

@piglei piglei commented Nov 21, 2024

  • fix: always reset overlay data when the base value was set on the process obj

@piglei piglei requested review from jamesgetx and narasux November 21, 2024 09:00
@jamesgetx jamesgetx merged commit 6b16811 into TencentBlueKing:main Nov 21, 2024
7 checks passed
@@ -31,27 +31,48 @@


def sync_env_overlays_replicas(
Copy link
Collaborator

@jamesgetx jamesgetx Nov 21, 2024

Choose a reason for hiding this comment

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

现在的特殊处理策略分散在了 sync_xxx 逻辑中。可以考虑在sync 之前预处理 bk app 模型(比如补全一些 env overlay配置),这样 sync 逻辑职责比较单一,同步规则稳定

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