basic-auth

This commit is contained in:
ari committed 2026-02-16 16:22:45 -05:00
1 parent 0cbc11a949
commit 0a5301aba8
6 files changed
+52 -22

No files matched your search

+9 -3
View File
@@ -17,12 +17,12 @@ kubectl config use-context homelab
function run-new-chart() {
: Create a new helm chart
: dev new-chart {path-to-chart}
full_path=$ROOT_FOLDER/charts/apps/${1}
app=$(basename $full_path)
location=$(dirname $full_path)
typeofapp=$(basename $location)
mkdir -p $full_path/templates
touch $full_path/values.yaml
cat <<EOT >> $full_path/Chart.yaml
@@ -86,4 +86,10 @@ function run-template-compose-app() {
# echo $out | bat -l yaml
}
start_cli $@
function run-htpasswd() {
: Generates htpasswd file
: dev htpasswd
openssl passwd -apr1 ${@}
}
start_cli $@