fix: helm install values checks (#19296)
## Description - Updated ngnix as default ingress class in `values.yaml` - Upgraded mongo's deployment image to `v5.0.12` as the previous 4.4.11 is deprecated - Added `imagePullSecrets` to enable pulling images from private docker registries - Added conditional to check for k8s version >=1.1.8 to handle both old and new k8s version scenarios for setting up the Ingress controller class name. Co-authored-by: Goutham Pratapa <goutham@appsmith.com>
This commit is contained in:
parent
a1b07e21c7
commit
c93ed4f54c
|
|
@ -21,6 +21,6 @@ dependencies:
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
- condition: mongodb.enabled
|
- condition: mongodb.enabled
|
||||||
name: mongodb
|
name: mongodb
|
||||||
version: 10.31.5
|
version: 13.6.0
|
||||||
appVersion: 4.4.11
|
appVersion: 5.0.12
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,9 @@ spec:
|
||||||
secretName: {{ .secretName }}
|
secretName: {{ .secretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ingressClassName: {{ .Values.ingress.className }}
|
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion }}
|
||||||
|
ingressClassName: {{ .Values.ingress.className | default "nginx" }}
|
||||||
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- if not .Values.ingress.hosts }}
|
{{- if not .Values.ingress.hosts }}
|
||||||
- host:
|
- host:
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,10 @@ spec:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.secretName }}
|
name: {{ .Values.secretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.image.pullSecrets}}
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: {{ .Values.image.pullSecrets }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- if not .Values.persistence.enabled }}
|
{{- if not .Values.persistence.enabled }}
|
||||||
- name: data
|
- name: data
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ image:
|
||||||
registry: index.docker.io
|
registry: index.docker.io
|
||||||
repository: appsmith/appsmith-ce
|
repository: appsmith/appsmith-ce
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
pullSecrets: ""
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "latest"
|
tag: "latest"
|
||||||
## ServiceAccount
|
## ServiceAccount
|
||||||
|
|
@ -180,7 +181,7 @@ ingress:
|
||||||
## e.g:
|
## e.g:
|
||||||
## className: "nginx"
|
## className: "nginx"
|
||||||
##
|
##
|
||||||
className: ""
|
className: "nginx"
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user