mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
Fix file formats
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
This commit is contained in:
parent
d3a8912898
commit
4978191767
7 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ func TestCreateGitBasicSecret(t *testing.T) {
|
|||
cmd := cmdTestCase{
|
||||
args: "create secret git podinfo-auth --url=https://github.com/stefanprodan/podinfo --username=my-username --password=my-password --export",
|
||||
wantError: false,
|
||||
goldenFile: "testdata/create/secret/git/secret-git-basic.txt",
|
||||
goldenFile: "testdata/create/secret/git/secret-git-basic.yaml",
|
||||
}
|
||||
cmd.runTestCmd(t)
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@ func TestCreateGitSSHPasswordSecret(t *testing.T) {
|
|||
cmd := cmdTestCase{
|
||||
args: "create secret git podinfo-auth --url=ssh://git@github.com/stefanprodan/podinfo --private-key-file=./testdata/create/secret/git/rsa-password.private --password=password --export",
|
||||
wantError: false,
|
||||
goldenFile: "testdata/create/secret/git/git-ssh-secret-password.txt",
|
||||
goldenFile: "testdata/create/secret/git/git-ssh-secret-password.yaml",
|
||||
}
|
||||
cmd.runTestCmd(t)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ func TestCreateHelmSecret(t *testing.T) {
|
|||
cmd := cmdTestCase{
|
||||
args: "create secret helm helm-secret --username=my-username --password=my-password --export",
|
||||
wantError: false,
|
||||
goldenFile: "testdata/create/secret/helm/secret-helm.txt",
|
||||
goldenFile: "testdata/create/secret/helm/secret-helm.yaml",
|
||||
}
|
||||
cmd.runTestCmd(t)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ func TestCreateTlsSecret(t *testing.T) {
|
|||
cmd := cmdTestCase{
|
||||
args: "create secret tls certs --namespace=my-namespace --cert-file=./testdata/create/secret/tls/test-cert.pem --key-file=./testdata/create/secret/tls/test-key.pem --export",
|
||||
wantError: false,
|
||||
goldenFile: "testdata/create/secret/tls/secret-tls.txt",
|
||||
goldenFile: "testdata/create/secret/tls/secret-tls.yaml",
|
||||
}
|
||||
cmd.runTestCmd(t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue