Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 781 Bytes

README.md

File metadata and controls

37 lines (22 loc) · 781 Bytes

naisd

k8s in-cluster daemon with API for performing NAIS-operations

Basic outline

  1. HTTP POST to API with name of application, version and environment
  2. Fetches app-config from internal artifact repository
  3. Extract info from yaml
  4. Get and inject environment specific variables from Fasit
  5. Creates appropriate k8s resources

CI

on push:

  • run tests
  • produce binary
  • bump version
  • make and publish alpine docker image with binary to dockerhub
  • make and publish corresponding helm chart to quay.io

dev notes

For local development, use minikube. You can run naisd.go with -kubeconfig= for testing without deploying to cluster.

glide install

...to fetch dependecies

To reduce build time, do

go build -i .

initially.