-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Story (Required)
GenerateAgentPrincipalRedisProxyServiceName does not use truncated CR name.
This function constructs a Kubernetes service name from the raw crName, which could exceed the 63-character limit. The service name format {{
{crName}-agent-principal-redisproxy}} (with a 26-character suffix) will exceed 63 characters for any CR name longer than approximately 37 characters. Other service naming helpers in the codebase (e.g., GetSecretNameWithSuffix in secret.go, nameWithSuffix in util.go) consistently use GetTruncatedCRName before appending suffixes. Consider updating this function to use truncated CR names for consistency.