@@ -512,7 +512,6 @@ func RedisWaiterContainer(ctx *RenderContext) *corev1.Container {
512
512
// ServerComponentWaiterContainer is the container used to wait for the deployment/server to be ready
513
513
// it requires
514
514
// - pods list access to the cluster
515
- // - configcat env
516
515
func ServerComponentWaiterContainer (ctx * RenderContext ) * corev1.Container {
517
516
image := ctx .ImageName (ctx .Config .Repository , ServerComponent , ctx .VersionManifest .Components .Server .Version )
518
517
return componentWaiterContainer (ctx , ServerComponent , DefaultLabelSelector (ServerComponent ), image )
@@ -521,7 +520,6 @@ func ServerComponentWaiterContainer(ctx *RenderContext) *corev1.Container {
521
520
// PublicApiServerComponentWaiterContainer is the container used to wait for the deployment/public-api-server to be ready
522
521
// it requires
523
522
// - pods list access to the cluster
524
- // - configcat env
525
523
func PublicApiServerComponentWaiterContainer (ctx * RenderContext ) * corev1.Container {
526
524
image := ctx .ImageName (ctx .Config .Repository , PublicApiComponent , ctx .VersionManifest .Components .PublicAPIServer .Version )
527
525
return componentWaiterContainer (ctx , PublicApiComponent , DefaultLabelSelector (PublicApiComponent ), image )
@@ -550,6 +548,7 @@ func componentWaiterContainer(ctx *RenderContext, component, labels, image strin
550
548
AllowPrivilegeEscalation : pointer .Bool (false ),
551
549
RunAsUser : pointer .Int64 (31001 ),
552
550
},
551
+ Env : ConfigcatEnv (ctx ),
553
552
}
554
553
}
555
554
0 commit comments