bzp2010 commented on code in PR #2647:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/2647#discussion_r2532459224


##########
config/crd/bases/apisix.apache.org_gatewayproxies.yaml:
##########
@@ -150,6 +155,9 @@ spec:
                     type: object
                     x-kubernetes-validations:
                     - rule: has(self.endpoints) != has(self.service)
+                    - message: mode is immutable
+                      rule: oldSelf == null || (!has(self.mode) && 
!has(oldSelf.mode))
+                        || self.mode == oldSelf.mode

Review Comment:
   2. 
   Essentially, yes. Each backend establishes its own cache based on its 
requirements and maintains it internally without sharing.
   Currently, only the apisix-standalone backend incorporates caching; the 
other backend types do not utilise caching.
   
   The type will be determined by the `backend` value you input during the sync 
operation and does not require explicit specification in the `cacheKey`. 
Naturally, given that the `cacheKey` is a transparent string, you may also 
specify it explicitly if desired.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to