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
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
Please describe the Improvement and/or Feature Request
Since OSM will be integrated with hosted/managed K8 deployments, a configuration could be created on what target namespace OSM is installed in for osm binary commands.
Scope (please mark with X where applicable)
New Functionality [X]
Possible use cases
User can set context for the binary to use certain parameters. If the user is using the OSM AKS add-on, which deploys OSM in the kube-system namespace, the user can update the osm binary config to say the default namespace is "kube-system". This will prevent users having to continuously be aware of and append -n kube-system when not running upstream OSM.
The text was updated successfully, but these errors were encountered:
Provides the capability to override default namespace
and commands in osm cli. This is required to provide
a better experience of osm cli in managed environments.
It works as follows:
1. If osm config file is present, either in $HOME/.osm/config
or specified via the OSM_CONFIG env var, this file will be
used for environment defaults. This works similar to
KUBECONFIG where the env variable overrides the static
file if present.
2. If osm config file is not present, defaults values are
used for the environment configurations.
3. If the install kind is set to `managed` in the config file,
then install/uninstall/upgrade/dashboard commands which
are only meant for self-hosted environments are disabled.
Resolvesopenservicemesh#3978
Signed-off-by: Shashank Ram <[email protected]>
Provides the capability to override default namespace
and commands in osm cli. This is required to provide
a better experience of osm cli in managed environments.
It works as follows:
1. If osm config file is present, either in $HOME/.osm/config
or specified via the OSM_CONFIG env var, this file will be
used for environment defaults. This works similar to
KUBECONFIG where the env variable overrides the static
file if present.
2. If osm config file is not present, defaults values are
used for the environment configurations.
3. If the install kind is set to `managed` in the config file,
then install/uninstall/upgrade/dashboard commands which
are only meant for self-hosted environments are disabled.
Resolvesopenservicemesh#3978
Signed-off-by: Shashank Ram <[email protected]>
Please describe the Improvement and/or Feature Request
Since OSM will be integrated with hosted/managed K8 deployments, a configuration could be created on what target namespace OSM is installed in for osm binary commands.
Scope (please mark with X where applicable)
Possible use cases
User can set context for the binary to use certain parameters. If the user is using the OSM AKS add-on, which deploys OSM in the kube-system namespace, the user can update the osm binary config to say the default namespace is "kube-system". This will prevent users having to continuously be aware of and append -n kube-system when not running upstream OSM.
The text was updated successfully, but these errors were encountered: