Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 590 for noapiversion (0.2 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. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

                        .: {}
                        f:apiVersion: {}
                        f:fieldPath: {}
                  k:{"name":"POD_NAMESPACE"}:
                    .: {}
                    f:name: {}
                    f:valueFrom:
                      .: {}
                      f:fieldRef:
                        .: {}
                        f:apiVersion: {}
                        f:fieldPath: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

                        .: {}
                        f:apiVersion: {}
                        f:fieldPath: {}
                  k:{"name":"POD_NAMESPACE"}:
                    .: {}
                    f:name: {}
                    f:valueFrom:
                      .: {}
                      f:fieldRef:
                        .: {}
                        f:apiVersion: {}
                        f:fieldPath: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  5. 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)
  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. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

    			original: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 3
    `),
    			applied: []byte(`
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: my-deployment
    spec:
      replicas: 100 # update replicas
    `),
    		},
    		{
    			fieldManager: "kubectl",
    			lastApplied: []byte(`
    apiVersion: extensions/v1beta1
    kind: Deployment
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/events_test.go

    				},
    				InvolvedObject: core.ObjectReference{
    					APIVersion: "v1",
    					Kind:       "Node",
    				},
    			},
    			true,
    		}, {
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test4",
    					Namespace: metav1.NamespaceDefault,
    				},
    				InvolvedObject: core.ObjectReference{
    					APIVersion: "v1",
    					Kind:       "Namespace",
    				},
    			},
    			true,
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

    apiVersion: v1
    items:
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
        labels:
          kubernetes.io/bootstrapping: rbac-defaults
        name: system:controller:attachdetach-controller
      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:controller:attachdetach-controller
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top