Add UDF to discover namespace where Vizier is deployed#1307
Add UDF to discover namespace where Vizier is deployed#1307aimichelle merged 2 commits intopixie-io:mainfrom
Conversation
|
Can one of the admins verify this patch? |
|
I mentioned this in Slack too, but just to surface the issue here: I'm naming this thing
So perhaps I should:
Thoughts? |
|
Thanks for your contribution, love the idea of making this programmatic rather than hardcoding
I would call the env var
I think leaving these as
yeah I think |
|
@pixie-io-buildbot test this please |
c512b7d to
853811d
Compare
Signed-off-by: Gabe Rosenhouse <grosenhouse@vmware.com>
853811d to
fc3a332
Compare
This wasn't necessary for my manual testing, but could be useful to enable filtering on the PEM, per Michelle. Signed-off-by: Gabriel Rosenhouse <grosenhouse@vmware.com>
Summary: Adds a new `px.vizier_namespace()` function usable from PxL scripts to discover the namespace that the Vizier components are deployed into. Type of change: /kind feature Test Plan: Added some unit tests. Manually tested on a minikube. Relevant Issues: Fixes pixie-io#1304 Changelog Message: ```release-note Add `px.vizier_namespace()` UDF to get namespace that Vizier is running in. ``` --------- Signed-off-by: Gabe Rosenhouse <grosenhouse@vmware.com>
Summary: Adds a new `px.vizier_namespace()` function usable from PxL scripts to discover the namespace that the Vizier components are deployed into. Type of change: /kind feature Test Plan: Added some unit tests. Manually tested on a minikube. Relevant Issues: Fixes pixie-io#1304 Changelog Message: ```release-note Add `px.vizier_namespace()` UDF to get namespace that Vizier is running in. ``` --------- Signed-off-by: Gabe Rosenhouse <grosenhouse@vmware.com>
Summary: Adds a new
px.vizier_namespace()function usable from PxL scripts to discover the namespace that the Vizier components are deployed into.Type of change: /kind feature
Test Plan: Added some unit tests. Manually tested on a minikube.
Relevant Issues: Fixes #1304