forked from hswaw/hscloud
cluster/admitomatic: allow use-regex n-i-c annotation
This annotation is used to permit routes defined by regexes instead of simple prefix matching. This is used by our synapse deployment for routing incomming HTTP requests to diffferent Synapse components. I've stumbled upon this while deploying a new Matrix/Synapse instance. This hasn't been yet a problem because the existing ingresses for Matrix deployments predate admitomatic. Change-Id: I821e58b214450ccf0de22d2585c3b0d11fbe71c0master
parent
56c888b443
commit
89a16f4de4
|
@ -210,6 +210,7 @@ func (i *ingressFilter) admit(req *admission.AdmissionRequest) (*admission.Admis
|
|||
"proxy-body-size": true,
|
||||
"ssl-redirect": true,
|
||||
"backend-protocol": true,
|
||||
"use-regex": true,
|
||||
// Used by cert-manager
|
||||
"whitelist-source-range": true,
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ local prototext = import "../../../kube/prototext.libsonnet";
|
|||
|
||||
cfg:: {
|
||||
namespace: "admitomatic",
|
||||
image: "registry.k0.hswaw.net/q3k/admitomatic:315532800-6cc2f867951e123909b23955cd7bcbcc3ec24f8a",
|
||||
image: "registry.k0.hswaw.net/q3k/admitomatic:1622912229-383fefa14bddd51c1573fb9b5fcc6ecea958f50a",
|
||||
|
||||
proto: {},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue