fix: bitnami image hardcoded in init container definition (#41257)

## Description

Hardcoded image reference was missed in the previous Bitnami image fix. 

see: https://github.com/bitnami/charts/issues/35256

Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- Init container images for Redis, MongoDB, and PostgreSQL now respect
chart values for registry, repository, and tag, allowing customization
and private registry support. Defaults are no longer hardcoded; behavior
for explicitly provided custom images remains unchanged. This helps with
compliance, air-gapped deployments, and consistency.
- Chores
  - Bumped Helm chart to 3.6.5.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Wyatt Walter 2025-09-23 09:41:54 -05:00 committed by GitHub
parent 2945431dea
commit 903d952854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View File

@ -11,7 +11,7 @@ sources:
- https://github.com/appsmithorg/appsmith - https://github.com/appsmithorg/appsmith
home: https://www.appsmith.com/ home: https://www.appsmith.com/
icon: https://assets.appsmith.com/appsmith-icon.png icon: https://assets.appsmith.com/appsmith-icon.png
version: 3.6.4 version: 3.6.5
dependencies: dependencies:
- condition: redis.enabled - condition: redis.enabled
name: redis name: redis

View File

@ -65,7 +65,7 @@ spec:
{{- if ((.Values.initContainer.redis).image) }} {{- if ((.Values.initContainer.redis).image) }}
image: {{ .Values.initContainer.redis.image }} image: {{ .Values.initContainer.redis.image }}
{{- else }} {{- else }}
image: "docker.io/redis:7.0.15" image: "{{ .Values.redis.image.registry }}/{{ .Values.redis.image.repository }}:{{ .Values.redis.image.tag }}"
{{- end }} {{- end }}
command: ['sh', '-c', "until redis-cli -h {{.Release.Name}}-redis-master.{{.Release.Namespace}}.svc.cluster.local ping ; do echo waiting for redis; sleep 2; done"] command: ['sh', '-c', "until redis-cli -h {{.Release.Name}}-redis-master.{{.Release.Namespace}}.svc.cluster.local ping ; do echo waiting for redis; sleep 2; done"]
{{- end }} {{- end }}
@ -74,7 +74,7 @@ spec:
{{- if ((.Values.initContainer.mongodb).image) }} {{- if ((.Values.initContainer.mongodb).image) }}
image: {{ .Values.initContainer.mongodb.image }} image: {{ .Values.initContainer.mongodb.image }}
{{- else }} {{- else }}
image: "docker.io/bitnami/mongodb:6.0.13" image: "{{ .Values.mongodb.image.registry }}/{{ .Values.mongodb.image.repository }}:{{ .Values.mongodb.image.tag }}"
{{- end }} {{- end }}
command: ['sh', '-c', "until mongosh --host appsmith-mongodb.{{.Release.Namespace}}.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done"] command: ['sh', '-c', "until mongosh --host appsmith-mongodb.{{.Release.Namespace}}.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done"]
{{- end }} {{- end }}
@ -83,7 +83,7 @@ spec:
{{- if ((.Values.initContainer.postgresql).image) }} {{- if ((.Values.initContainer.postgresql).image) }}
image: {{ .Values.initContainer.postgresql.image }} image: {{ .Values.initContainer.postgresql.image }}
{{- else}} {{- else}}
image: docker.io/bitnami/postgresql:14.5.0-debian-11-r21 image: "{{ .Values.postgresql.image.registry }}/{{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}"
{{- end}} {{- end}}
command: ['sh', '-c', "until pg_isready -U $postgresuser -d $postgresdb -h {{.Release.Name}}-postgresql.{{.Release.Namespace}}.svc.cluster.local; do echo waiting for postgresql; sleep 2; done"] command: ['sh', '-c', "until pg_isready -U $postgresuser -d $postgresdb -h {{.Release.Name}}-postgresql.{{.Release.Namespace}}.svc.cluster.local; do echo waiting for postgresql; sleep 2; done"]
{{- end }} {{- end }}

View File

@ -25,7 +25,7 @@
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: appsmith app.kubernetes.io/name: appsmith
appsmith.sh/chart: appsmith-3.6.4 appsmith.sh/chart: appsmith-3.6.5
name: RELEASE-NAME-appsmith name: RELEASE-NAME-appsmith
namespace: NAMESPACE namespace: NAMESPACE
3: | 3: |
@ -36,7 +36,7 @@
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: appsmith app.kubernetes.io/name: appsmith
appsmith.sh/chart: appsmith-3.6.4 appsmith.sh/chart: appsmith-3.6.5
name: RELEASE-NAME-appsmith name: RELEASE-NAME-appsmith
namespace: NAMESPACE namespace: NAMESPACE
spec: spec:
@ -114,13 +114,13 @@
- sh - sh
- -c - -c
- until mongosh --host appsmith-mongodb.NAMESPACE.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done - until mongosh --host appsmith-mongodb.NAMESPACE.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done
image: docker.io/bitnami/mongodb:6.0.13 image: docker.io/bitnamilegacy/mongodb:6.0.13
name: mongo-init-container name: mongo-init-container
- command: - command:
- sh - sh
- -c - -c
- until pg_isready -U $postgresuser -d $postgresdb -h RELEASE-NAME-postgresql.NAMESPACE.svc.cluster.local; do echo waiting for postgresql; sleep 2; done - until pg_isready -U $postgresuser -d $postgresdb -h RELEASE-NAME-postgresql.NAMESPACE.svc.cluster.local; do echo waiting for postgresql; sleep 2; done
image: docker.io/bitnami/postgresql:14.5.0-debian-11-r21 image: docker.io/bitnamilegacy/postgresql:14.12.0
name: psql-init-container name: psql-init-container
securityContext: {} securityContext: {}
serviceAccountName: RELEASE-NAME-appsmith serviceAccountName: RELEASE-NAME-appsmith
@ -143,7 +143,7 @@
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: appsmith app.kubernetes.io/name: appsmith
appsmith.sh/chart: appsmith-3.6.4 appsmith.sh/chart: appsmith-3.6.5
name: RELEASE-NAME-appsmith-headless name: RELEASE-NAME-appsmith-headless
namespace: NAMESPACE namespace: NAMESPACE
spec: spec:
@ -182,7 +182,7 @@
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: appsmith app.kubernetes.io/name: appsmith
appsmith.sh/chart: appsmith-3.6.4 appsmith.sh/chart: appsmith-3.6.5
name: RELEASE-NAME-appsmith name: RELEASE-NAME-appsmith
namespace: NAMESPACE namespace: NAMESPACE
spec: spec:
@ -203,7 +203,7 @@
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: appsmith app.kubernetes.io/name: appsmith
appsmith.sh/chart: appsmith-3.6.4 appsmith.sh/chart: appsmith-3.6.5
name: RELEASE-NAME-appsmith name: RELEASE-NAME-appsmith
namespace: NAMESPACE namespace: NAMESPACE
secrets: secrets: