feat(k8s): adding kubernetes support

Now we can use skaffold and deploy bouncer in a kubernetes cluster

ref #10
This commit is contained in:
2023-07-10 16:55:45 +02:00
committed by William Petit
parent 734ed64e8e
commit 0611cc9f70
18 changed files with 349 additions and 1 deletions

42
skaffold.yaml Normal file
View File

@ -0,0 +1,42 @@
apiVersion: skaffold/v3
kind: Config
metadata:
name: bouncer
manifests:
kustomize:
paths:
- misc/k8s/kustomization/base
profiles:
- name: dev
manifests:
kustomize:
paths:
- misc/k8s/kustomization/overlays/dev
activation:
- command: dev
build:
local:
push: true
tagPolicy:
sha256: {}
artifacts:
- image: reg.cadoles.com/cadoles/bouncer
context: .
sync:
infer:
- cmd/**
- internal/**
- layers/**
- tools/**
- data/**
docker:
dockerfile: misc/images/bouncer/Dockerfile
deploy:
statusCheckDeadlineSeconds: 600