File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import (
3131 . "github.com/onsi/gomega"
3232 "go.uber.org/zap/zapcore"
3333 "golang.org/x/oauth2"
34+ corev1 "k8s.io/api/core/v1"
3435 "k8s.io/client-go/kubernetes/scheme"
3536 ctrl "sigs.k8s.io/controller-runtime"
3637 "sigs.k8s.io/controller-runtime/pkg/client"
@@ -156,6 +157,17 @@ var _ = BeforeSuite(func() {
156157
157158 requeueIntervalWhenDeploymentNotFound = 1 * time .Second
158159
160+ By ("setting up the Argo CD config" )
161+ Expect (k8sClient .Create (ctx , & corev1.ConfigMap {
162+ ObjectMeta : ctrl.ObjectMeta {
163+ Name : "argocd-cm" ,
164+ Namespace : "default" ,
165+ },
166+ Data : map [string ]string {
167+ "url" : "https://argocd.example.com" ,
168+ },
169+ })).Should (Succeed ())
170+
159171 go func () {
160172 defer GinkgoRecover ()
161173 err = k8sManager .Start (ctx )
You can’t perform that action at this time.
0 commit comments