Skip to content

Commit

Permalink
adding the annotation for targetted FFCRD (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexsJones authored May 29, 2022
1 parent aec76ea commit 8d0742b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webhooks/mutating_admission_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func (m *PodMutator) Handle(ctx context.Context, req admission.Request) admissio
ObjectMeta: metav1.ObjectMeta{
Name: configName,
Namespace: req.Namespace,
Annotations: map[string]string{
"openfeature.dev/featureflagconfiguration": featureFlagCustomResource.Name,
},
},
//TODO
Data: map[string]string{
Expand Down

0 comments on commit 8d0742b

Please sign in to comment.