kubernetes/hack/testdata
Anders Eknert b423216a3b Presence of bearer token should cancel exec action
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.

See #87369 for further details.

Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
..
CRD update -o name format to kind.group/name 2018-02-15 10:33:06 -05:00
diff diff: Fix overlapping filenames 2018-12-11 09:19:52 -08:00
filter Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
kustomize add cmdline tests for -k 2019-02-25 16:31:03 -08:00
null-propagation Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
prune Prune should respect namespace 2019-09-25 16:43:08 -07:00
prune-reap kubectl: apply prune should fallback to basic delete when a resource has no reaper 2016-10-14 15:04:38 -07:00
recursive Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
retainKeys/deployment Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
sorted-pods Fix up test cases 2018-10-10 10:24:09 -04:00
auth-tokens.csv *: remove --insecure-allow-any-token option 2017-07-18 16:03:15 -07:00
ca.crt Presence of bearer token should cancel exec action 2020-07-02 12:12:32 +02:00
configmap.yaml Add bash test for kubectl set env command 2017-08-25 20:37:46 +08:00
csr.yml promote certificates.k8s.io to beta 2017-01-19 13:13:20 -08:00
deployment-label-change1.yaml Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
deployment-label-change2.yaml Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
deployment-label-change3.yaml Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
deployment-multicontainer-resources.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
deployment-multicontainer.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
deployment-revision1.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
deployment-revision2.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
deployment-with-UnixUserID.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
dockerconfig.json Fix kubectl create secret docker-registry 2020-05-15 12:14:03 +08:00
frontend-controller.yaml
frontend-replicaset.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
invalid-pod.yaml kubectl-diff: Test return code on failure and changes 2020-01-21 15:34:22 -08:00
invalid-rc-with-empty-args.yaml Check for an empty value in validateField 2016-05-30 14:12:18 +10:00
kubernetes-service.yaml Adding test-federation-cmd.sh to test kubectl with federation apiserver 2017-01-04 11:17:05 -08:00
list.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
multi-resource-1.yaml Even with build error, kubectl apply should apply all valid resources 2020-04-04 15:48:31 -07:00
multi-resource-2.yaml Even with build error, kubectl apply should apply all valid resources 2020-04-04 15:48:31 -07:00
multi-resource-3.yaml Even with build error, kubectl apply should apply all valid resources 2020-04-04 15:48:31 -07:00
multi-resource-4.yaml Even with build error, kubectl apply should apply all valid resources 2020-04-04 15:48:31 -07:00
multi-resource-json-modify.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-json.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-list-modify.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-list.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-rclist-modify.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-rclist.json Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-svclist-modify.json
multi-resource-svclist.json
multi-resource-yaml-modify.yaml Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
multi-resource-yaml.yaml Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
pod-apply.yaml Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
pod-changed.yaml kubectl-diff: Simplify interface 2018-09-11 15:53:29 -07:00
pod-with-api-env.yaml Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
pod-with-large-name.yaml Modify serve-hostname image to handle graceful termination 2017-10-23 14:09:32 -07:00
pod-with-precision.json bump pause to 3.2 in hack/ 2020-02-14 14:03:19 -08:00
pod.yaml Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
README.md Ensure testing credentials are labeled as such 2020-02-04 10:36:05 -08:00
redis-slave-replicaset.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
rollingupdate-daemonset-rv2.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
rollingupdate-daemonset.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
rollingupdate-statefulset-rv2.yaml Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
rollingupdate-statefulset.yaml Switch test manifests to apps/v1, remove beta workloads calls 2019-06-22 13:58:07 -07:00
scale-deploy-1.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
scale-deploy-2.yaml Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
scale-deploy-3.yaml delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
secret.yaml Add bash test for kubectl set env command 2017-08-25 20:37:46 +08:00
service-revision1.yaml kubectl: recreating resources for immutable fields when force is applied 2018-08-09 22:59:02 +08:00
service-revision2.yaml kubectl: recreating resources for immutable fields when force is applied 2018-08-09 22:59:02 +08:00
tls.crt
tls.key

Keys in this directory are generated for testing purposes only.