- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 417 for if (0.17 sec)
-
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K 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 Apr 24 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 Apr 24 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
func (c *ConfigWriter) PrintEcds(outputFormat string) error { if c.configDump == nil { return fmt.Errorf("config writer has not been primed") } dump, err := c.configDump.GetEcdsConfigDump() if err != nil { return err } out, err := protomarshal.MarshalIndentWithGlobalTypesResolver(dump, " ") if err != nil { return err } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Jan 14 02:41:27 GMT 2023 - 2.6K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/templates/clusterrolebinding.yaml
name: istiod{{- if not (eq .Values.revision "")}}-{{ .Values.revision }}{{- end }} namespace: {{ .Values.global.istioNamespace }} --- {{- if not (eq (toString .Values.pilot.env.PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER) "false") }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata:
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Sun Oct 10 17:32:44 GMT 2021 - 1.3K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
istioctl/pkg/xds/google.go
ret, err := creds.GetRequestMetadata(ctx, uri...) if err != nil { return err } for k, v := range ret { if !strings.EqualFold(k, "authorization") { if _, ok := dst[k]; ok { return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Nov 14 20:23:34 GMT 2022 - 3.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
func (s *secretItemBuilder) Build() (SecretItem, error) { result := SecretItem{ Name: s.name, Data: s.data, Source: s.source, Destination: s.dest, State: s.state, } var meta SecretMeta var err error if s.data != "" { meta, err = secretMetaFromCert([]byte(s.data)) if err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
bin/build_ztunnel.sh
if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then local ZTUNNEL_DIR ZTUNNEL_DIR="$(pwd)/../ztunnel" if [[ -d "${ZTUNNEL_DIR}" ]]; then BUILD_ZTUNNEL_REPO="${ZTUNNEL_DIR}" else echo "No directory at ${ZTUNNEL_DIR}" return fi fi if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]]; then return fi
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 21:46:06 GMT 2024 - 5K bytes - Viewed (0)