Skip to content

Commit

Permalink
[YUNIKORN-1977] Added E2E test for deploying pod and verifying user i…
Browse files Browse the repository at this point in the history
…nfo with non-kube-admin user
  • Loading branch information
rrajesh-cloudera committed Sep 16, 2024
1 parent 9412297 commit 334cbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/user_group_limit/user_group_limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ var _ = ginkgo.Describe("UserGroupLimit", func() {
gomega.Ω(err).NotTo(HaveOccurred())
currentCluster, err := GetKubeConfigValue("kubectl config current-context")
gomega.Ω(err).NotTo(HaveOccurred())
clusterCA, err := GetKubeConfigValue("kubectl config view --raw -o go-template='{{range .clusters}}{{if eq .name \"kind-yktest\"}}{{index .cluster \"certificate-authority-data\"}}{{end}}{{end}}'")
clusterCA, err := GetKubeConfigValue("kubectl config view --raw -o go-template='{{range .clusters}}{{if eq .name \"kind-yk8s\"}}{{index .cluster \"certificate-authority-data\"}}{{end}}{{end}}'")
gomega.Ω(err).NotTo(HaveOccurred())
clusterServer, err := GetKubeConfigValue(fmt.Sprintf("kubectl config view --raw -o=go-template='{{range .clusters}}{{if eq .name \"%s\"}}{{ .cluster.server }}{{end}}{{ end }}'", currentCluster))
gomega.Ω(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit 334cbb0

Please sign in to comment.