Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove word konvoy/ and use cre/ #365

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

const (
//nolint:gosec // Does not contain hard coded credentials.
installKubeletCredentialProvidersScriptOnRemote = "/etc/konvoy/install-kubelet-credential-providers.sh"
installKubeletCredentialProvidersScriptOnRemote = "/etc/cre/install-kubelet-credential-providers.sh"

installKubeletCredentialProvidersScriptOnRemoteCommand = "/bin/bash " + installKubeletCredentialProvidersScriptOnRemote

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestGeneratePatches(
Path: "/spec/template/spec/kubeadmConfigSpec/files",
ValueMatcher: gomega.ContainElements(
gomega.HaveKeyWithValue(
"path", "/etc/konvoy/install-kubelet-credential-providers.sh",
"path", "/etc/cre/install-kubelet-credential-providers.sh",
),
gomega.HaveKeyWithValue(
"path", "/etc/kubernetes/image-credential-provider-config.yaml",
Expand All @@ -83,7 +83,7 @@ func TestGeneratePatches(
Operation: "add",
Path: "/spec/template/spec/kubeadmConfigSpec/preKubeadmCommands",
ValueMatcher: gomega.ContainElement(
"/bin/bash /etc/konvoy/install-kubelet-credential-providers.sh",
"/bin/bash /etc/cre/install-kubelet-credential-providers.sh",
),
},
{
Expand Down Expand Up @@ -132,7 +132,7 @@ func TestGeneratePatches(
Path: "/spec/template/spec/kubeadmConfigSpec/files",
ValueMatcher: gomega.ContainElements(
gomega.HaveKeyWithValue(
"path", "/etc/konvoy/install-kubelet-credential-providers.sh",
"path", "/etc/cre/install-kubelet-credential-providers.sh",
),
gomega.HaveKeyWithValue(
"path", "/etc/kubernetes/image-credential-provider-config.yaml",
Expand All @@ -149,7 +149,7 @@ func TestGeneratePatches(
Operation: "add",
Path: "/spec/template/spec/kubeadmConfigSpec/preKubeadmCommands",
ValueMatcher: gomega.ContainElement(
"/bin/bash /etc/konvoy/install-kubelet-credential-providers.sh",
"/bin/bash /etc/cre/install-kubelet-credential-providers.sh",
),
},
{
Expand Down Expand Up @@ -198,7 +198,7 @@ func TestGeneratePatches(
Path: "/spec/template/spec/files",
ValueMatcher: gomega.ContainElements(
gomega.HaveKeyWithValue(
"path", "/etc/konvoy/install-kubelet-credential-providers.sh",
"path", "/etc/cre/install-kubelet-credential-providers.sh",
),
gomega.HaveKeyWithValue(
"path", "/etc/kubernetes/image-credential-provider-config.yaml",
Expand All @@ -212,7 +212,7 @@ func TestGeneratePatches(
Operation: "add",
Path: "/spec/template/spec/preKubeadmCommands",
ValueMatcher: gomega.ContainElement(
"/bin/bash /etc/konvoy/install-kubelet-credential-providers.sh",
"/bin/bash /etc/cre/install-kubelet-credential-providers.sh",
),
},
{
Expand Down Expand Up @@ -258,7 +258,7 @@ func TestGeneratePatches(
Path: "/spec/template/spec/files",
ValueMatcher: gomega.ContainElements(
gomega.HaveKeyWithValue(
"path", "/etc/konvoy/install-kubelet-credential-providers.sh",
"path", "/etc/cre/install-kubelet-credential-providers.sh",
),
gomega.HaveKeyWithValue(
"path", "/etc/kubernetes/image-credential-provider-config.yaml",
Expand All @@ -275,7 +275,7 @@ func TestGeneratePatches(
Operation: "add",
Path: "/spec/template/spec/preKubeadmCommands",
ValueMatcher: gomega.ContainElement(
"/bin/bash /etc/konvoy/install-kubelet-credential-providers.sh",
"/bin/bash /etc/cre/install-kubelet-credential-providers.sh",
),
},
{
Expand Down
Loading