Skip to content

Commit

Permalink
frontend: add PeerAuthentication resource for metrics
Browse files Browse the repository at this point in the history
This change disables mTLS for the metrics port otherwise the collection
fails because Envoy rejects the scrape request. It is similar to what
exists for the Maestro server.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
simonpasquier committed Feb 27, 2025
1 parent c2bb05f commit 614d137
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/deploy/helm/frontend/templates/peerauthentication.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: aro-hcp-frontend-metrics
spec:
selector:
matchLabels:
app: aro-hcp-frontend
portLevelMtls:
8081:
mode: PERMISSIVE

0 comments on commit 614d137

Please sign in to comment.