Fix images with vulnerabilities (#27733)

Fixes: [27523](https://github.com/appsmithorg/appsmith/issues/27523)
This commit is contained in:
Goutham Pratapa 2023-10-12 11:20:24 +05:30 committed by GitHub
parent 59d0f999ad
commit 7728f9bf75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

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

View File

@ -49,7 +49,7 @@ spec:
{{- if ((.Values.initContainer.redis).image) }}
image: {{ .Values.initContainer.redis.image }}
{{- else }}
image: "docker.io/library/redis:6.2-alpine"
image: "docker.io/bitnami/redis:7.0.13-debian-11-r10"
{{- 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"]
{{- end }}
@ -58,7 +58,7 @@ spec:
{{- if ((.Values.initContainer.mongodb).image) }}
image: {{ .Values.initContainer.mongodb.image }}
{{- else }}
image: "docker.io/bitnami/mongodb:5.0.17-debian-11-r5"
image: "docker.io/bitnami/mongodb:5.0.21-debian-11-r5"
{{- end }}
command: ['sh', '-c', "until mongo --host appsmith-mongodb.{{.Release.Namespace}}.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done"]
{{- end }}

View File

@ -8,6 +8,8 @@ redis:
replica:
replicaCount: 1
nodeSelector: {}
image:
tag: 7.0.13-debian-11-r10
mongodb:
enabled: true
@ -20,6 +22,8 @@ mongodb:
architecture: "replicaset"
replicaSetName: rs0
nodeSelector: {}
image:
tag: 5.0.21-debian-11-r5
arbiter:
nodeSelector: {}
hidden:
@ -62,9 +66,9 @@ strategyType: RollingUpdate
##
initContainer: {}
# redis:
# image: alpine
# image: docker.io/bitnami/redis-cluster:7.0.13-debian-11-r10
# mongodb:
# image: docker.io/bitnami/mongodb:4.4.11-debian-10-r12
# image: docker.io/bitnami/mongodb:5.0.21-debian-11-r5
## Image
##
image: