Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RemoteTemplate resource to fetch remote templates #1168

Closed
wants to merge 1 commit into from

Conversation

csrwng
Copy link
Contributor

@csrwng csrwng commented Feb 26, 2015

We need to be able to fetch a template in the UI from a user-supplied URL. This PR does that via a virtual resource that points to the location of the template.

@csrwng
Copy link
Contributor Author

csrwng commented Feb 26, 2015

@jwforres FYI

@smarterclayton smarterclayton modified the milestone: 0.5.0 Mar 2, 2015
@csrwng
Copy link
Contributor Author

csrwng commented Mar 2, 2015

@smarterclayton - this is to allow the UI to fetch remote templates you specify by URL. Please take a look when you get some time.

@smarterclayton
Copy link
Contributor

Did you add using local templates yet? We should probably wire that up first and validate the experience is right.

On Mar 2, 2015, at 11:40 AM, Cesar Wong notifications@github.com wrote:

@smarterclayton - this is to allow the UI to fetch remote templates you specify by URL. Please take a look when you get some time.


Reply to this email directly or view it on GitHub.

@smarterclayton
Copy link
Contributor

By local I meant "stored on the current Openshift server" not filesystem local

On Mar 2, 2015, at 11:40 AM, Cesar Wong notifications@github.com wrote:

@smarterclayton - this is to allow the UI to fetch remote templates you specify by URL. Please take a look when you get some time.


Reply to this email directly or view it on GitHub.

@csrwng
Copy link
Contributor Author

csrwng commented Mar 2, 2015

Yup, templates from the openshift server do work with my create page.

@smarterclayton
Copy link
Contributor

I mean in new app.

On Mar 2, 2015, at 2:02 PM, Cesar Wong notifications@github.com wrote:

Yup, templates from the openshift server do work with my create page.


Reply to this email directly or view it on GitHub.

@smarterclayton
Copy link
Contributor

Why isn't the client doing this?

@smarterclayton
Copy link
Contributor

I'm uncomfortable with the OpenShift server making the request on the user's behalf - it has lots of issues. In some environments, the server won't be able to make external network calls. Also, it becomes an avenue for a client to make OpenShift act as a proxy and make malicious calls.

@csrwng
Copy link
Contributor Author

csrwng commented Mar 4, 2015

The client isn't doing this because the request is going to be to a different domain.

@smarterclayton
Copy link
Contributor

So this is a proxy that can be used to make the master contact arbitrary remote servers and download arbitrary amounts of data? I'd rather just drop this feature for now than deal with those headaches.

----- Original Message -----

The client isn't doing this because the request is going to be to a different
domain.


Reply to this email directly or view it on GitHub:
#1168 (comment)

@csrwng
Copy link
Contributor Author

csrwng commented Mar 4, 2015

Well, the data has to be something that can be deserialized into a valid template. So it's not necessarily arbitrary, but yeah you can always do this from the CLI.

@csrwng csrwng closed this Mar 4, 2015
@smarterclayton
Copy link
Contributor

I mean, I could have a server that generates 3 GB of JSON cheaply and bring down the openshift server

----- Original Message -----

Well, the data has to be something that can be deserialized into a valid
template. So it's not necessarily arbitrary, but yeah you can always do this
from the CLI.


Reply to this email directly or view it on GitHub:
#1168 (comment)

@csrwng csrwng deleted the remote_template_resource branch July 20, 2015 17:05
jpeeler added a commit to jpeeler/origin that referenced this pull request Sep 5, 2017
…service-catalog/' changes from 7e650e7e39..ef63307bdb

ef63307bdb origin build: add origin tooling
a876fe3 v0.0.17 (openshift#1178)
c5237fe correct osbapi service definition (openshift#1177)
6036d4e Adding walkthrough instructions for 1.7 (openshift#1171)
5f111dd Specifying that you need Helm v2.5.0 for installation (openshift#1170)
08043bd Adding more small fixes to the walkthrough & install docs (openshift#1169)
d65d4a1 rbac targets needed to be renamed as well (openshift#1161)
590f6f2 Write helm command to file for api aggregation (openshift#1141)
49ddcf6 clean before building a specific arch (openshift#1168)
43f7cfb Splitting up the Walkthrough for 1.6 and 1.7 instructions (openshift#1163)
02e0217 Updates to README (openshift#1166)
57f2aa5 Adding instructions for installing from Macs (openshift#1164)
dfe620e fix rate-limiting for polling queue (openshift#1143)
ca5f335 Use Generation instead of checksum for Broker (openshift#1145)
5364daa Merge branch 'pr/1158'
f34c5db move Travis deployment script to directory in 'contrib/'
2a00d7f Update incorrect port (openshift#1156)
b0ed60e improve the repository's layout (openshift#1154)
f870baf Follow up file / renames from openshift#1142 (openshift#1152)
826b4f9 remove unnecessary json annotations (openshift#1153)
33cb345 Rename resources. closes openshift#1080 (openshift#1142)
70c2b9b Add ability to specify CA certs to use for TLS authentication. (openshift#1112)
2aa5039 v0.0.16 (openshift#1140)
65de49c Comments for unit test bullet proofing (openshift#1139)
REVERT: 7e650e7e39 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: ef63307bdbaa64efca204912f5361a4f3d3be2c8
jpeeler added a commit to jpeeler/origin that referenced this pull request Sep 11, 2017
…service-catalog/' changes from 7e650e7e39..ef63307bdb

ef63307bdb origin build: add origin tooling
a876fe3 v0.0.17 (openshift#1178)
c5237fe correct osbapi service definition (openshift#1177)
6036d4e Adding walkthrough instructions for 1.7 (openshift#1171)
5f111dd Specifying that you need Helm v2.5.0 for installation (openshift#1170)
08043bd Adding more small fixes to the walkthrough & install docs (openshift#1169)
d65d4a1 rbac targets needed to be renamed as well (openshift#1161)
590f6f2 Write helm command to file for api aggregation (openshift#1141)
49ddcf6 clean before building a specific arch (openshift#1168)
43f7cfb Splitting up the Walkthrough for 1.6 and 1.7 instructions (openshift#1163)
02e0217 Updates to README (openshift#1166)
57f2aa5 Adding instructions for installing from Macs (openshift#1164)
dfe620e fix rate-limiting for polling queue (openshift#1143)
ca5f335 Use Generation instead of checksum for Broker (openshift#1145)
5364daa Merge branch 'pr/1158'
f34c5db move Travis deployment script to directory in 'contrib/'
2a00d7f Update incorrect port (openshift#1156)
b0ed60e improve the repository's layout (openshift#1154)
f870baf Follow up file / renames from openshift#1142 (openshift#1152)
826b4f9 remove unnecessary json annotations (openshift#1153)
33cb345 Rename resources. closes openshift#1080 (openshift#1142)
70c2b9b Add ability to specify CA certs to use for TLS authentication. (openshift#1112)
2aa5039 v0.0.16 (openshift#1140)
65de49c Comments for unit test bullet proofing (openshift#1139)
REVERT: 7e650e7e39 origin build: add origin tooling

git-subtree-dir: cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog
git-subtree-split: ef63307bdbaa64efca204912f5361a4f3d3be2c8
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
- make gets tricked by the existence of the binaries, and the build is
   very happy to just copy whatever binary exists at the time. All
   existing non-amd64 builds contain amd64 binaries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants