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.
At the moment one has to know how to switch from permissive trafic policy mode to observing SMI and back.
This happens via the osm-config ConfigMap -- setting the permissive_traffic_policy_mode key to true or false and reapplying - example.
It would be great to implement this functionality in the OSM CLI so that one colud easily issue a command to a) check the current mode of the service mesh and b) change it
Also - the following Issue will document all ConfigMap values and what they do: #1842
Once we implement a CLI command to change config map values we should add it to the outcome of #1842
Scope (please mark with X where applicable)
New Functionality [X]
Install [ ]
SMI Traffic Access Policy [ ]
SMI Traffic Specs Policy [ ]
SMI Traffic Split Policy [ ]
Permissive Traffic Policy [ ]
Ingress [ ]
Egress [ ]
Envoy Control Plane [ ]
CLI Tool [X]
Metrics [ ]
Certificate Management [ ]
Sidecar Injection [ ]
Logging [ ]
Debugging [ ]
Tests [ ]
CI System [ ]
Project Release [ ]
Use cases:
osm configure --mesh=osm --policy-mode=permissive -- sets permissive_traffic_policy_mode to true
osm configure --mesh=osm --policy-mode=smi -- sets permissive_traffic_policy_mode to false
The text was updated successfully, but these errors were encountered:
OSM ConfigMap was deprecated several releases ago, and the formal way to update the mesh configuration is via the MeshConfig custom resource using native k8s tools/API.
At the moment one has to know how to switch from permissive trafic policy mode to observing SMI and back.
This happens via the
osm-config
ConfigMap -- setting thepermissive_traffic_policy_mode
key totrue
orfalse
and reapplying - example.It would be great to implement this functionality in the OSM CLI so that one colud easily issue a command to a) check the current mode of the service mesh and b) change it
Also - the following Issue will document all ConfigMap values and what they do: #1842
Once we implement a CLI command to change config map values we should add it to the outcome of #1842
Scope (please mark with X where applicable)
Use cases:
osm configure --mesh=osm --policy-mode=permissive
-- setspermissive_traffic_policy_mode
totrue
osm configure --mesh=osm --policy-mode=smi
-- setspermissive_traffic_policy_mode
tofalse
The text was updated successfully, but these errors were encountered: