mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
move cluster/gce/gci/credential-provider to test/e2e_node/plugins/gcp-credential-provider
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
This commit is contained in:
parent
3bd37e6deb
commit
a4b79590eb
@ -35,7 +35,7 @@ var buildTargets = []string{
|
||||
"test/e2e_node/e2e_node.test",
|
||||
"vendor/github.com/onsi/ginkgo/ginkgo",
|
||||
"cluster/gce/gci/mounter",
|
||||
"cluster/gce/gci/credential-provider",
|
||||
"test/e2e_node/plugins/gcp-credential-provider",
|
||||
}
|
||||
|
||||
// BuildGo builds k8s binaries.
|
||||
|
@ -6,7 +6,7 @@ for testing purposes only. This plugin SHOULD NOT be used in production.
|
||||
|
||||
This credential provider is installed and configured in the node e2e tests by:
|
||||
|
||||
1. Building the credential-provider binary and including it in the test archive
|
||||
1. Building the gcp-credential-provider binary and including it in the test archive
|
||||
uploaded to the GCE remote node.
|
||||
|
||||
2. Writing the credential provider config into the temporary workspace consumed
|
||||
@ -16,7 +16,7 @@ This credential provider is installed and configured in the node e2e tests by:
|
||||
kind: CredentialProviderConfig
|
||||
apiVersion: kubelet.config.k8s.io/v1alpha1
|
||||
providers:
|
||||
- name: credential-provider
|
||||
- name: gcp-credential-provider
|
||||
apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
|
||||
matchImages:
|
||||
- "gcr.io"
|
@ -60,7 +60,7 @@ func (n *NodeE2ERemote) SetupTestPackage(tardir, systemSpecName string) error {
|
||||
}
|
||||
|
||||
// Copy binaries
|
||||
requiredBins := []string{"kubelet", "e2e_node.test", "ginkgo", "mounter", "credential-provider"}
|
||||
requiredBins := []string{"kubelet", "e2e_node.test", "ginkgo", "mounter", "gcp-credential-provider"}
|
||||
for _, bin := range requiredBins {
|
||||
source := filepath.Join(buildOutputDir, bin)
|
||||
if _, err := os.Stat(source); err != nil {
|
||||
|
@ -51,7 +51,7 @@ const cniConfig = `{
|
||||
const credentialProviderConfig = `kind: CredentialProviderConfig
|
||||
apiVersion: kubelet.config.k8s.io/v1alpha1
|
||||
providers:
|
||||
- name: credential-provider
|
||||
- name: gcp-credential-provider
|
||||
apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
|
||||
matchImages:
|
||||
- "gcr.io"
|
||||
|
Loading…
Reference in New Issue
Block a user