diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index 6802dd60d5..c62ecf37fd 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -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.2.0 +version: 2.2.1 dependencies: - condition: redis.enabled name: redis diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yaml index e2f2857c63..9a17907b27 100644 --- a/deploy/helm/templates/statefulset.yaml +++ b/deploy/helm/templates/statefulset.yaml @@ -70,7 +70,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 80 + containerPort: {{ .Values.HTTPContainerPort | default 80 }} protocol: TCP - name: https containerPort: 443 @@ -101,6 +101,10 @@ spec: - name: data mountPath: /appsmith-stacks env: + {{- if .Values.HTTPContainerPort }} + - name: PORT + value: "{{ .Values.HTTPContainerPort }}" + {{- end }} - name: APPSMITH_ENABLE_EMBEDDED_DB value: "0" envFrom: diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index a48f6a463d..5616997199 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -316,3 +316,5 @@ applicationConfig: APPSMITH_ENCRYPTION_SALT: "" APPSMITH_CUSTOM_DOMAIN: "" APPSMITH_DISABLE_IFRAME_WIDGET_SANDBOX: "false" + +#HTTPContainerPort: 8080