Skip to content

Commit a9a9733

Browse files
committed
f
1 parent dce1267 commit a9a9733

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

install/installer/pkg/common/common.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ func RedisWaiterContainer(ctx *RenderContext) *corev1.Container {
512512
// ServerComponentWaiterContainer is the container used to wait for the deployment/server to be ready
513513
// it requires
514514
// - pods list access to the cluster
515-
// - configcat env
516515
func ServerComponentWaiterContainer(ctx *RenderContext) *corev1.Container {
517516
image := ctx.ImageName(ctx.Config.Repository, ServerComponent, ctx.VersionManifest.Components.Server.Version)
518517
return componentWaiterContainer(ctx, ServerComponent, DefaultLabelSelector(ServerComponent), image)
@@ -521,7 +520,6 @@ func ServerComponentWaiterContainer(ctx *RenderContext) *corev1.Container {
521520
// PublicApiServerComponentWaiterContainer is the container used to wait for the deployment/public-api-server to be ready
522521
// it requires
523522
// - pods list access to the cluster
524-
// - configcat env
525523
func PublicApiServerComponentWaiterContainer(ctx *RenderContext) *corev1.Container {
526524
image := ctx.ImageName(ctx.Config.Repository, PublicApiComponent, ctx.VersionManifest.Components.PublicAPIServer.Version)
527525
return componentWaiterContainer(ctx, PublicApiComponent, DefaultLabelSelector(PublicApiComponent), image)
@@ -550,6 +548,7 @@ func componentWaiterContainer(ctx *RenderContext, component, labels, image strin
550548
AllowPrivilegeEscalation: pointer.Bool(false),
551549
RunAsUser: pointer.Int64(31001),
552550
},
551+
Env: ConfigcatEnv(ctx),
553552
}
554553
}
555554

install/installer/pkg/components/dashboard/deployment.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func deployment(ctx *common.RenderContext) ([]runtime.Object, error) {
7272
},
7373
Env: common.CustomizeEnvvar(ctx, Component, common.MergeEnv(
7474
common.DefaultEnv(&ctx.Config),
75-
common.ConfigcatEnv(ctx),
7675
)),
7776
ReadinessProbe: &corev1.Probe{
7877
ProbeHandler: corev1.ProbeHandler{

0 commit comments

Comments
 (0)