- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 564 for if (0.2 sec)
-
istioctl/pkg/waypoint/waypoint.go
ns := ctx.NamespaceOrDefault(ctx.Namespace()) if ctx.Namespace() == "" && !forApply { ns = "" } // If a user sets the waypoint name to an empty string, set it to the default namespace waypoint name. if waypointName == "" { waypointName = constants.DefaultNamespaceWaypoint } else if waypointName == "none" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml
{{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }} {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }} requests:
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 26 16:51:17 GMT 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/install/install_test.go
testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath) } else if file.Exists(cniConfigFilePath) { t.Fatalf("file %s was not deleted", c.configFilename) } // check if kubeconfig is deleted if file.Exists(kubeConfigFilePath) { t.Fatal("kubeconfig was not deleted") } // check if binaries are deleted if file.Exists(filepath.Join(cniBinDir, "istio-cni")) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
// If we are filtering on init container exit code and the termination message does not match, exit if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) { return true } return false } // Only check pods that have the sidecar annotation; the rest can be // ignored. if c.cfg.SidecarAnnotation != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
} } if tc.whURL != "" { if validationWhConf.URL == nil { t.Fatalf("expected validation URL %s, got nil", tc.whURL) } if *validationWhConf.URL != tc.whURL { t.Fatalf("expected validation URL %s, got %s", tc.whURL, *validationWhConf.URL) } } if tc.whCA != "" { if string(validationWhConf.CABundle) != tc.whCA {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cw := &ConfigWriter{} cd, _ := os.ReadFile(tt.inputFile) err := cw.Prime(cd) if cw.configDump == nil { if tt.wantConfigs != 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
// warning *after* it has applied if !skipConfirmation { _, _ = stderr.Write([]byte(err.Error())) if !generate { if !util.Confirm("Apply anyways? [y/N]", w) { return nil } } } } if generate { _, err := w.Write([]byte(tagWhYAML)) if err != nil { return err } return nil } if err := Create(kubeClient, tagWhYAML, istioNS); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
manifests/charts/base/templates/services.yaml
{{- if .Values.global.remotePilotAddress }} apiVersion: v1 kind: Service metadata: {{- if .Values.pilot.enabled }} # when local istiod is enabled, we can't use istiod service name to reach the remote control plane name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}-remote {{- else }} # when local istiod isn't enabled, we can use istiod service name to reach the remote control plane
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 17:36:40 GMT 2024 - 1.1K bytes - Viewed (0) -
manifests/charts/gateways/istio-ingress/templates/_affinity.tpl
"nodeAffinityPreferre" }} {{- range $key, $val := .global.arch }} {{- if gt ($val | int) 0 }} - weight: {{ $val | int }} preference: matchExpressions: - key: kubernetes.io/arch operator: In values: - {{ $key | quote }} {{- end }} {{- end }} {{- end }} {{- define "podAntiAffinity" }} {{- if or .podAntiAffinityLabel .podAntiAffinityTermL}} podAntiAffinity: {{- if .podAntiAffinityLabel }} requiredDuringSchedu: {{- include "podAntiAffinityRequi" . }} {{- end }} {{- if .podAntiAffinityTermL }} preferredDuringSched: {{-...
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Aug 10 21:23:08 GMT 2022 - 3.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } if r := cmp.Compare(a.Name, b.Name); r != 0 { return r } return cmp.Compare(a.Hostname, b.Hostname) }) out, err := json.MarshalIndent(svcs, "", " ") if err != nil { return fmt.Errorf("failed to marshal workloads: %v", err) } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0)