- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for InjectConfig (0.11 sec)
-
pkg/test/framework/components/istio/configmap.go
meshConfig *meshconfig.MeshConfig } type injectConfig struct { configMap injectConfig *inject.Config values *inject.ValuesConfig } func newConfigMap(ctx resource.Context, namespace string, revisions resource.RevVerMap) *configMap { return &configMap{ ctx: ctx, namespace: namespace, revisions: revisions, } } func (ic *injectConfig) InjectConfig() (*inject.Config, error) { ic.mu.Lock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12.8K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
valuesConfigMapKey, injectConfigMapName) } return valuesData, nil } func readInjectConfigFile(f []byte) (inject.RawTemplates, error) { var injectConfig inject.Config err := yaml.Unmarshal(f, &injectConfig) if err != nil || len(injectConfig.RawTemplates) == 0 { // This must be a direct template, instead of an inject.Config. We support both formats return map[string]string{inject.SidecarTemplateName: string(f)}, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
pkg/kube/inject/inject.go
func UnmarshalConfig(yml []byte) (Config, error) { var injectConfig Config if err := yaml.Unmarshal(yml, &injectConfig); err != nil { return injectConfig, fmt.Errorf("failed to unmarshal injection template: %v", err) } if injectConfig.RawTemplates == nil { injectConfig.RawTemplates = make(map[string]string) } if len(injectConfig.DefaultTemplates) == 0 { injectConfig.DefaultTemplates = []string{SidecarTemplateName} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (0) -
pkg/test/framework/components/istio/kube.go
} func (i *istioImpl) UpdateInjectionConfig(t resource.Context, update func(*inject.Config) error, cleanup cleanup.Strategy) error { return i.injectConfig.UpdateInjectionConfig(t, update, cleanup) } func (i *istioImpl) InjectionConfig() (*inject.Config, error) { return i.injectConfig.InjectConfig() } func genCommonOperatorFiles(ctx resource.Context, cfg Config, workDir string) (i iopFiles, err error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller.go
} // Default the network label for waypoints if not explicitly set in gateway's labels network := d.injectConfig().Values.Struct().GetGlobal().GetNetwork() if _, ok := gw.GetLabels()[label.TopologyNetwork.Name]; !ok && network != "" && isWaypointGateway { input.InfrastructureLabels[label.TopologyNetwork.Name] = d.injectConfig().Values.Struct().GetGlobal().GetNetwork() } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 26.3K bytes - Viewed (0)