From 67f5e7392dcb83732c6fb981e10258137f337f60 Mon Sep 17 00:00:00 2001 From: "omri.s" Date: Tue, 20 Jun 2023 17:23:00 +0300 Subject: [PATCH] Use node specific tag --- static/code-examples/automate-network-policies/all.yaml | 2 +- .../automate-network-policies/server-deployment.yaml | 2 +- static/code-examples/mtls/all.yaml | 4 ++-- static/code-examples/mtls/client-configmap.yaml | 2 +- static/code-examples/mtls/client-deployment.yaml | 2 +- static/code-examples/mtls/server-deployment.yaml | 2 +- static/code-examples/network-mapper/all-other.yaml | 2 +- static/code-examples/network-mapper/all.yaml | 2 +- static/code-examples/network-mapper/server-deployment.yaml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/static/code-examples/automate-network-policies/all.yaml b/static/code-examples/automate-network-policies/all.yaml index c68527c82..146fa2e48 100644 --- a/static/code-examples/automate-network-policies/all.yaml +++ b/static/code-examples/automate-network-policies/all.yaml @@ -59,7 +59,7 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "/bin/sh","-c" ] args: [ "echo \"Hi, I am the server, you called, may I help you?\" > index.html; npx --yes http-server -p 80 " ] --- diff --git a/static/code-examples/automate-network-policies/server-deployment.yaml b/static/code-examples/automate-network-policies/server-deployment.yaml index c45cba6e5..e9ea5ad75 100644 --- a/static/code-examples/automate-network-policies/server-deployment.yaml +++ b/static/code-examples/automate-network-policies/server-deployment.yaml @@ -14,6 +14,6 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "/bin/sh","-c" ] args: [ "echo \"Hi, I am the server, you called, may I help you?\" > index.html; npx --yes http-server -p 80 " ] \ No newline at end of file diff --git a/static/code-examples/mtls/all.yaml b/static/code-examples/mtls/all.yaml index eb61fd405..0e6692a23 100644 --- a/static/code-examples/mtls/all.yaml +++ b/static/code-examples/mtls/all.yaml @@ -52,7 +52,7 @@ spec: spec: containers: - name: client - image: node + image: node:19 command: [ "/bin/sh", "-c", "--" ] args: [ "while true; do node /app/client.js; sleep 2; done" ] volumeMounts: @@ -125,7 +125,7 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "node", "/app/server.js" ] volumeMounts: - mountPath: /app/ diff --git a/static/code-examples/mtls/client-configmap.yaml b/static/code-examples/mtls/client-configmap.yaml index 27d840120..37342b107 100644 --- a/static/code-examples/mtls/client-configmap.yaml +++ b/static/code-examples/mtls/client-configmap.yaml @@ -47,7 +47,7 @@ spec: spec: containers: - name: client - image: node + image: node:19 command: [ "/bin/sh", "-c", "--" ] args: [ "while true; do node /app/client.js; sleep 2; done" ] volumeMounts: diff --git a/static/code-examples/mtls/client-deployment.yaml b/static/code-examples/mtls/client-deployment.yaml index c25ab1cec..cb313006e 100644 --- a/static/code-examples/mtls/client-deployment.yaml +++ b/static/code-examples/mtls/client-deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: client - image: node + image: node:19 command: [ "/bin/sh", "-c", "--" ] args: [ "while true; do node /app/client.js; sleep 2; done" ] volumeMounts: diff --git a/static/code-examples/mtls/server-deployment.yaml b/static/code-examples/mtls/server-deployment.yaml index d0cac39dc..cc6a5196d 100644 --- a/static/code-examples/mtls/server-deployment.yaml +++ b/static/code-examples/mtls/server-deployment.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "node", "/app/server.js" ] volumeMounts: - mountPath: /app/ diff --git a/static/code-examples/network-mapper/all-other.yaml b/static/code-examples/network-mapper/all-other.yaml index a2734b982..bc2e60968 100644 --- a/static/code-examples/network-mapper/all-other.yaml +++ b/static/code-examples/network-mapper/all-other.yaml @@ -34,7 +34,7 @@ spec: spec: containers: - name: other-server - image: node + image: node:19 command: [ "/bin/sh","-c" ] args: [ "echo \"Hi, I am the other-server, you called, may I help you?\" > index.html; npx --yes http-server -p 80 " ] --- diff --git a/static/code-examples/network-mapper/all.yaml b/static/code-examples/network-mapper/all.yaml index 7361552fd..de252fbe4 100644 --- a/static/code-examples/network-mapper/all.yaml +++ b/static/code-examples/network-mapper/all.yaml @@ -39,7 +39,7 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "/bin/sh","-c" ] args: [ "echo \"Hi, I am the server, you called, may I help you?\" > index.html; npx --yes http-server -p 80 " ] --- diff --git a/static/code-examples/network-mapper/server-deployment.yaml b/static/code-examples/network-mapper/server-deployment.yaml index 7b585a334..263733ee5 100644 --- a/static/code-examples/network-mapper/server-deployment.yaml +++ b/static/code-examples/network-mapper/server-deployment.yaml @@ -14,6 +14,6 @@ spec: spec: containers: - name: server - image: node + image: node:19 command: [ "/bin/sh","-c" ] args: [ "echo \"Hi, I am the server, you called, may I help you?\" > index.html; npx --yes http-server -p 80 " ]