Skip to content

Commit

Permalink
Merge pull request #2147 from machine424/pa-http2-4.14
Browse files Browse the repository at this point in the history
OCPBUGS-21473: Set the new --disable-http2 flag for prometheus-adapter to disable HTTP2
  • Loading branch information
openshift-merge-bot[bot] committed Nov 14, 2023
2 parents 73745ed + e8d1265 commit 94ddd62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/prometheus-adapter/deployment.yaml
Expand Up @@ -50,6 +50,7 @@ spec:
- --prometheus-url=https://prometheus-k8s.openshift-monitoring.svc:9091
- --secure-port=6443
- --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
- --disable-http2
image: kubernetes-sigs/prometheus-adapter:v0.10.0
livenessProbe:
failureThreshold: 5
Expand Down
1 change: 1 addition & 0 deletions jsonnet/components/prometheus-adapter.libsonnet
Expand Up @@ -130,6 +130,7 @@ function(params)
'--prometheus-url=' + cfg.prometheusURL,
'--secure-port=6443',
'--tls-cipher-suites=' + cfg.tlsCipherSuites,
'--disable-http2',
],
terminationMessagePolicy: 'FallbackToLogsOnError',
volumeMounts: [
Expand Down

0 comments on commit 94ddd62

Please sign in to comment.