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 - 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: 2.0.5 version: 2.0.6
dependencies: dependencies:
- condition: redis.enabled - condition: redis.enabled
name: redis name: redis

View File

@ -49,7 +49,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/library/redis:6.2-alpine" image: "docker.io/bitnami/redis:7.0.13-debian-11-r10"
{{- 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 }}
@ -58,7 +58,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:5.0.17-debian-11-r5" image: "docker.io/bitnami/mongodb:5.0.21-debian-11-r5"
{{- end }} {{- 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"] 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 }} {{- end }}

View File

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