Skip to content

Commit

Permalink
Finish defining StatefulSet object
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Rivera <[email protected]>
  • Loading branch information
codyjrivera committed May 31, 2024
1 parent cf97207 commit 710b2a1
Show file tree
Hide file tree
Showing 4 changed files with 4,690 additions and 40 deletions.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ if [ "$registry" != "remote" ] && [ "$registry" != "local" ]; then
exit 2
fi

if cd deploy/$1 && kubectl apply -f crd.yaml && kubectl apply -f rbac.yaml && kubectl apply -f deploy_$registry.yaml; then
## use imperative management for CRDs since metadata for PodTemplateSpec is too long.
if cd deploy/$1 && kubectl create -f crd.yaml && kubectl apply -f rbac.yaml && kubectl apply -f deploy_$registry.yaml; then
echo ""
echo -e "${GREEN}The $app controller is deployed in your Kubernetes cluster in namespace \"$app\"."
echo -e "Run \"kubectl get pod -n $app\" to check the controller pod."
Expand Down
Loading

0 comments on commit 710b2a1

Please sign in to comment.