- Set Logging__LogLevel__Npgsql to Error in ConfigMap - Prevents libgssapi_krb5.so.2 warning spam in logs
18 lines
597 B
YAML
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"
|