You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract a suitable abstraction for the repeated environment-variable-aware merge sequence in internal/deployer/config.go. The sequence saves base environment variables, merges an overlay, merges customize.envVars by name, and warns about unresolved references.
The sequence appears in MergeConfig, CentralConfig.ConfigureSpec, and SecuredClusterConfig.ConfigureSpec. Reducing duplication should make this behavior easier to maintain consistently.
Acceptance criteria
Reuse an appropriate abstraction across the applicable merge paths.
Preserve existing merge options and behavior, including replacement of generic slices and last-one-wins merging of environment variables by name.
Preserve component-specific behavior, contextual errors, and warnings for unresolved references.
Keep existing tests passing and add or update tests as needed to cover the refactored paths.
Activity