Skip to content

Commit

Permalink
Use node specific tag
Browse files Browse the repository at this point in the history
  • Loading branch information
omris94 committed Jun 20, 2023
1 parent d558842 commit 67f5e73
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion static/code-examples/automate-network-policies/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 " ]
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 " ]
4 changes: 2 additions & 2 deletions static/code-examples/mtls/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -125,7 +125,7 @@ spec:
spec:
containers:
- name: server
image: node
image: node:19
command: [ "node", "/app/server.js" ]
volumeMounts:
- mountPath: /app/
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/mtls/client-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/mtls/client-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/mtls/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: server
image: node
image: node:19
command: [ "node", "/app/server.js" ]
volumeMounts:
- mountPath: /app/
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/network-mapper/all-other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 " ]
---
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/network-mapper/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 " ]
---
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/network-mapper/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 " ]

0 comments on commit 67f5e73

Please sign in to comment.