fengling-gateway/k8s/test/configmap.yaml
Kimi CLI 7ca5e879b4 chore: add Npgsql log level config to suppress GSSAPI warnings
- Set Logging__LogLevel__Npgsql to Error in ConfigMap
- Prevents libgssapi_krb5.so.2 warning spam in logs
2026-03-08 15:21:18 +08:00

18 lines
597 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: fengling-gateway-config
namespace: fengling-test
labels:
app: fengling-gateway
data:
ASPNETCORE_ENVIRONMENT: "Production"
Kestrel__Endpoints__Http__Url: "http://0.0.0.0:8080"
Logging__LogLevel__Default: "Information"
Logging__LogLevel__Microsoft__AspNetCore: "Warning"
Logging__LogLevel__Npgsql: "Error" # 隐藏 GSSAPI 警告
Logging__LogLevel__Yarp__ReverseProxy: "Information"
ServiceDiscovery__UseInClusterConfig: "true"
ServiceDiscovery__Namespace: "fengling-test"
ServiceDiscovery__LabelSelector: "app-router-name"