[extensions-web] openshift: added administrator configuration to template
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] openshift: added administrator configuration to template
- Date: Sat, 15 Dec 2018 10:56:21 +0000 (UTC)
commit 0acbdd69d600a4f44e9c54cf0f9ae66f1a70df55
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sat Dec 15 14:56:06 2018 +0400
openshift: added administrator configuration to template
openshift/templates/extensions-web-nginx.json | 68 +++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
---
diff --git a/openshift/templates/extensions-web-nginx.json b/openshift/templates/extensions-web-nginx.json
index 7e01f43..0acbe28 100644
--- a/openshift/templates/extensions-web-nginx.json
+++ b/openshift/templates/extensions-web-nginx.json
@@ -28,6 +28,8 @@
"name": "${NAME}"
},
"data": {
+ "administrator-name": "${EGO_ADMINISTRATOR_NAME}",
+ "administrator-email": "${EGO_ADMINISTRATOR_EMAIL}",
"allowed-host": "${APPLICATION_DOMAIN}",
"media-root": "/extensions-web/www/uploaded-files",
"static-root": "/extensions-web/www/static-files",
@@ -359,6 +361,24 @@
}
}
},
+ {
+ "name": "EGO_ADMINISTRATOR_NAME",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-name"
+ }
+ }
+ },
+ {
+ "name": "EGO_ADMINISTRATOR_EMAIL",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-email"
+ }
+ }
+ },
{
"name": "EGO_MEDIA_ROOT",
"valueFrom": {
@@ -494,6 +514,24 @@
}
}
},
+ {
+ "name": "EGO_ADMINISTRATOR_NAME",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-name"
+ }
+ }
+ },
+ {
+ "name": "EGO_ADMINISTRATOR_EMAIL",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-email"
+ }
+ }
+ },
{
"name": "EGO_MEDIA_ROOT",
"valueFrom": {
@@ -584,6 +622,24 @@
}
}
},
+ {
+ "name": "EGO_ADMINISTRATOR_NAME",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-name"
+ }
+ }
+ },
+ {
+ "name": "EGO_ADMINISTRATOR_EMAIL",
+ "valueFrom": {
+ "configMapKeyRef": {
+ "name": "${NAME}",
+ "key": "administrator-email"
+ }
+ }
+ },
{
"name": "EGO_MEDIA_ROOT",
"valueFrom": {
@@ -683,6 +739,18 @@
"description": "The exposed hostname that will route to the extensions-web service, if left blank a
value will be defaulted.",
"value": ""
},
+ {
+ "name": "EGO_ADMINISTRATOR_NAME",
+ "displayName": "Administrator name",
+ "description": "Administrator name.",
+ "value": ""
+ },
+ {
+ "name": "EGO_ADMINISTRATOR_EMAIL",
+ "displayName": "Administator email",
+ "description": "Email of administator. For error notifications.",
+ "value": ""
+ },
{
"name": "EGO_DATABASE_URL",
"displayName": "Database URL",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]