diff --git a/helm-charts/kubeinvaders/values.yaml b/helm-charts/kubeinvaders/values.yaml index 32e66cd17..a6a363a65 100644 --- a/helm-charts/kubeinvaders/values.yaml +++ b/helm-charts/kubeinvaders/values.yaml @@ -37,7 +37,7 @@ deployment: replicaCount: 1 image: repository: luckysideburn/kubeinvaders - tag: v1.9.5 + tag: v1.9.6 pullPolicy: Always extraEnv: [] # - name: FOO diff --git a/html5/index.html b/html5/index.html index 7007c27b8..803996dd6 100644 --- a/html5/index.html +++ b/html5/index.html @@ -443,7 +443,7 @@
-

kubeinvaders_version: v1.9.5

+

kubeinvaders_version: v1.9.6

diff --git a/nginx/KubeInvaders.conf b/nginx/KubeInvaders.conf index 7519be156..3c1a8de46 100644 --- a/nginx/KubeInvaders.conf +++ b/nginx/KubeInvaders.conf @@ -86,14 +86,16 @@ server { node = string.gsub(res, "chaos_node_jobs_total_on_", "") metric = "chaos_jobs_node_count{node=\"".. node .."\"}" ngx.say(metric .. " " .. red:get(res)) - + elseif string.find(res, "deleted_pods_total_on") then namespace = string.gsub(res, "deleted_pods_total_on_", "") metric = "deleted_namespace_pods_count{namespace=\"".. namespace .."\"}" ngx.say(metric .. " " .. red:get(res)) - else + -- TO DO: Use improved regex... + elseif not string.find(res, "programming_mode") and not string.find(res, "log:") and not string.find(res, "log_") then ngx.say(res .. " " .. red:get(res)) + end end }