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 # CI/CD
Run in Gitea Actions within kubernetes cluster Run in Gitea Actions within kubernetes cluster
Follow: https://tobru.ch/gitea-actions-container-builds/
Current, the project has workflow files for: Current, the project has workflow files for:
- Build and push the container to the registry - Build and push the container to the registry

View File

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