From 3db56b654f20e4593956866672eb22b56d88015b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ferenc=20T=C3=B3th?= Date: Thu, 15 Aug 2019 14:57:13 +0200 Subject: [PATCH] Add `command` to {net,svc}watcher manifests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Tóth Change-Id: I953efc0b169921a570a67973959fd0625000e737 --- SPECS/infra-charts.spec | 2 +- infra-charts/templates/netwatcher.yaml | 3 +++ infra-charts/templates/svcwatcher.yaml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SPECS/infra-charts.spec b/SPECS/infra-charts.spec index 4b9eed9..bd6ce64 100644 --- a/SPECS/infra-charts.spec +++ b/SPECS/infra-charts.spec @@ -15,7 +15,7 @@ %define COMPONENT infra-charts %define RPM_NAME caas-%{COMPONENT} %define RPM_MAJOR_VERSION 1.0.0 -%define RPM_MINOR_VERSION 19 +%define RPM_MINOR_VERSION 20 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} diff --git a/infra-charts/templates/netwatcher.yaml b/infra-charts/templates/netwatcher.yaml index cc8037c..ba7c846 100644 --- a/infra-charts/templates/netwatcher.yaml +++ b/infra-charts/templates/netwatcher.yaml @@ -34,6 +34,9 @@ spec: containers: - name: netwatcher image: {{ .Values.registry_url }}/{{ .Values.registry_reponame }}/hyperdanm:{{ .Values.netwatcher.container_version }} + command: + - "/usr/local/bin/netwatcher" + - "--logtostderr" securityContext: capabilities: add: diff --git a/infra-charts/templates/svcwatcher.yaml b/infra-charts/templates/svcwatcher.yaml index ec62be4..500113b 100644 --- a/infra-charts/templates/svcwatcher.yaml +++ b/infra-charts/templates/svcwatcher.yaml @@ -36,7 +36,8 @@ spec: containers: - name: svcwatcher image: {{ .Values.registry_url }}/{{ .Values.registry_reponame }}/hyperdanm:{{ .Values.svcwatcher.container_version }} - args: + command: + - "/usr/local/bin/svcwatcher" - "--logtostderr" resources: requests: -- 2.16.6