This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git
The following commit(s) were added to refs/heads/master by this push:
new a07d01b * Delete the unused custom metric profile. (#76)
a07d01b is described below
commit a07d01b23a538854d71c362090500ac7b34b5a77
Author: Ye Cao <[email protected]>
AuthorDate: Mon Sep 26 15:37:15 2022 +0800
* Delete the unused custom metric profile. (#76)
* Bump up apiregistration from v1beta1 to v1.
Signed-off-by: dashanji <[email protected]>
---
adapter/config/namespaced/apiservice/custom.yaml | 43 ----------------------
adapter/config/namespaced/apiservice/external.yaml | 2 +-
.../namespaced/apiservice/kustomization.yaml | 1 -
3 files changed, 1 insertion(+), 45 deletions(-)
diff --git a/adapter/config/namespaced/apiservice/custom.yaml
b/adapter/config/namespaced/apiservice/custom.yaml
deleted file mode 100644
index aa2a724..0000000
--- a/adapter/config/namespaced/apiservice/custom.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-# Licensed to Apache Software Foundation (ASF) under one or more contributor
-# license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright
-# ownership. Apache Software Foundation (ASF) licenses this file to you under
-# the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-apiVersion: apiregistration.k8s.io/v1beta1
-kind: APIService
-metadata:
- name: v1beta1.custom.metrics.k8s.io
-spec:
- service:
- name: apiserver
- group: custom.metrics.k8s.io
- version: v1beta1
- insecureSkipTLSVerify: true
- groupPriorityMinimum: 100
- versionPriority: 100
----
-apiVersion: apiregistration.k8s.io/v1beta1
-kind: APIService
-metadata:
- name: v1beta2.custom.metrics.k8s.io
-spec:
- service:
- name: apiserver
- group: custom.metrics.k8s.io
- version: v1beta2
- insecureSkipTLSVerify: true
- groupPriorityMinimum: 100
- versionPriority: 200
-
diff --git a/adapter/config/namespaced/apiservice/external.yaml
b/adapter/config/namespaced/apiservice/external.yaml
index 75526c4..5c8c9c1 100644
--- a/adapter/config/namespaced/apiservice/external.yaml
+++ b/adapter/config/namespaced/apiservice/external.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-apiVersion: apiregistration.k8s.io/v1beta1
+apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
name: v1beta1.external.metrics.k8s.io
diff --git a/adapter/config/namespaced/apiservice/kustomization.yaml
b/adapter/config/namespaced/apiservice/kustomization.yaml
index ea3a7c5..1e8927e 100644
--- a/adapter/config/namespaced/apiservice/kustomization.yaml
+++ b/adapter/config/namespaced/apiservice/kustomization.yaml
@@ -16,5 +16,4 @@
# under the License.
resources:
-# - custom.yaml
- external.yaml