Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Replace 'matchExpressions' with 'matchLabels'
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyRet committed Jan 9, 2019
1 parent d52bf16 commit b717acb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deploy/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ metadata:
name: allocation-api
namespace: offender-management-staging
spec:
jobLabel: allocation-api
selector:
matchExpressions:
- {key: allocation-api, operator: Exists}
matchLabels:
app: allocation-api
namespaceSelector:
matchNames:
- offender-management-staging
Expand Down

0 comments on commit b717acb

Please sign in to comment.