apiVersion: v1 kind: ConfigMap metadata: name: fengling-auth-config namespace: fengling-test data: ASPNETCORE_ENVIRONMENT: "Production" ASPNETCORE_URLS: "http://0.0.0.0:8080" # OpenIddict 配置 OpenIddict__IssuerUri: "http://fengling-auth-service.fengling-test.svc.cluster.local" OpenIddict__TokenLifetime: "3600" OpenIddict__RefreshTokenLifetime: "604800" # CORS 配置(允许网关和管理控制台访问) Cors__AllowedOrigins: "http://localhost:5173,http://localhost:5174" # 日志级别 Logging__LogLevel__Default: "Information" Logging__LogLevel__Microsoft.AspNetCore: "Warning" Logging__LogLevel__Npgsql: "Error" # 隐藏 GSSAPI 警告 Logging__LogLevel__OpenIddict: "Information"