Skip to content

Commit 59c8d7b

Browse files
authored
Merge pull request #591 from fluxcd/event-annotations
Ensure annotations are prefixed with Group FQDN
2 parents fd78fe5 + 0787d8b commit 59c8d7b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

controllers/kustomization_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func (r *KustomizationReconciler) Reconcile(ctx context.Context, req ctrl.Reques
283283
kustomization.Spec.Interval.Duration.String())
284284
log.Info(msg, "revision", source.GetArtifact().Revision)
285285
r.event(ctx, reconciledKustomization, source.GetArtifact().Revision, events.EventSeverityInfo,
286-
msg, map[string]string{"commit_status": "update"})
286+
msg, map[string]string{kustomizev1.GroupVersion.Group + "/commit_status": "update"})
287287
return ctrl.Result{RequeueAfter: kustomization.Spec.Interval.Duration}, nil
288288
}
289289

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ require (
194194
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
195195
)
196196

197-
// pin kustomize to v4.4.1
197+
// pin kustomize to v4.5.2
198198
replace (
199199
sigs.k8s.io/kustomize/api => sigs.k8s.io/kustomize/api v0.10.1
200200
sigs.k8s.io/kustomize/kyaml => sigs.k8s.io/kustomize/kyaml v0.13.0

0 commit comments

Comments
 (0)