make prometheus example work on older servers
-apiVersion: template.openshift.io/v1
+apiVersion: v1
kind: Template
metadata:
name: prometheus
@@ -31,7 +31,7 @@ objects:
namespace: "${NAMESPACE}"
annotations:
serviceaccounts.openshift.io/oauth-redirectreference.primary: '{"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"prometheus"}}'
-- apiVersion: authorization.openshift.io/v1
+- apiVersion: v1
kind: ClusterRoleBinding
metadata:
name: prometheus-cluster-reader
@@ -42,7 +42,7 @@ objects:
name: prometheus
namespace: "${NAMESPACE}"
# Create a fully end-to-end TLS connection to the proxy
-- apiVersion: route.openshift.io/v1
+- apiVersion: v1
kind: Route
metadata:
name: prometheus
