#2031 monitor-dashboard: fix deploymentconfig selector
Merged 18 days ago by zlopez. Opened a month ago by neil.
fedora-infra/ neil/ansible commops/28  into  main

@@ -8,9 +8,8 @@ 

  spec:

    replicas: 1

    selector:

-     matchLabels:

-       app: monitor-dashboard

-       deploymentconfig: monitor-dashboard

+     app: monitor-dashboard

+     deploymentconfig: monitor-dashboard

    template:

      metadata:

        labels:
@@ -89,4 +88,4 @@ 

  #          name: grafana-notifiers

  #        - configMap:

  #            name: grafana-dashboards

- #          name: grafana-dashboards 

\ No newline at end of file

+ #          name: grafana-dashboards

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

bumped in #fedora-infra channel in Matrix

rebased onto ea9afb1

18 days ago

rebased onto ea9afb1

18 days ago

Pull-Request has been merged by zlopez

18 days ago