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

Enable x-frame options #67

Open
ostenbom opened this issue Jun 30, 2020 · 2 comments
Open

Enable x-frame options #67

ostenbom opened this issue Jun 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@ostenbom
Copy link

Concourse supports configuring the x-frame options of the web worker. Docs link here.

We would love to be able to embed our concourse deployment into our other dashboards. Would it be possible to add this option to control tower?

I think that this could be done very similarly to how the "enable global resources" was added.

Happy to contribute with a pull request if applicable.

Thanks!

@irbekrm
Copy link
Contributor

irbekrm commented Jul 3, 2020

Hi @ostenbom ,

Thanks for the suggestion, we could implement this if it is useful.

Thanks for offering to contribute!
It does look like it could be quite similar to how 'enable global resources' was added, as you say.
The commit you linked adds a CLI flag for the new property to the Control Tower codebase. Additionally, Control Tower deploys Concourse as a Bosh release and the Bosh manifest for the deployment is not a part of this repository. Configuring x-frame options for Bosh deployed Concourse would probably involve adding this property to the deployment manifest. We have a process which involves pushing the deployment manifest to a private repo, testing it and then publishing a new release of the manifest to the public control-tower-ops repo. If you were to contribute, you could probably manually add this property to the manifest in control-tower-ops (See docs about Control Tower development) for local testing. Then, when it's ready, we could update the original manifest file.
Let us know what you think, I will in any case add a story to our backlog for this.

@ostenbom
Copy link
Author

ostenbom commented Jul 3, 2020

Thanks for pointing me in the right direction @irbekrm! I have opened a pull request with an initial implementation where we can continue the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants