updated the kubeconfig generator script
All checks were successful
Build the portfolio website / build-portfolio-website (push) Successful in 54s
Build the portfolio website / build-and-release-image (push) Successful in 1m40s

This commit is contained in:
2025-05-18 10:50:25 +03:00
parent e7c9e6d4e0
commit f980da7daf
2 changed files with 7 additions and 4 deletions

View File

@ -35,7 +35,6 @@ curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog
# CI/CD
Run in Gitea Actions within kubernetes cluster
Follow: https://tobru.ch/gitea-actions-container-builds/
Current, the project has workflow files for:
- Build and push the container to the registry

View File

@ -104,18 +104,22 @@ function main() {
while [[ "$#" -gt 0 ]]; do
case $1 in
--namespace)
-n|--namespace)
namespace="$2"
shift
;;
--user)
-u|--user)
user="$2"
shift
;;
--kubeconfig)
-k|--kubeconfig)
kubeconfig="$2"
shift
;;
-h|--help)
usage
exit 0
;;
*)
usage
exit 1