prole/deploy/opentofu/k3s/manifests/knoe/kong-configmap.yaml

73 lines
1.7 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: knoe-svc-kong-config
annotations:
argocd.argoproj.io/sync-wave: "0"
data:
kong.yml: |
_format_version: "3.0"
_transform: true
services:
- name: knoe-service
url: http://knoe-svc.knoe-system.svc.cluster.local:8080
routes:
- name: knoe-k3s-kubeconfig
hosts:
- svc.knoe.org
paths:
- /k3s/kube_config.sh
strip_path: false
- name: db-manager
url: http://knoe-db-manager.knoe-db.svc.cluster.local:80
routes:
- name: backup-route
hosts:
- svc.knoe.org
paths:
- /backup
strip_path: false
- name: grafana
url: http://kps-grafana.monitoring.svc.cluster.local:80
routes:
- name: grafana-root
hosts:
- svc.knoe.org
paths:
- /
strip_path: false
- name: knoe-auth
url: http://knoe-auth.knoe-system.svc.cluster.local:8080
routes:
- name: knoe-auth-root
hosts:
- api.knoe.org
paths:
- /
strip_path: false
- name: gitea-http
url: http://gitea-http.gitea.svc.cluster.local:3000
routes:
- name: gitea-root
hosts:
- git.knoe.org
paths:
- /
strip_path: false
- name: gitea-ssh
host: gitea-ssh.gitea.svc.cluster.local
port: 22
protocol: tcp
routes:
- name: gitea-ssh-tcp
protocols:
- tcp
destinations:
- port: 3022