Skip to content

Commit

Permalink
fix helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-sideburn committed Apr 6, 2024
1 parent d467a53 commit 0e56bd0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dev-tools/push/push_kimfusi_k8s.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
podman tag local/kubeinvaders:develop 10.10.10.3:5000/kubeinvaders:v1.9.6
podman push 10.10.10.3:5000/kubeinvaders:v1.9.6
9 changes: 7 additions & 2 deletions dev-tools/push/push_prod_image.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
image_version="v1.9.6"
image_version="v1.9.7"
echo $image_version

#podman build . -t docker.io/luckysideburn/kubeinvaders:$image_version
podman build . -t local/kubeinvaders:develop

podman tag local/kubeinvaders:develop docker.io/luckysideburn/kubeinvaders:$image_version
podman tag docker.io/luckysideburn/kubeinvaders:$image_version docker.io/luckysideburn/kubeinvaders:latest
podman tag docker.io/luckysideburn/kubeinvaders:$image_version docker.io/luckysideburn/kubeinvaders:develop
podman tag docker.io/luckysideburn/kubeinvaders:$image_version 10.10.10.3:5000/kubeinvaders:v1.9.7


podman push docker.io/luckysideburn/kubeinvaders:$image_version
podman push docker.io/luckysideburn/kubeinvaders:latest
podman push 10.10.10.3:5000/kubeinvaders:$image_version
Binary file removed helm-charts/kubeinvaders/kubeinvaders-1.9.5.tgz
Binary file not shown.
10 changes: 10 additions & 0 deletions kimsufi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
podman build . -t local/kubeinvaders:develop

podman run -p 8080:8080 \
--env K8S_TOKEN=eyJhbGciOiJSUzI1NiIsImtpZCI6ImlrbVNQMWg5QUVCLVhjQl9uT0V4aVpQY0RNdTR2aVVHTzdJeXBZSXNnZkkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlaW52YWRlcnMiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoia3ViZWludmFkZXJzLXRva2VuLWo1Y3hzIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6Imt1YmVpbnZhZGVycyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImYxOTViODI4LWRhZTYtNGM1ZC05YzliLTVlOGQwYTI0NTEzZiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDprdWJlaW52YWRlcnM6a3ViZWludmFkZXJzIn0.NqVdsSw3cs3jMevheokUNPfb9WmlQe7g6CrAytcApq9Z9FFFomXib5kb1fgdKYVJn4vb0a6H3kHB8hKJo0UcPu24wVCAYwxsfCTuK13tsCJxrycs2TxyoTWsXALMbBMgDJthCal14RwikWFpW4EyHryqkEAAn-U5goBdaabCSHhWCiR4ulbmuKy8xep8yppRw66505hq4Rdc6gMcj4_bgTDLKSh_g1lySHdHiiTo1v5X71_BD5QEKIEj2Ak4mslpAy-aQUOso4HicIIvd7I1NLDfis1Scj9IjhL8jdRXrOSk9KUbFBJCOMCye2pSYK3eqRDsjVe7BKPZB53WtMW7ew \
--env ENDPOINT=localhost:8080 \
--env INSECURE_ENDPOINT=true \
--env KUBERNETES_SERVICE_HOST=10.10.10.4 \
--env KUBERNETES_SERVICE_PORT_HTTPS=6443 \
--env NAMESPACE=namespace1,namespace2 \
local/kubeinvaders:develop

0 comments on commit 0e56bd0

Please sign in to comment.