cockpit https support
by Paul Cuzner
Hi,
I can see in the docs that there is http based support for cockpit to
interact with HTTP endpoint, which works fine.
Could anyone clarify the approach when the endpoint that the plugin
needs to interact with is https instead of http (I'm assuming most
REST interfaces will be secure at least over the wire!)?
Any info appreciated.
Thanks,
PC
5 years, 1 month
GitHub policy change for PRs
by Martin Pitt
Hello all,
For cockpit's master branch I just refined the branch protection rules to
enable this:
Dismiss stale pull request approvals when new commits are pushed
New reviewable commits pushed to a matching branch will dismiss pull request review approvals.
This is something which we already agreed to follow, and this should formalize
it and automatically remove approvals on force pushes.
Please speak up if this causes any trouble.
For cockpit-{podman,ostree} I restricted the rules even more to *require* green
tests for landing, and completely disallow direct pushes to master. In
cockpit.git we aren't quite there yet, though.
Thanks,
Martin
5 years, 2 months
Plugin Question
by Paul Cuzner
Hi,
I have a REST API that's running on localhost (flask app) that I'd like to
access with a cockpit plugin. I've done a few initial tests but I'm finding
it difficult to navigate the CORS and Content-Security-Policy - so before I
invest any more time in this, I thought I'd ask the dumb question first.
Is this goal achievable? Can a cockpit plugin access a REST API running on
the same host - if so, could someone provide some guidance, or point me at
some docs?
I'm testing on Fedora, but the longer term goal is to use RHEL.
Any help appreciated!
Paul C
5 years, 2 months