You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great is if we could add support for DomainMapping custom resource, that was recently added to Serving API.
Use case
With the use of DomainMapping it's possible to create custom domains per namespace and per Service reference to address the endpoints.
The required parameters are domain name (fqdn) and reference (Addressable, currently only ksvc). The initial goal should be to have CRUD ops available on pair with other cmds.
I wonder whether we should call it --sink as it is essentially the same type that a sink uses. But on the other hand sink is an eventing concept and only because it is sharing the same type doesn't mean it has to be the same option name. So --ref or --reference (with a short -r option) would be fine IMO.
I wonder whether we should call it --sink as it is essentially the same type that a sink uses. But on the other hand sink is an eventing concept and only because it is sharing the same type doesn't mean it has to be the same option name. So --ref or --reference (with a short -r option) would be fine IMO.
I gave it a thought during writing the initial description and it seemed to me that --reference|--ref is more suitable as it reflects the naming from DomainMapping as well.
As pointed out by @navidshaikh, the sink flag is extensible with custom flag name.
Agree with @dsimansk that ref is better. As well as ref being what the yaml version uses, as of now the requirements for ref are slightly stricter than for sink (can't resolve to an address with a path, for example) so I think it's less confusing to keep them distinct.
Activity
rhuss commentedon Jan 20, 2021
Thanks, definitely something we should add !
I wonder whether we should call it
--sinkas it is essentially the same type that a sink uses. But on the other hand sink is an eventing concept and only because it is sharing the same type doesn't mean it has to be the same option name. So--refor--reference(with a short-roption) would be fine IMO.dsimansk commentedon Jan 20, 2021
I gave it a thought during writing the initial description and it seemed to me that
--reference|--refis more suitable as it reflects the naming from DomainMapping as well.As pointed out by @navidshaikh, the sink flag is extensible with custom flag name.
julz commentedon Jan 26, 2021
Agree with @dsimansk that ref is better. As well as
refbeing what the yaml version uses, as of now the requirements forrefare slightly stricter than for sink (can't resolve to an address with a path, for example) so I think it's less confusing to keep them distinct.dsimansk commentedon Mar 17, 2021
/assign