- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for extractClusterAndNetwork (0.17 sec)
-
pkg/kube/inject/inject.go
tag = tag[:len(tag)-(len(i)+1)] break } } if imageType == ImageTypeDefault { return tag } return tag + "-" + imageType } func extractClusterAndNetwork(params InjectionParameters) (string, string) { metadata := ¶ms.pod.ObjectMeta cluster := params.valuesConfig.asStruct.GetGlobal().GetMultiCluster().GetClusterName()
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/kube/inject/webhook.go
injectedAnnotations: wh.Config.InjectedAnnotations, proxyEnvs: parseInjectEnvs(path), } if platform.IsOpenShift() && wh.namespaces != nil { clusterID, _ := extractClusterAndNetwork(params) if clusterID == "" { clusterID = constants.DefaultClusterName } client := wh.namespaces.ForCluster(cluster.ID(clusterID)) if client != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 42.2K bytes - Viewed (0)