From 44cb126e7dbcbd3c9dea26ac07f827ca737e4df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= Date: Tue, 24 Apr 2018 09:03:36 +0200 Subject: [PATCH] Update netchecker to v1.2.2. Using official image from mirantis at dockerhub. --- docs/netcheck.md | 4 ++-- roles/download/defaults/main.yml | 6 +++--- .../ansible/templates/netchecker-server-clusterrole.yml.j2 | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/netcheck.md b/docs/netcheck.md index 80679cd73..638e5cfce 100644 --- a/docs/netcheck.md +++ b/docs/netcheck.md @@ -25,8 +25,8 @@ There are related application specifc variables: netchecker_port: 31081 agent_report_interval: 15 netcheck_namespace: default -agent_img: "quay.io/l23network/k8s-netchecker-agent:v1.0" -server_img: "quay.io/l23network/k8s-netchecker-server:v1.0" +agent_img: "mirantis/k8s-netchecker-agent:v1.2.2" +server_img: "mirantis/k8s-netchecker-server:v1.2.2" ``` Note that the application verifies DNS resolve for FQDNs comprising only the diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 3fac21b71..a326440e6 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -92,10 +92,10 @@ pod_infra_image_repo: "gcr.io/google_containers/pause-amd64" pod_infra_image_tag: "{{ pod_infra_version }}" install_socat_image_repo: "xueshanf/install-socat" install_socat_image_tag: "latest" -netcheck_version: "v1.0" -netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent" +netcheck_version: "v1.2.2" +netcheck_agent_img_repo: "mirantis/k8s-netchecker-agent" netcheck_agent_tag: "{{ netcheck_version }}" -netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server" +netcheck_server_img_repo: "mirantis/k8s-netchecker-server" netcheck_server_tag: "{{ netcheck_version }}" weave_kube_image_repo: "weaveworks/weave-kube" weave_kube_image_tag: "{{ weave_version }}" diff --git a/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 b/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 index 7a8c1d273..19bdc8b1f 100644 --- a/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 @@ -7,3 +7,6 @@ rules: - apiGroups: [""] resources: ["pods"] verbs: ["list"] + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ['*']