remove expose annotations from quickstarts and add bindable: false

This commit is contained in:
Jim Minter 2017-11-07 13:03:41 -06:00
parent b75ed7533d
commit dd4a001c43
3 changed files with 9 additions and 15 deletions

View file

@ -11,7 +11,8 @@
"openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration.", "openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration.",
"openshift.io/provider-display-name": "Red Hat, Inc.", "openshift.io/provider-display-name": "Red Hat, Inc.",
"openshift.io/documentation-url": "https://github.com/openshift/django-ex", "openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"openshift.io/support-url": "https://access.redhat.com" "openshift.io/support-url": "https://access.redhat.com",
"template.openshift.io/bindable": "false"
} }
}, },
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.", "message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.",
@ -58,10 +59,7 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}"
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",

View file

@ -11,7 +11,8 @@
"openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration. The database is stored in non-persistent storage, so this configuration should be used for experimental purposes only.", "openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration, application deployment configuration, and database deployment configuration. The database is stored in non-persistent storage, so this configuration should be used for experimental purposes only.",
"openshift.io/provider-display-name": "Red Hat, Inc.", "openshift.io/provider-display-name": "Red Hat, Inc.",
"openshift.io/documentation-url": "https://github.com/openshift/django-ex", "openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"openshift.io/support-url": "https://access.redhat.com" "openshift.io/support-url": "https://access.redhat.com",
"template.openshift.io/bindable": "false"
} }
}, },
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.", "message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/django-ex/blob/master/README.md.",
@ -58,10 +59,7 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}"
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",

View file

@ -11,7 +11,8 @@
"openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration and application deployment configuration. It does not include a database.", "openshift.io/long-description": "This template defines resources needed to develop a Django based application, including a build configuration and application deployment configuration. It does not include a database.",
"openshift.io/provider-display-name": "Red Hat, Inc.", "openshift.io/provider-display-name": "Red Hat, Inc.",
"openshift.io/documentation-url": "https://github.com/openshift/django-ex", "openshift.io/documentation-url": "https://github.com/openshift/django-ex",
"openshift.io/support-url": "https://access.redhat.com" "openshift.io/support-url": "https://access.redhat.com",
"template.openshift.io/bindable": "false"
} }
}, },
"labels": { "labels": {
@ -55,10 +56,7 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}"
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",