Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
c3e8a98a
Commit
c3e8a98a
authored
Aug 19, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optionally set the kubectl wait timeout as a make parameter.
This has the consequence that GNU make is required.
parent
dd631f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Makefile
deploy/Makefile
+8
-2
No files found.
deploy/Makefile
View file @
c3e8a98a
...
...
@@ -24,9 +24,15 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# GNU make is required.
mkpath
:=
$
(
abspath
$
(
lastword
$(MAKEFILE_LIST)
))
mkdir
:=
$
(
dir
$(mkpath)
)
ifndef
WAIT_TIMEOUT
WAIT_TIMEOUT
=
2m
endif
all
:
deploy-helm
deploy-controller-helm
:
...
...
@@ -44,13 +50,13 @@ verify:
undeploy-service-helm
:
@
helm uninstall viking-service
@
echo
Waiting
for
viking-service Pods to be deleted
@
kubectl
wait
pod
--timeout
=
2m
\
@
kubectl
wait
pod
--timeout
=
$(WAIT_TIMEOUT)
\
-l
app.kubernetes.io/name
=
varnish-ingress
--for
=
delete
undeploy-controller-helm
:
@
helm uninstall viking-controller
--namespace
kube-system
@
echo
Waiting
for
viking-controller Pod to be deleted
@
kubectl
wait
pod
--timeout
=
2m
-n
kube-system
\
@
kubectl
wait
pod
--timeout
=
$(WAIT_TIMEOUT)
-n
kube-system
\
-l
app.kubernetes.io/name
=
viking-controller
--for
=
delete
deploy-helm
:
deploy-controller-helm deploy-service-helm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment