Browse Source

cluster-monitoring: Add port definition to cluster-monitoring-operator

Frederic Branczyk 6 years ago
parent
commit
9cd4b795fd

+ 3 - 0
roles/openshift_cluster_monitoring_operator/templates/cluster-monitoring-operator-deployment.j2

@@ -42,6 +42,9 @@ spec:
         - "-tags=kube-state-metrics={{ openshift_image_tag }}"
         - "-tags=kube-rbac-proxy={{ openshift_image_tag }}"
 {% endif %}
+        ports:
+        - containerPort: 8080
+          name: http
         resources:
           limits:
             cpu: 20m