No description
Find a file
Luke Granger-Brown 04c3a8431b go/openshiftauth: init
This is a small "library" for wrapping binaries with magic OAuth authentication based on the automatically-injected k8s service account tokens and OpenShift's OAuth service.

There's an example of this deployed at https://example-lukegb-openshiftauth-test.apps.k8s.lukegb.tech/.

The main pieces of setup that need to happen is:

* Set "serviceAccount" in pod definition
* Add Route for pod
* Edit serviceaccount and add metadata.annotations, e.g.:
    serviceaccounts.openshift.io/oauth-redirectreference.first: >-
      {"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"example"}}
2020-10-04 14:38:56 +01:00
.reuse misc: fix up reuse lint 2020-10-04 01:08:07 +01:00
go go/openshiftauth: init 2020-10-04 14:38:56 +01:00
hack Backed out changeset 0a0814edc45e 2020-10-04 02:58:42 +01:00
LICENSES hack: make nixpkgs look like a git submodule to reuse 2020-06-07 15:16:27 +01:00
nix nix/pkgs: add crane 2020-10-04 02:33:44 +01:00
ops marukuru: add nix config to deployer container 2020-10-04 03:00:03 +01:00
third_party third_party/gopkgs: import some more packages 2020-10-04 14:36:31 +01:00
web licensing: Apache-2.0, make almost reuse-lint clean 2020-06-07 15:03:12 +01:00
.gitlab-ci.yml gitlab-ci: move dockerpush into hack shell script 2020-10-04 02:36:18 +01:00
.hgignore licensing: Apache-2.0, make almost reuse-lint clean 2020-06-07 15:03:12 +01:00
ci-root.nix twitterchiver: move archiver to subattribute 2020-10-04 01:25:36 +01:00
default.nix go/twitterchiver: init 2020-10-04 01:07:59 +01:00
docker-images.nix go/openshiftauth: init 2020-10-04 14:38:56 +01:00
README.md Initial commit 2020-04-24 23:41:31 +01:00