- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for extractAttributesMetadata (0.35 sec)
-
pkg/bootstrap/config.go
err := json.Unmarshal([]byte(jsonStr), &m) if err != nil { log.Warnf("Env variable with value %q failed json unmarshal: %v", jsonStr, err) } return } func extractAttributesMetadata(envVars []string, plat platform.Environment, meta *model.BootstrapNodeMetadata) { for _, varStr := range envVars { name, val := parseEnvVar(varStr) switch name { case "ISTIO_METAJSON_LABELS":
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 27.6K bytes - Viewed (0) -
pilot/pkg/model/context.go
// we can't just equate proxy workload labels to node meta labels as it may be customized by user // with `ISTIO_METAJSON_LABELS` env (pkg/bootstrap/config.go extractAttributesMetadata). // so, we fill the `ISTIO_METAJSON_LABELS` as well. for k, v := range node.Metadata.StaticLabels { node.Labels[k] = v } for k, v := range labels { node.Labels[k] = v } } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1)