mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Feature] [Networking] Pass through Server Header (#1775)
This commit is contained in:
parent
02e4ef44b3
commit
8af5309f1f
4 changed files with 5 additions and 11 deletions
|
@ -28,6 +28,7 @@
|
|||
- (Feature) (Networking) ArangoRoute Protocol
|
||||
- (Feature) (Platform) Platform Requirements support
|
||||
- (Improvement) Drop slash requirement from ArangoRoute
|
||||
- (Feature) (Networking) Pass through Server Header
|
||||
|
||||
## [1.2.43](https://github.com/arangodb/kube-arangodb/tree/1.2.43) (2024-10-14)
|
||||
- (Feature) ArangoRoute CRD
|
||||
|
|
|
@ -297,8 +297,9 @@ func (c Config) RenderFilters() ([]*listenerAPI.Filter, error) {
|
|||
}
|
||||
|
||||
filterConfigType, err := anypb.New(&httpConnectionManagerAPI.HttpConnectionManager{
|
||||
StatPrefix: "ingress_http",
|
||||
CodecType: httpConnectionManagerAPI.HttpConnectionManager_AUTO,
|
||||
StatPrefix: "ingress_http",
|
||||
CodecType: httpConnectionManagerAPI.HttpConnectionManager_AUTO,
|
||||
ServerHeaderTransformation: httpConnectionManagerAPI.HttpConnectionManager_PASS_THROUGH,
|
||||
RouteSpecifier: &httpConnectionManagerAPI.HttpConnectionManager_RouteConfig{
|
||||
RouteConfig: &routeAPI.RouteConfiguration{
|
||||
Name: "default",
|
||||
|
|
|
@ -54,6 +54,7 @@ func (c *ConfigTLS) RenderListenerTransportSocket() (*coreAPI.TransportSocket, e
|
|||
},
|
||||
},
|
||||
},
|
||||
AlpnProtocols: []string{"h2,http/1.1"},
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
|
|
|
@ -131,15 +131,6 @@ func (a *ArangoGatewayContainer) GetEnvs() ([]core.EnvVar, []core.EnvFromSource)
|
|||
|
||||
envs.Add(true, k8sutil.GetLifecycleEnv()...)
|
||||
|
||||
if cm, ok := a.cachedStatus.ConfigMap().V1().GetSimple(GetGatewayConfigMapName(a.input.ArangoMember.GetName())); ok {
|
||||
if v, ok := cm.Data[ConfigMapChecksumKey]; ok {
|
||||
envs.Add(true, core.EnvVar{
|
||||
Name: MemberConfigChecksumENV,
|
||||
Value: v,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
if !a.spec.Gateway.IsDynamic() {
|
||||
if cm, ok := a.cachedStatus.ConfigMap().V1().GetSimple(GetGatewayConfigMapName(a.input.ApiObject.GetName())); ok {
|
||||
if v, ok := cm.Data[ConfigMapChecksumKey]; ok {
|
||||
|
|
Loading…
Reference in a new issue