diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-04-14 02:05:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-04-14 02:05:45 +0200 |
commit | 162f7939376714306c8492f8c7a7eff25381bddb (patch) | |
tree | a8958e720bc18bbfd69cf6c752e77e49caac9e96 /setup/projects/adei | |
parent | bc6b5cb5ad7dec5158e0005433b02a951daf9191 (diff) | |
download | ands-162f7939376714306c8492f8c7a7eff25381bddb.tar.gz ands-162f7939376714306c8492f8c7a7eff25381bddb.tar.bz2 ands-162f7939376714306c8492f8c7a7eff25381bddb.tar.xz ands-162f7939376714306c8492f8c7a7eff25381bddb.zip |
Fine tune ADEI configuration
Diffstat (limited to 'setup/projects/adei')
-rw-r--r-- | setup/projects/adei/templates/01-webdav-secret.yml.j2 | 4 | ||||
-rw-r--r-- | setup/projects/adei/templates/60-adei.yml.j2 | 7 | ||||
-rw-r--r-- | setup/projects/adei/vars/globals.yml | 31 |
3 files changed, 26 insertions, 16 deletions
diff --git a/setup/projects/adei/templates/01-webdav-secret.yml.j2 b/setup/projects/adei/templates/01-webdav-secret.yml.j2 index f09b1ec..9dc978d 100644 --- a/setup/projects/adei/templates/01-webdav-secret.yml.j2 +++ b/setup/projects/adei/templates/01-webdav-secret.yml.j2 @@ -14,4 +14,6 @@ objects: template.openshift.io/expose-repo: '{.data[''repo'']}' name: webdav stringData: - repo: "https+webdav://adei:{{ kaas_project_config.adei_password }}@darksoft.org/openshift" + repo: "https+webdav://darksoft.org/openshift" + user: "adei" + password: "{{ kaas_project_config.adei_password }}" diff --git a/setup/projects/adei/templates/60-adei.yml.j2 b/setup/projects/adei/templates/60-adei.yml.j2 index 45bdfae..c7c53f9 100644 --- a/setup/projects/adei/templates/60-adei.yml.j2 +++ b/setup/projects/adei/templates/60-adei.yml.j2 @@ -189,13 +189,12 @@ objects: timeoutSeconds: 1 periodSeconds: 300 initialDelaySeconds: 300 - httpGet: - path: /adei/probe.php + tcpSocket: port: 8080 readinessProbe: timeoutSeconds: 1 - periodSeconds: 10 - initialDelaySeconds: 10 + periodSeconds: 30 + initialDelaySeconds: 5 httpGet: path: /adei/probe.php port: 8080 diff --git a/setup/projects/adei/vars/globals.yml b/setup/projects/adei/vars/globals.yml index 1784b61..c890796 100644 --- a/setup/projects/adei/vars/globals.yml +++ b/setup/projects/adei/vars/globals.yml @@ -3,8 +3,12 @@ adei_domain: "{{ openshift_master_default_subdomain }}" adei_pod_history_limit: 2 adei_pod_env: + - name: "ENV" + value: "~/.bashrc" - name: "HOME" - value: "/tmp" + value: "/data/home" + - name: "SHELL" + value: "/bin/bash" - name: "MYSQL_PORT" value: "3306" - name: "MYSQL_USER" @@ -28,11 +32,24 @@ adei_pod_env: value: "INNODB" - name: "ADEI_TRANSACTION_SIZE" value: "1000" + - name: "BZR_EMAIL" + value: "${maintainer}" - name: "ADEI_REPOSITORY" valueFrom: secretKeyRef: name: webdav key: repo + - name: "ADEI_REPOSITORY_USER" + valueFrom: + secretKeyRef: + name: webdav + key: user +# - name: "ADEI_REPOSITORY_PASSWORD" +# valueFrom: +# secretKeyRef: +# name: webdav +# key: password + adei_prod_env: - name: "MYSQL_SERVER" @@ -62,7 +79,7 @@ adei_log_env: - name: "ADEI_DEBUG" value: "0" - name: "APACHE_SERVERS" - value: "5" + value: "64" adei_debug_env: - name: "MYSQL_SERVER" @@ -76,7 +93,7 @@ adei_debug_env: - name: "ADEI_DEBUG" value: "0" - name: "APACHE_SERVERS" - value: "5" + value: "64" adei_cron_env: - name: "MYSQL_SERVER" @@ -103,14 +120,6 @@ adei_admin_env: value: "${sched_parallel}" - name: "ADEI_PARALLEL" value: "${cache_parallel}" - - name: "BZR_EMAIL" - value: "${maintainer}" - - name: "ENV" - value: "~/.bashrc" - - name: "HOME" - value: "/data/home" - - name: "SHELL" - value: "/bin/bash" adei_cache_env: - name: "MYSQL_SERVER" |