diff --git a/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/kube-config b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/kube-config new file mode 100644 index 00000000000..609a87417cf --- /dev/null +++ b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/kube-config @@ -0,0 +1,33 @@ +apiVersion: v1 +clusters: +- cluster: + certificate-authority: ca.crt + extensions: + - extension: + last-update: Mon, 22 Jul 2024 15:23:30 IST + provider: test.sigs.k8s.io + version: v1.33.1 + name: cluster_info + server: https://172.28.128.4:8443 + name: test +contexts: +- context: + cluster: test + extensions: + - extension: + last-update: Mon, 22 Jul 2024 15:23:30 IST + provider: test.sigs.k8s.io + version: v1.33.1 + name: context_info + namespace: namespace-from-kubeconfig + user: test + name: test +current-context: test +kind: Config +preferences: {} +users: +- name: test + user: + client-certificate: client.crt + client-key: client.key + token: token-from-kubeconfig diff --git a/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/namespace b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/namespace new file mode 100644 index 00000000000..4d767d5bd72 --- /dev/null +++ b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/namespace @@ -0,0 +1 @@ +namespace-from-mounted-serviceaccount diff --git a/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/token b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/token new file mode 100644 index 00000000000..d4ed81c2751 --- /dev/null +++ b/kubernetes-client-api/src/test/resources/config-disable-autoconfiguration/serviceaccount/token @@ -0,0 +1 @@ +token-from-mounted-serviceaccount