Open HoangNguyen689 opened 2 days ago
Thank you for reporting.
We should fix the ignoreParameters()
func.
Configuration settings that are not specified in the servicedef.yaml file.
DeploymentConfiguration
if it is not specified in servicedef.yaml, DeploymentConfiguration
if it's not specified.Environment variables that have not been changed but are still flagged as differences.
ContainerDefinitions[].Environments
are sorted by ECS.Environments
in both headManifest and liveManifest
What happened:
After upgrading PipeCD to v0.49.3, all ECS applications in the PipeCD console are displayed as "Out Of Sync". The detected drift includes:
servicedef.yaml
file.What you expected to happen:
servicedef.yaml
servicedef.yaml
should be ignored by the drift detection process.How to reproduce it:
Environment:
piped
version: v0.49.3control-plane
version:Potential Cause
The issue is likely due to the incorrect handling of the order of environment variables.
Caution Notes (advised from @t-kikuc)
head
is nil, thenlive
should also be set to nil. This is to prevent issues caused by unexpected default values.TODO: Maybe we should check diff of following fields
)func sortKeyPairs(kps []types.KeyValuePair)