Skip to content

Commit

Permalink
modify aliyun alb lua script (#123)
Browse files Browse the repository at this point in the history
Signed-off-by: liheng.zms <[email protected]>
  • Loading branch information
zmberg authored Feb 27, 2023
1 parent 73fefef commit 2b48eba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua_configuration/trafficrouting_ingress/aliyun-alb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ annotations["alb.ingress.kubernetes.io/canary-by-header"] = nil
annotations["alb.ingress.kubernetes.io/canary-by-header-pattern"] = nil
annotations["alb.ingress.kubernetes.io/canary-by-header-value"] = nil
annotations["alb.ingress.kubernetes.io/canary-weight"] = nil
annotations["alb.ingress.kubernetes.io/order"] = "1"
if ( obj.weight ~= "-1" )
then
annotations["alb.ingress.kubernetes.io/canary-weight"] = obj.weight
Expand Down

0 comments on commit 2b48eba

Please sign in to comment.