neverCase commented on pull request #791:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/791#issuecomment-997175498


   @tao12345666333 
   From the 
[https://apisix.apache.org/docs/apisix/architecture-design/plugin-config/](url),
 
   I thought the filed `plugin_config_id` maybe `type int`.
   But in the apisixv1.Route I found the `UpstreamId` was `type string`.
   ```sh
   // Route apisix route object
   // +k8s:deepcopy-gen=true
   type Route struct {
        Metadata `json:",inline" yaml:",inline"`
   
        Host            string           `json:"host,omitempty" 
yaml:"host,omitempty"`
        Hosts           []string         `json:"hosts,omitempty" 
yaml:"hosts,omitempty"`
        Uri             string           `json:"uri,omitempty" 
yaml:"uri,omitempty"`
        Priority        int              `json:"priority,omitempty" 
yaml:"priority,omitempty"`
        Timeout         *UpstreamTimeout `json:"timeout,omitempty" 
yaml:"timeout,omitempty"`
        Vars            Vars             `json:"vars,omitempty" 
yaml:"vars,omitempty"`
        Uris            []string         `json:"uris,omitempty" 
yaml:"uris,omitempty"`
        Methods         []string         `json:"methods,omitempty" 
yaml:"methods,omitempty"`
        EnableWebsocket bool             `json:"enable_websocket,omitempty" 
yaml:"enable_websocket,omitempty"`
        RemoteAddrs     []string         `json:"remote_addrs,omitempty" 
yaml:"remote_addrs,omitempty"`
        UpstreamId      string           `json:"upstream_id,omitempty" 
yaml:"upstream_id,omitempty"`
        Plugins         Plugins          `json:"plugins,omitempty" 
yaml:"plugins,omitempty"`
        PluginConfigId  string           `json:"plugin_config_id,omitempty" 
yaml:"plugin_config_id,omitempty"`
   }
   ```
   So I'm sure not where are the `PluginConfigId` from, and which type it 
should be.


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to