Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions pkg/infrastructure/bounds_seeder.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ import (

const (
// Production cluster hardcoded details.
// The cbt deployment (and its Redis) lives in the clickhouse namespace since the
// clickhouse-raw migration; it was previously xatu-cbt in the xatu namespace.
prodK8sContext = "platform-analytics-hel1-production"
prodNamespace = "xatu"
prodNamespace = "clickhouse"

// localRedisContainer is the local Docker container name for xatu-cbt Redis.
localRedisContainer = "xatu-cbt-redis"
Expand Down Expand Up @@ -258,8 +260,8 @@ func (s *BoundsSeeder) bulkInsertLocal(ctx context.Context, redisDB int, bounds

// prodRedisDetails returns the production Redis pod name and password k8s secret name for a network.
func prodRedisDetails(network string) (podName, secretName string) {
return fmt.Sprintf("%s-xatu-cbt-redis-node-0", network),
fmt.Sprintf("%s-xatu-cbt-redis", network)
return fmt.Sprintf("%s-cbt-redis-node-0", network),
fmt.Sprintf("%s-cbt-redis", network)
}

// stripRedisPrefix removes the "N) " prefix that redis-cli adds to array elements.
Expand Down
Loading