mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user