Skip to content

Commit 4bb09bc

Browse files
authored
feat(helm) add minikube conf (#17)
1 parent 4bace2e commit 4bb09bc

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

  • release/deployment/helm-chart/umbrella

release/deployment/helm-chart/umbrella/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,27 @@ helm%:
8888
echo " - Commands with '-<name>' suffix accept a dynamic argument (e.g., helm-ctx-xxx, helm-logf-xxx)."; \
8989
echo " - '-tpl-*' renders manifests locally without applying to the cluster."; \
9090
exit 1 ;; \
91+
esac
92+
93+
minikube%:
94+
@case "$*" in \
95+
-start) \
96+
minikube start --addons=ingress ;; \
97+
-tunnel) \
98+
sudo minikube tunnel ;; \
99+
-help|*) \
100+
echo "Usage:"; \
101+
echo; \
102+
echo " make minikube-start # Start minikube with ingress addon enabled"; \
103+
echo " make minikube-tunnel # Run minikube tunnel (requires sudo), exposes LoadBalancer/Ingress services locally"; \
104+
echo; \
105+
echo "Examples:"; \
106+
echo " make minikube-start"; \
107+
echo " make minikube-tunnel"; \
108+
echo; \
109+
echo "Notes:"; \
110+
echo " - 'minikube-start' uses '--addons=ingress' to enable NGINX ingress controller automatically."; \
111+
echo " - 'minikube-tunnel' will bind service external IPs to localhost for LoadBalancer/Ingress access."; \
112+
echo " - 'minikube-tunnel' may require admin privileges (sudo) depending on your OS/network setup."; \
113+
exit 1 ;; \
91114
esac

0 commit comments

Comments
 (0)