Skip to content

Commit 49172d0

Browse files
Update webhooks/pod_webhook.go
Co-authored-by: Kavindu Dodanduwa <[email protected]> Signed-off-by: odubajDT <[email protected]>
1 parent cc098ea commit 49172d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webhooks/pod_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (m *PodMutator) Handle(ctx context.Context, req admission.Request) admissio
8989
return admission.Errored(code, err)
9090
}
9191
} else {
92-
return admission.Denied("cannot mutate pods without 'featureflagsource' or 'inprocessconfiguration' annotation")
92+
return admission.Denied("cannot mutate pods without a 'featureflagsource' or 'inprocessconfiguration' annotation as openfeature.dev/enabled annotation is present with a value true")
9393
}
9494

9595
marshaledPod, err := json.Marshal(pod)

0 commit comments

Comments
 (0)