Skip to content

Commit

Permalink
samples: update deployment-azure-vote samples
Browse files Browse the repository at this point in the history
Update deployment samples to no longer depend on azure-vote since this
image is no longer available. Instead use azure linux based nginx image
for frontend and echo-hello for backend.

Also remove azure-vote-front container from pod-lots-of-layers.yaml.

Signed-off-by: Saul Paredes <[email protected]>
  • Loading branch information
Redent0r committed Oct 3, 2024
1 parent 3a0ca4e commit 09833d8
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 56 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ spec:
restartPolicy: Never
runtimeClassName: kata-cc
containers:
# 29 layers
- name: azure-vote-front
image: "mcr.microsoft.com/azuredocs/azure-vote-front:v1"
command:
- sh
- "-c"
- while true; do echo hello; sleep 10; done
# 11 layers
- name: footloose
image: "quay.io/footloose/ubuntu18.04:latest"
Expand Down
4 changes: 2 additions & 2 deletions src/tools/genpolicy/policy_samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"configmap/pod-cm2.yaml",
"configmap/pod-cm3.yaml",
"cron-job/test-cron-job.yaml",
"deployment/deployment-azure-vote-back.yaml",
"deployment/deployment-azure-vote-front.yaml",
"deployment/deployment-back.yaml",
"deployment/deployment-front.yaml",
"deployment/deployment-busybox.yaml",
"job/test-job.yaml",
"job/test-job2.yaml",
Expand Down

0 comments on commit 09833d8

Please sign in to comment.