Results 2 issues of Morix

Implemented `edit set generatoroptions` as requested in https://github.com/kubernetes-sigs/kustomize/issues/5168.

cncf-cla: yes
size/L
needs-rebase
lifecycle/stale
lgtm
ok-to-test

Support for selector and rejects in replacements source. Related issue: https://github.com/kubernetes-sigs/kustomize/issues/4763 # Example In this example, Replace the pod's `configMapRef.name` with the Secret's `metadata.name` selected in the label. resource.yaml ```yaml...

cncf-cla: yes
size/L
lifecycle/stale
ok-to-test