From 3a555257fbfdcef9696634bb8e054b80e8591dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Tue, 6 Oct 2026 11:28:16 +0200 Subject: [PATCH] Align env var names, fix port conflict --- services/auth-guest/pkg/config/config.go | 4 ++-- services/auth-guest/pkg/config/defaults/defaultconfig.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/auth-guest/pkg/config/config.go b/services/auth-guest/pkg/config/config.go index 100daa16c5..9d3292ad84 100644 --- a/services/auth-guest/pkg/config/config.go +++ b/services/auth-guest/pkg/config/config.go @@ -76,10 +76,10 @@ type HTTP struct { // GRPCConfig defines the GRPC configuration type GRPCConfig struct { - Addr string `yaml:"addr" env:"GUESTAUTH_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"%%NEXT%%"` + Addr string `yaml:"addr" env:"AUTH_GUEST_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"%%NEXT%%"` TLS *shared.GRPCServiceTLS `yaml:"tls"` Namespace string `yaml:"-"` - Protocol string `yaml:"protocol" env:"OC_GRPC_PROTOCOL;GUESTAUTH_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"%%NEXT%%"` + Protocol string `yaml:"protocol" env:"OC_GRPC_PROTOCOL;AUTH_GUEST_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"%%NEXT%%"` } // Storage defines the configuration for the token storage. diff --git a/services/auth-guest/pkg/config/defaults/defaultconfig.go b/services/auth-guest/pkg/config/defaults/defaultconfig.go index 42068ba7e8..880e62d019 100644 --- a/services/auth-guest/pkg/config/defaults/defaultconfig.go +++ b/services/auth-guest/pkg/config/defaults/defaultconfig.go @@ -41,7 +41,7 @@ func DefaultConfig() *config.Config { }, RevaGateway: shared.DefaultRevaConfig().Address, GRPC: config.GRPCConfig{ - Addr: "127.0.0.1:9265", + Addr: "127.0.0.1:9268", Namespace: "eu.opencloud.api", Protocol: "tcp", },