Permalink
Browse files

PODINFO_UI_COLOR set to green

  • Loading branch information...
lotharschulz committed Dec 5, 2018
1 parent e1dbfe9 commit 0a58569300acc449bb4ff78945ab00a441377670
Showing with 6 additions and 6 deletions.
  1. +5 −5 pod-info-change.sh
  2. +1 −1 workloads/podinfo-dep.yaml
@@ -5,19 +5,19 @@ IFS=$'\n\t'

clear
echo -e "change PODINFO_UI_COLOR to green\n\n\n"
echo -e "'s/value: white/value: green/g' ./workloads/podinfo-dep.yaml\n\n\n"
echo -e "sed -i -e 's/value: white/value: green/g' ./workloads/podinfo-dep.yaml\n\n\n"
sed -i -e 's/value: white/value: green/g' ./workloads/podinfo-dep.yaml
echo -e "git commit -am 'PODINFO_UI_COLOR set to green'"
echo -e "git commit -am 'PODINFO_UI_COLOR set to green\n\n\n'"
git commit -am "PODINFO_UI_COLOR set to green"
echo -e "git push origin master"
git push origin master
echo -e "PODINFO_UI_COLOR set to green.\n"
echo -e "Deployment description should reflect that in a couple of seconds.\n"
echo -e "PODINFO_UI_COLOR set to green.\n\n\n"
echo -e "Deployment description should reflect that in a couple of seconds.\n\n\n"
echo -e "--------------------------------\n\n\n"

sleep 10

echo -e "Clean up - set to original state.\n"
echo -e "Clean up - set to original state.\n\n\n"
sed -i -e 's/value: green/value: white/g' ./workloads/podinfo-dep.yaml
git commit -am "PODINFO_UI_COLOR reset to white"
git push origin master
@@ -47,7 +47,7 @@ spec:
- --random-error=false
env:
- name: PODINFO_UI_COLOR
value: white
value: green
livenessProbe:
httpGet:
path: /healthz

0 comments on commit 0a58569

Please sign in to comment.