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
e09a2047
Commit
e09a2047
authored
Aug 19, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use make variables to specify the haproxy image for helm deployment.
parent
01d9bc43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
Makefile
deploy/Makefile
+15
-2
values-varnish.yaml
deploy/values-varnish.yaml
+0
-5
No files found.
deploy/Makefile
View file @
e09a2047
...
...
@@ -41,17 +41,28 @@ CI_REPO_PFX=registry.gitlab.com/uplex/varnish/k8s-ingress/varnish-ingress
ifeq
($(TEST),local)
VARNISH_IMAGE
=
varnish-ingress/
$(VARNISH)
VARNISH_TAG
=
latest
HAPROXY_IMAGE
=
varnish-ingress/haproxy
HAPROXY_TAG
=
latest
else
ifeq
($(TEST),ci)
VARNISH_IMAGE
=
$(CI_REPO_PFX)
/
$(VARNISH)
VARNISH_TAG
=
master
HAPROXY_IMAGE
=
$(CI_REPO_PFX)
/haproxy
HAPROXY_TAG
=
master
endif
# If not specified, pull the latest "official" images from dockerhub.
LATEST
=
0.0.2
ifndef
VARNISH_IMAGE
VARNISH_IMAGE
=
uplex/viking-
$(VARNISH)
endif
ifndef
VARNISH_TAG
VARNISH_TAG
=
0.0.2
VARNISH_TAG
=
$(LATEST)
endif
ifndef
HAPROXY_IMAGE
HAPROXY_IMAGE
=
uplex/viking-haproxy
endif
ifndef
HAPROXY_TAG
HAPROXY_TAG
=
$(LATEST)
endif
ifndef
WAIT_TIMEOUT
...
...
@@ -68,7 +79,9 @@ deploy-service-helm:
@
helm
install
viking-service
$(mkdir)
/../charts/viking-service
\
--values
values-varnish.yaml
\
--set
vikingService.varnish.image.repository
=
$(VARNISH_IMAGE)
\
--set
vikingService.varnish.image.tag
=
$(VARNISH_TAG)
--set
vikingService.varnish.image.tag
=
$(VARNISH_TAG)
\
--set
vikingService.haproxy.image.repository
=
$(HAPROXY_IMAGE)
\
--set
vikingService.haproxy.image.tag
=
$(HAPROXY_TAG)
# TESTOPTS are passed to varnishtest, e.g.: make TESTOPTS=-v verify
verify
:
...
...
deploy/values-varnish.yaml
View file @
e09a2047
...
...
@@ -4,11 +4,6 @@ vikingService:
varnish
:
extraArgs
:
[]
haproxy
:
image
:
repository
:
varnish-ingress/haproxy
tag
:
"
latest"
## Name of the ingress class to route through this controller
##
ingressClass
:
varnish
...
...
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