Skip to content

Commit 7e09924

Browse files
mircea-cosbucJulien-BenMaciejKarasanandsyncs
authored
Cherry-pick: Rename init container (#64) (#144)
# Summary All our init images have been renamed from mongodb-enterprise- to mongodb-kubernetes- There was a mistake in `controllers/operator/construct/appdb_construction.go` --------- # Summary <!-- Enter your issue summary here.--> ## Proof of Work <!-- Enter your proof that it works here.--> ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you checked for release_note changes? ## Reminder (Please remove this when merging) - Please try to Approve or Reject Changes the PR, keep PRs in review as short as possible - Our Short Guide for PRs: [Link](https://docs.google.com/document/d/1T93KUtdvONq43vfTfUt8l92uo4e4SEEvFbIEKOxGr44/edit?tab=t.0) - Remember the following Communication Standards - use comment prefixes for clarity: * **blocking**: Must be addressed before approval. * **follow-up**: Can be addressed in a later PR or ticket. * **q**: Clarifying question. * **nit**: Non-blocking suggestions. * **note**: Side-note, non-actionable. Example: Praise * --> no prefix is considered a question Co-authored-by: Julien-Ben <[email protected]> Co-authored-by: Maciej Karaś <[email protected]> Co-authored-by: Maciej Karaś <[email protected]> Co-authored-by: Anand <[email protected]>
1 parent ff4ac11 commit 7e09924

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controllers/operator/construct/appdb_construction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333

3434
const (
3535
appDBServiceAccount = "mongodb-kubernetes-appdb"
36-
InitAppDbContainerName = "mongodb-enterprise-init-appdb"
36+
InitAppDbContainerName = "mongodb-kubernetes-init-appdb"
3737
// AppDB environment variable names
3838
InitAppdbVersionEnv = "INIT_APPDB_VERSION"
3939
podNamespaceEnv = "POD_NAMESPACE"

controllers/operator/construct/database_construction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const (
4848
databaseLivenessProbeCommand = "/opt/scripts/probe.sh"
4949
databaseReadinessProbeCommand = "/opt/scripts/readinessprobe"
5050

51-
InitDatabaseContainerName = "mongodb-enterprise-init-database"
51+
InitDatabaseContainerName = "mongodb-kubernetes-init-database"
5252

5353
// Database environment variable names
5454
InitDatabaseVersionEnv = "INIT_DATABASE_VERSION"

0 commit comments

Comments
 (0)