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:
parent
44c5c79ad7
commit
ea9afb1fe2
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue