- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for if (0.33 sec)
-
istioctl/pkg/completion/completion.go
client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace()) podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{}) if err != nil { return nil, err } var podsName []string for _, pod := range podList.Items { if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
if addr == "" { return nil, fmt.Errorf("addr cannot be empty") } resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr) if err != nil { return nil, fmt.Errorf("failed to resolve unix addr: %w", err) } // remove potentially existing address // Remove unix socket before use, if one is leftover from previous CNI restart
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml
{{ end }} spec: {{- if not $gateway.runAsRoot }} securityContext: {{- if not (eq .Values.global.platform "openshift") }} runAsUser: 1337 runAsGroup: 1337 {{- end }} runAsNonRoot: true {{- end }} serviceAccountName: {{ $gateway.name | default "istio-egressgateway" }}-service-account {{- if .Values.global.priorityClassName }} priorityClassName: "{{ .Values.global.priorityClassName }}" {{- end }}
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 5K bytes - Viewed (0) -
manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml
{{ end }} spec: {{- if not $gateway.runAsRoot }} securityContext: {{- if not (eq .Values.global.platform "openshift") }} runAsUser: 1337 runAsGroup: 1337 {{- end }} runAsNonRoot: true {{- end }} serviceAccountName: {{ $gateway.name | default "istio-ingressgateway" }}-service-account {{- if .Values.global.priorityClassName }} priorityClassName: "{{ .Values.global.priorityClassName }}" {{- end }}
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
} if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
slices.SortFunc(policies, func(a, b *ZtunnelPolicy) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } return cmp.Compare(a.Name, b.Name) }) out, err := json.MarshalIndent(policies, "", " ") if err != nil { return fmt.Errorf("failed to marshal policies: %v", err) } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// Append our rules here builder := cfg.appendInpodRules(hostProbeSNAT) if err := cfg.addLoopbackRoute(); err != nil { return err } if err := cfg.addInpodMarkIPRule(); err != nil { return err } log.Debug("Adding iptables rules") if err := cfg.executeCommands(builder); err != nil { log.Errorf("failed to restore iptables rules: %v", err) return err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
ext := &dep.DependenciesStub{} iptConfigurator, _ := NewIptablesConfigurator(cfg, ext, EmptyNlDeps()) var probeIP *netip.Addr if ipv6 { probeIP = &probeSNATipv6 } else { probeIP = &probeSNATipv4 } err := iptConfigurator.CreateInpodRules(probeIP) if err != nil { t.Fatal(err) } compareToGolden(t, ipv6, tt.name, ext.ExecutedAll) }) } } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
bin/update_crds.sh
# first check if there's a replace: e.g. replace istio.io/api => github.com/USER/istioapi v0.0.0-<timestamp>-<SHA> SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}') if [ -n "${SHA}" ]; then REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}') else SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 22 14:28:27 GMT 2024 - 3.4K bytes - Viewed (0) -
manifests/charts/default/templates/mutatingwebhook.yaml
"namespace" .Release.Namespace }} {{- define "core" }} - name: {{.Prefix}}sidecar-injector.istio.io clientConfig: {{- if .injectionURL }} url: {{ .injectionURL }} {{- else }} service: name: istiod{{- if not (eq .revision "") }}-{{ .revision }}{{- end }} namespace: {{ .namespace }} path: "/inject" {{- end }} sideEffects: None rules:
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 3.7K bytes - Viewed (0)