@@ -997,7 +997,7 @@ func generateLCoreServerDeployment(r reconciler.Reconciler, ctx context.Context,
997997 utils .LCoreConfigMapResourceVersionAnnotation : lcoreConfigMapResourceVersion ,
998998 utils .LlamaStackConfigMapResourceVersionAnnotation : llamaStackConfigMapResourceVersion ,
999999 utils .OpenShiftMCPServerConfigMapResourceVersionAnnotation : mcpConfigMapResourceVersion ,
1000- utils .ProxyCACertResourceVersionAnnotation : proxyCACMResourceVersion ,
1000+ utils .ProxyCACertHashAnnotation : proxyCACMResourceVersion ,
10011001 },
10021002 },
10031003 Spec : appsv1.DeploymentSpec {
@@ -1136,7 +1136,7 @@ func updateLCoreDeployment(r reconciler.Reconciler, ctx context.Context, cr *ols
11361136 r .GetLogger ().Info ("failed to get Proxy CA certificate hash" , "error" , err )
11371137 changed = true
11381138 } else {
1139- storedProxyCACMHash := existingDeployment .Annotations [utils .ProxyCACertResourceVersionAnnotation ]
1139+ storedProxyCACMHash := existingDeployment .Annotations [utils .ProxyCACertHashAnnotation ]
11401140 if storedProxyCACMHash != currentProxyCACMHash {
11411141 r .GetLogger ().Info ("Proxy CA certificate content changed, updating deployment" )
11421142 changed = true
@@ -1159,7 +1159,7 @@ func updateLCoreDeployment(r reconciler.Reconciler, ctx context.Context, cr *ols
11591159 existingDeployment .Annotations [utils .LCoreConfigMapResourceVersionAnnotation ] = desiredDeployment .Annotations [utils .LCoreConfigMapResourceVersionAnnotation ]
11601160 existingDeployment .Annotations [utils .LlamaStackConfigMapResourceVersionAnnotation ] = desiredDeployment .Annotations [utils .LlamaStackConfigMapResourceVersionAnnotation ]
11611161 existingDeployment .Annotations [utils .OpenShiftMCPServerConfigMapResourceVersionAnnotation ] = desiredDeployment .Annotations [utils .OpenShiftMCPServerConfigMapResourceVersionAnnotation ]
1162- existingDeployment .Annotations [utils .ProxyCACertResourceVersionAnnotation ] = currentProxyCACMHash
1162+ existingDeployment .Annotations [utils .ProxyCACertHashAnnotation ] = currentProxyCACMHash
11631163
11641164 r .GetLogger ().Info ("updating LCore deployment" , "name" , existingDeployment .Name )
11651165
@@ -1276,7 +1276,7 @@ func generateLCoreLibraryDeployment(r reconciler.Reconciler, ctx context.Context
12761276 utils .LCoreConfigMapResourceVersionAnnotation : lcoreConfigMapResourceVersion ,
12771277 utils .LlamaStackConfigMapResourceVersionAnnotation : llamaStackConfigMapResourceVersion ,
12781278 utils .OpenShiftMCPServerConfigMapResourceVersionAnnotation : mcpConfigMapResourceVersion ,
1279- utils .ProxyCACertResourceVersionAnnotation : proxyCACMResourceVersion ,
1279+ utils .ProxyCACertHashAnnotation : proxyCACMResourceVersion ,
12801280 },
12811281 },
12821282 Spec : appsv1.DeploymentSpec {
0 commit comments