diff --git a/configs/netshoot-sidecar.yaml b/configs/netshoot-sidecar.yaml index 5d03c4d..a7c4fb7 100644 --- a/configs/netshoot-sidecar.yaml +++ b/configs/netshoot-sidecar.yaml @@ -5,21 +5,21 @@ metadata: labels: app: nginx-netshoot spec: - replicas: 1 - selector: + replicas: 1 + selector: matchLabels: - app: nginx-netshoot - template: + app: nginx-netshoot + template: metadata: - labels: + labels: app: nginx-netshoot spec: - containers: - - name: nginx - image: nginx:1.14.2 - ports: - - containerPort: 80 - - name: netshoot - image: nicolaka/netshoot - command: ["/bin/bash"] - args: ["-c", "while true; do ping localhost; sleep 60;done"] \ No newline at end of file + containers: + - name: nginx + image: nginx:1.14.2 + ports: + - containerPort: 80 + - name: netshoot + image: nicolaka/netshoot + command: ["/bin/bash"] + args: ["-c", "while true; do ping localhost; sleep 60;done"]