Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,098 for noapiversion (0.15 sec)

  1. cmd/kubeadm/app/util/marshal_test.go

    var files = map[string][]byte{
    	"foo": []byte(`
    kind: Foo
    apiVersion: foo.k8s.io/v1
    fooField: foo
    `),
    	"bar": []byte(`
    apiVersion: bar.k8s.io/v2
    barField: bar
    kind: Bar
    `),
    	"baz": []byte(`
    apiVersion: baz.k8s.io/v1
    kind: Baz
    baz:
    	foo: bar
    `),
    	"nokind": []byte(`
    apiVersion: baz.k8s.io/v1
    foo: foo
    bar: bar
    `),
    	"noapiversion": []byte(`
    kind: Bar
    foo: foo
    bar: bar
    `),
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields_test.go

    		expected           string
    	}{
    		{
    			managedFieldsEntry: `
    apiVersion: v1
    fieldsV1:
      f:apiVersion: {}
    manager: foo
    operation: Update
    time: "2001-02-03T04:05:06Z"
    `,
    			expected: "{\"manager\":\"foo\",\"operation\":\"Update\",\"apiVersion\":\"v1\"}",
    		},
    		{
    			managedFieldsEntry: `
    apiVersion: v1
    fieldsV1:
      f:apiVersion: {}
    manager: foo
    operation: Apply
    time: "2001-02-03T04:05:06Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption_test.go

    			findsScale:    true,
    			expectedScale: 10,
    		},
    		"invalid rs apiVersion": {
    			rsApiVersion:  "invalid/v1",
    			rsKind:        controllerKindRS.Kind,
    			depApiVersion: "apps/v1",
    			depKind:       controllerKindDep.Kind,
    			findsScale:    false,
    		},
    		"invalid rs kind": {
    			rsApiVersion:  "apps/v1",
    			rsKind:        "InvalidKind",
    			depApiVersion: "apps/v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler_test.go

    				{
    					Manager:    "manager-1",
    					Operation:  metav1.ManagedFieldsOperationApply,
    					APIVersion: "apps/v1",
    					FieldsType: "FieldsV1",
    					FieldsV1:   &metav1.FieldsV1{Raw: []byte(`{"f:spec":{"f:another-field":{}}}`)},
    				},
    				{
    					Manager:    "manager-2",
    					Operation:  metav1.ManagedFieldsOperationApply,
    					APIVersion: "apps/v1",
    					FieldsType: "FieldsV1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/injection.yaml

    ---
    # Namespace doesn't have the label at all
    apiVersion: v1
    kind: Namespace
    metadata:
      name: bar
    ---
    # Namespace is explicitly enabled in the new style
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio.io/rev: canary
      name: canary-test
    ---
    # Namespace is explicitly enabled in the new style, but refers to a non-existent control plane
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 14:06:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. pkg/credentialprovider/plugin/config_test.go

    			configData: `---
    kind: CredentialProviderConfig
    apiVersion: kubelet.config.k8s.io/v1alpha1
    providers:
      - name: test1
        matchImages:
        - "registry.io/one"
        defaultCacheDuration: 10m
        apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
      - name: test2
        matchImages:
        - "registry.io/two"
        defaultCacheDuration: 10m
        apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
        args:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/sidecar-default-selector.yaml

      namespace: ns2
    spec:
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      name: ns1
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      name: ns2
    ---
    apiVersion: v1
    kind: Pod
    metadata:
      name: random-pod
      namespace: ns1
      labels:
        app: foo
    spec:
      containers:
      - image: proxyv2
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 23 13:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    		want *KMSConfiguration
    	}{
    		{
    			desc: "apiVersion not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "apiVersion supplied",
    			in:   &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, APIVersion: "v1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm_test.go

    				},
    			},
    		}, expected: `
    {
      "apiVersion": "foo/v1",
      "kind": "Foo",
      "metadata": {
        "name": "instance"
      },
      "pruned": {
        "apiVersion": "foo/v1",
        "kind": "Foo",
        "metadata": {
          "namespace": "kube-system"
        }
      }
    }
    `},
    		{name: "x-kubernetes-embedded-resource, with dropInvalidFields=true", json: `
    {
      "apiVersion": "foo/v1",
      "kind": "Foo",
      "metadata": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/invalid.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: GatewayClass
    metadata:
      name: istio
    spec:
      controllerName: istio.io/gateway-controller
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: Gateway
    metadata:
      name: gateway
      namespace: istio-system
    spec:
      addresses:
      - value: istio-ingressgateway
        type: Hostname
      gatewayClassName: istio
      listeners:
      - name: default
        hostname: "*.domain.example"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top