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

View File

@ -0,0 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./resources/service.yaml
- ./resources/deployment.yaml
configMapGenerator:
- name: bouncer-admin-config
files:
- ./files/config.yml
- ./files/admin-key.json
- name: bouncer-admin-env
literals:
- REDIS_SENTINEL_HOST="rfs-$(REDIS_SERVICE_NAME)"
- REDIS_SENTINEL_PORT="26379"
- REDIS_MASTER_NAME="mymaster"