From 395d3bf3b4a8fd72d98c1638dc5d0d4eafa8c21f Mon Sep 17 00:00:00 2001 From: Shyam Jeedigunta Date: Thu, 4 May 2017 11:41:33 +0200 Subject: [PATCH] Move hollow-node's initContainer from annotation to field --- .../resources/hollow-node_template.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/test/kubemark/resources/hollow-node_template.yaml b/test/kubemark/resources/hollow-node_template.yaml index b42bc323c2f..62d336c949a 100644 --- a/test/kubemark/resources/hollow-node_template.yaml +++ b/test/kubemark/resources/hollow-node_template.yaml @@ -12,18 +12,13 @@ spec: metadata: labels: name: hollow-node - annotations: - pod.beta.kubernetes.io/init-containers: '[ - { - "name": "init-inotify-limit", - "image": "busybox", - "command": ["sysctl", "-w", "fs.inotify.max_user_instances=200"], - "securityContext": { - "privileged": true - } - } - ]' spec: + initContainers: + - name: init-inotify-limit + image: busybox + command: ['sysctl', '-w', 'fs.inotify.max_user_instances=200'] + securityContext: + privileged: true volumes: - name: kubeconfig-volume secret: