k8s hlaeja registry api

This commit is contained in:
2025-07-24 23:35:48 +02:00
committed by swordsteel
parent 5fa338e576
commit 202c3fdf8a
8 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: registry-api
namespace: hlaeja
labels:
app: registry-api
environment: testing
tier: frontend
data:
SPRING_PROFILES_ACTIVE: "testing"
ACCOUNT_REGISTRY_URL: "http://account-register"
DEVICE_REGISTRY_URL: "http://device-register"
# all of this should be preset in application.yaml
SERVER_PORT: "8443"
SERVER_SSL_ENABLED: "true"
SERVER_SSL_KEY_STORE: "/app/resources/cert/keystore.p12"
SERVER_SSL_KEY_STORE_TYPE: "PKCS12"
# This was experimental and should be removed in later versions
MANAGEMENT_METRICS_TAGS_APPLICATION: "register-api"
MANAGEMENT_INFLUX_METRICS_EXPORT_ENABLED: "false"
MANAGEMENT_INFLUX_METRICS_EXPORT_URL: "http://influxdb"
# adding this here as it's going to be deleted and is not sued internally
MANAGEMENT_INFLUX_METRICS_EXPORT_TOKEN: "invalidInfluxDbToken=="