@@ -5,9 +5,9 @@ ROOT=$(pwd)
55cd - > /dev/null
66source $ROOT /../base.sh
77
8- AI_PROXY_VERSION=${AI_PROXY_VERSION:- 1 .0.0}
9- AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:- 1 .0.0}
10- MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:- 1 .0.0}
8+ AI_PROXY_VERSION=${AI_PROXY_VERSION:- 2 .0.0}
9+ AI_STATISTICS_VERSION=${AI_STATISTICS_VERSION:- 2 .0.0}
10+ MODEL_ROUTER_VERSION=${MODEL_ROUTER_VERSION:- 2 .0.0}
1111
1212declare -a GENERATED_INGRESSES
1313
@@ -123,7 +123,7 @@ metadata:
123123 higress.io/wasm-plugin-built-in: \" true\"
124124 higress.io/wasm-plugin-category: ai
125125 higress.io/wasm-plugin-name: ai-proxy
126- higress.io/wasm-plugin-version: 1 .0.0
126+ higress.io/wasm-plugin-version: 2 .0.0
127127 name: ai-proxy.internal
128128 namespace: higress-system
129129 resourceVersion: \" 1\"
@@ -171,8 +171,8 @@ metadata:
171171 higress.io/wasm-plugin-built-in: \" true\"
172172 higress.io/wasm-plugin-category: ai
173173 higress.io/wasm-plugin-name: ai-statistics
174- higress.io/wasm-plugin-version: 1 .0.0
175- name: ai-statistics-1 .0.0
174+ higress.io/wasm-plugin-version: 2 .0.0
175+ name: ai-statistics-2 .0.0
176176 namespace: higress-system
177177 resourceVersion: \" 1\"
178178spec:
@@ -181,7 +181,7 @@ spec:
181181 matchRules:$AI_STATISTICS_MATCH_RULES
182182 phase: UNSPECIFIED_PHASE
183183 priority: 900
184- url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-statistics:$AI_STATISTICS_VERSION " > " $WASM_PLUGIN_CONFIG_FOLDER /ai-statistics-1 .0.0.yaml"
184+ url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/ai-statistics:$AI_STATISTICS_VERSION " > " $WASM_PLUGIN_CONFIG_FOLDER /ai-statistics-2 .0.0.yaml"
185185
186186 echo -e " \
187187apiVersion: extensions.higress.io/v1alpha1
@@ -194,7 +194,7 @@ metadata:
194194 higress.io/wasm-plugin-built-in: \" true\"
195195 higress.io/wasm-plugin-category: ai
196196 higress.io/wasm-plugin-name: model-router
197- higress.io/wasm-plugin-version: 1 .0.0
197+ higress.io/wasm-plugin-version: 2 .0.0
198198 name: model-router.internal
199199 namespace: higress-system
200200 resourceVersion: \" 1\"
0 commit comments