Add `command` to {net,svc}watcher manifests 12/1412/1
authorFerenc Tóth <ferenc.2.toth@nokia.com>
Thu, 15 Aug 2019 12:57:13 +0000 (14:57 +0200)
committerFerenc Tóth <ferenc.2.toth@nokia.com>
Thu, 15 Aug 2019 12:58:37 +0000 (14:58 +0200)
Signed-off-by: Ferenc Tóth <ferenc.2.toth@nokia.com>
Change-Id: I953efc0b169921a570a67973959fd0625000e737

SPECS/infra-charts.spec
infra-charts/templates/netwatcher.yaml
infra-charts/templates/svcwatcher.yaml

index 4b9eed9..bd6ce64 100644 (file)
@@ -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}
index cc8037c..ba7c846 100644 (file)
@@ -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:
index ec62be4..500113b 100644 (file)
@@ -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: