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
d601a8d3
Commit
d601a8d3
authored
Dec 31, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use backend None as the "not found" sentinel, and only define it once.
parent
18fde009
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
70 deletions
+14
-70
bogo_backend.vcl
container/bogo_backend.vcl
+1
-5
backendcfg.golden
pkg/varnish/vcl/testdata/backendcfg.golden
+1
-5
custom_vcl.golden
pkg/varnish/vcl/testdata/custom_vcl.golden
+1
-5
extname.golden
pkg/varnish/vcl/testdata/extname.golden
+1
-5
extname_bcfg.golden
pkg/varnish/vcl/testdata/extname_bcfg.golden
+1
-5
ingress_default_probe_dir.golden
pkg/varnish/vcl/testdata/ingress_default_probe_dir.golden
+1
-5
ingress_default_rules.golden
pkg/varnish/vcl/testdata/ingress_default_rules.golden
+1
-5
ingress_fanout_nohost.golden
pkg/varnish/vcl/testdata/ingress_fanout_nohost.golden
+1
-5
ingress_shard.golden
pkg/varnish/vcl/testdata/ingress_shard.golden
+1
-5
ingress_single_svc.golden
pkg/varnish/vcl/testdata/ingress_single_svc.golden
+1
-5
ingress_vhost_nohost.golden
pkg/varnish/vcl/testdata/ingress_vhost_nohost.golden
+1
-5
ingressrule.golden
pkg/varnish/vcl/testdata/ingressrule.golden
+1
-5
rewrite_auth_delete.golden
pkg/varnish/vcl/testdata/rewrite_auth_delete.golden
+1
-5
vcl_tmpl.go
pkg/varnish/vcl/vcl_tmpl.go
+1
-5
No files found.
container/bogo_backend.vcl
View file @
d601a8d3
...
...
@@ -4,8 +4,4 @@
# - Defined when the Ingress is not ready (not currently implementing
# any IngressSpec), so that Varnish doesn't complain about no
# backend definition.
backend notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
backend vk8s_notfound None;
pkg/varnish/vcl/testdata/backendcfg.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
probe vk8s_coffee-svc_probe {
.request =
...
...
pkg/varnish/vcl/testdata/custom_vcl.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/extname.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/extname_bcfg.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
probe vk8s_metaxa-svc_probe {
.request =
...
...
pkg/varnish/vcl/testdata/ingress_default_probe_dir.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
probe vk8s_tea-svc_probe {
.url = "/healthz";
...
...
pkg/varnish/vcl/testdata/ingress_default_rules.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
probe vk8s_coffee-svc_probe {
.request =
...
...
pkg/varnish/vcl/testdata/ingress_fanout_nohost.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/ingress_shard.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/ingress_single_svc.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_tea-svc_192_0_2_1 {
.host = "192.0.2.1";
...
...
pkg/varnish/vcl/testdata/ingress_vhost_nohost.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/ingressrule.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
backend vk8s_coffee-svc_192_0_2_4 {
.host = "192.0.2.4";
...
...
pkg/varnish/vcl/testdata/rewrite_auth_delete.golden
View file @
d601a8d3
...
...
@@ -5,11 +5,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
...
...
pkg/varnish/vcl/vcl_tmpl.go
View file @
d601a8d3
...
...
@@ -40,11 +40,7 @@ import directors;
import re2;
import dynamic;
backend vk8s_notfound {
# 192.0.2.0/24 reserved for docs & examples (RFC5737).
.host = "192.0.2.255";
.port = "80";
}
include "bogo_backend.vcl";
{{- define "ProbeDef"}}
{{- range $name, $svc := .}}
...
...
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