From 986f8043f85e8f2667746ffc4b69b2a35c5b5272 Mon Sep 17 00:00:00 2001 From: Tomas Pizarro Date: Fri, 21 Sep 2018 16:40:47 +0200 Subject: [PATCH] [stable/suitecrm] Add suitecrmValidateUserIP new option (#7895) * [stable/suitecrm] Add suitecrmValidateUserIP new option Signed-off-by: tompizmor * Bump minor version Signed-off-by: tompizmor --- stable/suitecrm/Chart.yaml | 2 +- stable/suitecrm/README.md | 1 + stable/suitecrm/templates/deployment.yaml | 2 ++ stable/suitecrm/values.yaml | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stable/suitecrm/Chart.yaml b/stable/suitecrm/Chart.yaml index 16eb8aae10..9fcafe3e1e 100644 --- a/stable/suitecrm/Chart.yaml +++ b/stable/suitecrm/Chart.yaml @@ -1,5 +1,5 @@ name: suitecrm -version: 3.0.0 +version: 3.1.0 appVersion: 7.10.9 description: SuiteCRM is a completely open source enterprise-grade Customer Relationship Management (CRM) application. SuiteCRM is a software fork of the popular customer relationship management (CRM) system SugarCRM. keywords: diff --git a/stable/suitecrm/README.md b/stable/suitecrm/README.md index 8fda908718..e5e0d98627 100644 --- a/stable/suitecrm/README.md +++ b/stable/suitecrm/README.md @@ -63,6 +63,7 @@ The following table lists the configurable parameters of the SuiteCRM chart and | `suitecrmSmtpUser` | SMTP user | `nil` | | `suitecrmSmtpPassword` | SMTP password | `nil` | | `suitecrmSmtpProtocol` | SMTP protocol [`ssl`, `tls`] | `nil` | +| `suitecrmValidateUserIP` | Whether to validate the user IP address or not | `no` | | `allowEmptyPassword` | Allow DB blank passwords | `yes` | | `externalDatabase.host` | Host of the external database | `nil` | | `externalDatabase.port` | Port of the external database | `3306` | diff --git a/stable/suitecrm/templates/deployment.yaml b/stable/suitecrm/templates/deployment.yaml index c171575bc8..a7b5d61a9a 100644 --- a/stable/suitecrm/templates/deployment.yaml +++ b/stable/suitecrm/templates/deployment.yaml @@ -33,6 +33,8 @@ spec: env: - name: ALLOW_EMPTY_PASSWORD value: {{ .Values.allowEmptyPassword | quote }} + - name: SUITECRM_VALIDATE_USER_IP + value: {{ .Values.suitecrmValidateUserIP | quote }} {{- if .Values.mariadb.enabled }} - name: MARIADB_HOST value: {{ template "suitecrm.mariadb.fullname" . }} diff --git a/stable/suitecrm/values.yaml b/stable/suitecrm/values.yaml index bed8f087b4..b5f14d1d51 100644 --- a/stable/suitecrm/values.yaml +++ b/stable/suitecrm/values.yaml @@ -22,6 +22,11 @@ image: ## # suitecrmHost: +## SuiteCRM validate user IP +## ref: https://github.com/bitnami/bitnami-docker-suitecrm#configuration +## +suitecrmValidateUserIP: "no" + ## loadBalancerIP for the SuiteCRM Service (optional, cloud specific) ## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer ##