-
Notifications
You must be signed in to change notification settings - Fork 5
Proposal: support source_type=STG too #12
Comments
Currently it is possible to disable the filter at all, so it would be called also for all pods in the eirini namespace, but I am completely in favor of this. Maybe an option to the manager to be consistent and avoid the interface to request a specific handle? |
Are you suggesting we more liberally call |
Yes! This is already possible, https://godoc.org/github.com/SUSE/eirinix#ManagerOptions
See for example the loggregator bridge: https://github.com/SUSE/eirini-loggregator-bridge/blob/master/cmd/root.go#L31 - https://github.com/SUSE/eirini-loggregator-bridge/blob/master/cmd/root.go#L37 , which gets the log for both staging pods and standard apps |
Bonus question: why |
By default FilterEiriniApps is set to true only if nothing was explicitly set. In that way we know if something was really being passed or not |
Staging pods have label
source_type=STG
.Thoughts on how we support EiriniX extn to handle these containers too?
Currently we have a single
Handle
hook for onlysource_type=APP
. Perhaps we rename it toHandlePodApp
(and support deprecatedHandle
that callsHandlePodApp
)Then we add a new
HandlePodStaging
forsource_type=STG
?/cc @mudler
The text was updated successfully, but these errors were encountered: