Skip to content

Commit

Permalink
editing tests for jenkins runs
Browse files Browse the repository at this point in the history
  • Loading branch information
aganesh-suse committed Apr 23, 2024
1 parent ef00001 commit 9879192
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions entrypoint/secretsencrypt/encryption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ var _ = Describe("Test:", func() {
})

It("Validate Pods", func() {
testcase.TestPodStatus(nil, nil, nil)
// assert.PodAssertRestart(),
// assert.PodAssertReady(),
// assert.PodAssertStatus(),
// )
testcase.TestPodStatus(
assert.PodAssertRestart(),
assert.PodAssertReady(),
assert.PodAssertStatus(),
)
})
})

Expand Down
3 changes: 3 additions & 0 deletions shared/product.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ func CertRotate(product string, ips []string) (string, error) {
}

func SecretEncryptOps(action, ip, product string) (string, error) {
if product == "rke2" {
product = "-E env \"PATH=$PATH:/usr/local/bin\" rke2"
}
secretEncryptCmd := map[string]string{
"status": fmt.Sprintf("sudo %s secrets-encrypt status", product),
"enable": fmt.Sprintf("sudo %s secrets-encrypt enable", product),
Expand Down

0 comments on commit 9879192

Please sign in to comment.