monitor-dashboard: fix deploymentconfig selector

DeploymentConfig objects don't expect a selector type for selector,
rather it expects a simple mapping of labels to values, which will be
substituted into the resultant Deployment object as matchLabel:

Fixes: https://gitlab.com/fedora/commops/home/-/issues/28

Signed-off-by: Neil Hanlon <neil@shrug.pw>
This commit is contained in:
Neil Hanlon 2024-05-21 16:53:39 -07:00 committed by zlopez
parent 44c5c79ad7
commit ea9afb1fe2

View file

@ -8,9 +8,8 @@ metadata:
spec:
replicas: 1
selector:
matchLabels:
app: monitor-dashboard
deploymentconfig: monitor-dashboard
app: monitor-dashboard
deploymentconfig: monitor-dashboard
template:
metadata:
labels:
@ -89,4 +88,4 @@ spec:
# name: grafana-notifiers
# - configMap:
# name: grafana-dashboards
# name: grafana-dashboards
# name: grafana-dashboards