diff --git a/pkg/app/piped/executor/kubernetes/baseline.go b/pkg/app/piped/executor/kubernetes/baseline.go index 5b859b874c..edf75a2015 100644 --- a/pkg/app/piped/executor/kubernetes/baseline.go +++ b/pkg/app/piped/executor/kubernetes/baseline.go @@ -62,7 +62,7 @@ func (e *deployExecutor) ensureBaselineRollout(ctx context.Context) model.StageS } // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( baselineManifests, variantLabel, baselineVariant, diff --git a/pkg/app/piped/executor/kubernetes/canary.go b/pkg/app/piped/executor/kubernetes/canary.go index b744a0c4d9..7475f7a184 100644 --- a/pkg/app/piped/executor/kubernetes/canary.go +++ b/pkg/app/piped/executor/kubernetes/canary.go @@ -79,7 +79,7 @@ func (e *deployExecutor) ensureCanaryRollout(ctx context.Context) model.StageSta } // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( canaryManifests, variantLabel, canaryVariant, diff --git a/pkg/app/piped/executor/kubernetes/kubernetes.go b/pkg/app/piped/executor/kubernetes/kubernetes.go index 82e9ae4b30..a82edd9596 100644 --- a/pkg/app/piped/executor/kubernetes/kubernetes.go +++ b/pkg/app/piped/executor/kubernetes/kubernetes.go @@ -191,7 +191,7 @@ func loadManifests(ctx context.Context, appID, commit string, manifestsCache cac return manifests, nil } -func addBuiltinAnnontations(manifests []provider.Manifest, variantLabel, variant, hash, pipedID, appID string) { +func addBuiltinAnnotations(manifests []provider.Manifest, variantLabel, variant, hash, pipedID, appID string) { for i := range manifests { manifests[i].AddAnnotations(map[string]string{ provider.LabelManagedBy: provider.ManagedByPiped, diff --git a/pkg/app/piped/executor/kubernetes/primary.go b/pkg/app/piped/executor/kubernetes/primary.go index bd46d98720..6df314f3ac 100644 --- a/pkg/app/piped/executor/kubernetes/primary.go +++ b/pkg/app/piped/executor/kubernetes/primary.go @@ -116,7 +116,7 @@ func (e *deployExecutor) ensurePrimaryRollout(ctx context.Context) model.StageSt e.LogPersister.Successf("Successfully generated %d manifests for PRIMARY variant", len(primaryManifests)) // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( primaryManifests, variantLabel, primaryVariant, diff --git a/pkg/app/piped/executor/kubernetes/rollback.go b/pkg/app/piped/executor/kubernetes/rollback.go index 40fd375ca0..7c8d374617 100644 --- a/pkg/app/piped/executor/kubernetes/rollback.go +++ b/pkg/app/piped/executor/kubernetes/rollback.go @@ -113,7 +113,7 @@ func (e *rollbackExecutor) ensureRollback(ctx context.Context) model.StageStatus } // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( manifests, variantLabel, primaryVariant, diff --git a/pkg/app/piped/executor/kubernetes/sync.go b/pkg/app/piped/executor/kubernetes/sync.go index 6b194e4963..c8632c4b7b 100644 --- a/pkg/app/piped/executor/kubernetes/sync.go +++ b/pkg/app/piped/executor/kubernetes/sync.go @@ -60,7 +60,7 @@ func (e *deployExecutor) ensureSync(ctx context.Context) model.StageStatus { } // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( manifests, variantLabel, primaryVariant, diff --git a/pkg/app/piped/executor/kubernetes/traffic.go b/pkg/app/piped/executor/kubernetes/traffic.go index 5c6e29aa03..8e599d3e65 100644 --- a/pkg/app/piped/executor/kubernetes/traffic.go +++ b/pkg/app/piped/executor/kubernetes/traffic.go @@ -120,7 +120,7 @@ func (e *deployExecutor) ensureTrafficRouting(ctx context.Context) model.StageSt } // Add builtin annotations for tracking application live state. - addBuiltinAnnontations( + addBuiltinAnnotations( []provider.Manifest{trafficRoutingManifest}, variantLabel, primaryVariant,