Skip to content

Commit

Permalink
Merge pull request #2164 from machine424/dup-ports
Browse files Browse the repository at this point in the history
OCPBUGS-23495: Change UWM Prometheus' kube-rbac-proxy-thanos port num…
  • Loading branch information
openshift-merge-bot[bot] committed Nov 23, 2023
2 parents 4cb7660 + 132274e commit 7434c27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/prometheus-user-workload/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
- mountPath: /etc/kube-rbac-proxy
name: secret-kube-rbac-proxy-metrics
- args:
- --secure-listen-address=[$(POD_IP)]:10902
- --secure-listen-address=[$(POD_IP)]:10903
- --upstream=http://127.0.0.1:10902
- --tls-cert-file=/etc/tls/private/tls.crt
- --tls-private-key-file=/etc/tls/private/tls.key
Expand All @@ -121,7 +121,7 @@ spec:
image: quay.io/brancz/kube-rbac-proxy:v0.15.0
name: kube-rbac-proxy-thanos
ports:
- containerPort: 10902
- containerPort: 10903
name: thanos-proxy
resources:
requests:
Expand Down
4 changes: 2 additions & 2 deletions jsonnet/components/prometheus-user-workload.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,12 @@ function(params)
}],
ports: [
{
containerPort: 10902,
containerPort: 10903,
name: 'thanos-proxy',
},
],
args: [
'--secure-listen-address=[$(POD_IP)]:10902',
'--secure-listen-address=[$(POD_IP)]:10903',
'--upstream=http://127.0.0.1:10902',
'--tls-cert-file=/etc/tls/private/tls.crt',
'--tls-private-key-file=/etc/tls/private/tls.key',
Expand Down

0 comments on commit 7434c27

Please sign in to comment.