Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,841 for yamlv3 (0.14 sec)

  1. pilot/pkg/config/file/store.go

    	}
    
    	// Build flat map for analyzers if the line JSON object exists, if the YAML text is ill-formed, this will be nil
    	fieldMap := make(map[string]int)
    
    	// yamlv3.Node contains information like line number of the node, which will be used with its name to construct the field map
    	yamlChunkNode := yamlv3.Node{}
    	err = yamlv3.Unmarshal(yamlChunk, &yamlChunkNode)
    	if err == nil && len(yamlChunkNode.Content) == 1 {
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. operator/pkg/util/yaml.go

    		return true
    	}
    	ajb, err := yaml.YAMLToJSON([]byte(a))
    	if err != nil {
    		scope.Debugf("bad YAML in isYAMLEqual:\n%s", a)
    		return false
    	}
    	bjb, err := yaml.YAMLToJSON([]byte(b))
    	if err != nil {
    		scope.Debugf("bad YAML in isYAMLEqual:\n%s", b)
    		return false
    	}
    
    	return bytes.Equal(ajb, bjb)
    }
    
    // IsYAMLEmpty reports whether the YAML string y is logically empty.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. operator/pkg/object/objects_test.go

    				}
    			}
    		})
    	}
    }
    
    // compareYAMLContent compares two yaml resources and returns true if they are equal. If they have same content but different
    // order of fields, it will return true as well.
    func compareYAMLContent(yaml1, yaml2 string) bool {
    	var obj1, obj2 interface{}
    	err := k8syaml.Unmarshal([]byte(yaml1), &obj1)
    	if err != nil {
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. operator/pkg/patch/patch.go

    // or a list of errors otherwise.
    func applyPatches(base *object.K8sObject, patches []*v1alpha1.K8SObjectOverlay_PathValue) (outYAML string, errs util.Errors) {
    	bo := make(map[any]any)
    	by, err := base.YAML()
    	if err != nil {
    		return "", util.NewErrs(err)
    	}
    	// Use yaml2 specifically to allow interface{} as key which WritePathContext treats specially
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. build/dependencies.yaml

        - path: staging/src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: staging/src/k8s.io/kubectl/testdata/set/namespaced-resource.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: test/cmd/core.sh
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: test/fixtures/pkg/kubectl/cmd/set/multi-resource-yaml.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. samples/addons/loki.yaml

    ---
    # Source: loki/templates/serviceaccount.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: loki
      namespace: istio-system
      labels:
        helm.sh/chart: loki-6.6.3
        app.kubernetes.io/name: loki
        app.kubernetes.io/instance: loki
        app.kubernetes.io/version: "3.0.0"
        app.kubernetes.io/managed-by: Helm
    automountServiceAccountToken: true
    ---
    # Source: loki/templates/config.yaml
    apiVersion: v1
    kind: ConfigMap
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. manifests/charts/gateways/istio-ingress/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. samples/addons/kiali.yaml

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: kiali
      namespace: istio-system
      labels:
        helm.sh/chart: kiali-server-1.85.0
        app: kiali
        app.kubernetes.io/name: kiali
        app.kubernetes.io/instance: kiali
        version: "v1.85.0"
        app.kubernetes.io/version: "v1.85.0"
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/part-of: "kiali"
    data:
      config.yaml: |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-egress/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top