godoc-service

command module
v0.0.0-...-39455ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

Godoc Service

This service publishes godoc for private GitHub repositories and designed to be deployed using Kubernetes and Ambassador Edge Stack.

Installation and deployment instructions

  1. Get a GitHub personal access token with access to your repository.
  2. Create a secret in your cluster named godoc-service-config with the token and the repositories you want to access:
kubectl create secret generic godoc-service-config --from-literal=githubToken=a17531d296845a1c16dd67df38065c1ee55c067 --from-literal=githubRepos="ambassadorlabs/godoc-service;datawire/ambassador"
  1. Create an Ambassador Project resource to build and deploy this service directly into Kubernetes from GitHub:
---
apiVersion: getambassador.io/v2
kind: Project
metadata:
 name: my-doc-repo
 namespace: default
spec:
 host:  objective-nash-360.edgestack.me
 prefix: /doc/
 githubRepo: ambassadorlabs/godoc-service
 githubToken:  a17531d296845a1c16dd67df38065c1ee55c067
  1. Create an Ambassador Filter to enable Single Sign-On.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL