Skip to content
Snippets Groups Projects
Unverified Commit ab8f1bb9 authored by Johannes Würbach's avatar Johannes Würbach
Browse files

custom metrics v1beta2 api

parent 8d667965
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,24 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; ...@@ -134,6 +134,24 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
versionPriority: 100, versionPriority: 100,
}, },
}, },
customMetricsApiServiceV1Beta2: {
apiVersion: 'apiregistration.k8s.io/v1',
kind: 'APIService',
metadata: {
name: 'v1beta2.custom.metrics.k8s.io',
},
spec: {
service: {
name: $.prometheusAdapter.service.metadata.name,
namespace: $._config.namespace,
},
group: 'custom.metrics.k8s.io',
version: 'v1beta2',
insecureSkipTLSVerify: true,
groupPriorityMinimum: 100,
versionPriority: 200,
},
},
customMetricsClusterRoleServerResources: customMetricsClusterRoleServerResources:
local clusterRole = k.rbac.v1.clusterRole; local clusterRole = k.rbac.v1.clusterRole;
local policyRule = clusterRole.rulesType; local policyRule = clusterRole.rulesType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment