diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-apiservice.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-apiservice.yaml deleted file mode 100644 index 44d07f64139..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-apiservice.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: apiregistration.k8s.io/v1beta1 -kind: APIService -metadata: - name: v1alpha1.mygroup.example.com -spec: - insecureSkipTLSVerify: true - group: mygroup.example.com - priority: 500 - service: - name: api - namespace: apiextensions - version: v1alpha1 diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-resource-definition.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-resource-definition.yaml deleted file mode 100644 index 86205f9dbfe..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu-resource-definition.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1beta1 -kind: CustomResourceDefinition -metadata: - name: noxus.mygroup.example.com -spec: - group: mygroup.example.com - version: v1alpha1 - scope: Namespaced - names: - plural: noxus - singular: noxu - kind: Noxu - listKind: NoxuList \ No newline at end of file diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu.yaml deleted file mode 100644 index 3cdda5efe6e..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/customresource-01/noxu.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: mygroup.example.com/v1alpha1 -kind: Noxu -metadata: - name: alfa-noxu -spec: - key: value \ No newline at end of file diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/apiservice.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/apiservice.yaml deleted file mode 100644 index 332bb120ae7..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/apiservice.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: apiregistration.k8s.io/v1beta1 -kind: APIService -metadata: - name: v1alpha1.apiextensions.k8s.io -spec: - insecureSkipTLSVerify: true - group: apiextensions.k8s.io - priority: 100 - service: - name: api - namespace: apiextensions - version: v1alpha1 diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-delegator.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-delegator.yaml deleted file mode 100644 index ef608eced02..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-delegator.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: apiextensions:system:auth-delegator -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: system:auth-delegator -subjects: -- kind: ServiceAccount - name: apiserver - namespace: apiextensions diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-reader.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-reader.yaml deleted file mode 100644 index 4f0f0e2b64b..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/auth-reader.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: apiextensions-auth-reader - namespace: kube-system -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: extension-apiserver-authentication-reader -subjects: -- kind: ServiceAccount - name: apiserver - namespace: apiextensions diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/rc.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/rc.yaml deleted file mode 100644 index b42d8508297..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/rc.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: apiextensions-server - namespace: apiextensions - labels: - apiserver: "true" -spec: - replicas: 1 - selector: - apiserver: "true" - template: - metadata: - labels: - apiserver: "true" - spec: - serviceAccountName: apiserver - containers: - - name: apiextensions-server - image: apiextensions-apiserver:latest - imagePullPolicy: Never - args: - - "--etcd-servers=http://localhost:2379" - - "--audit-log-path=-" - - name: etcd - image: quay.io/coreos/etcd:v3.2.24 diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/sa.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/sa.yaml deleted file mode 100644 index 0f2e17f6a43..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/sa.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: ServiceAccount -apiVersion: v1 -metadata: - name: apiserver - namespace: apiextensions diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/service.yaml b/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/service.yaml deleted file mode 100644 index 2b66f1d8aff..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/example/service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: api - namespace: apiextensions -spec: - ports: - - port: 443 - protocol: TCP - targetPort: 443 - selector: - apiserver: "true" diff --git a/staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile b/staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile deleted file mode 100644 index c41affec9a1..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2017 The Kubernetes Authors. -# -# Licensed 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. - -FROM fedora -ADD apiextensions-apiserver / -ENTRYPOINT ["/apiextensions-apiserver"] diff --git a/staging/src/k8s.io/apiextensions-apiserver/hack/build-image.sh b/staging/src/k8s.io/apiextensions-apiserver/hack/build-image.sh deleted file mode 100755 index 1f7bb58c334..00000000000 --- a/staging/src/k8s.io/apiextensions-apiserver/hack/build-image.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -# Copyright 2017 The Kubernetes Authors. -# -# Licensed 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. - -set -o errexit -set -o nounset -set -o pipefail - -KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../../../../.. -source "${KUBE_ROOT}/hack/lib/util.sh" - -# Register function to be called on EXIT to remove generated binary. -function cleanup { - rm "${KUBE_ROOT}/vendor/k8s.io/apiextensions-apiserver/artifacts/simple-image/apiextensions-apiserver" -} -trap cleanup EXIT - -pushd "${KUBE_ROOT}/vendor/k8s.io/apiextensions-apiserver" -cp -v ../../../../_output/local/bin/linux/amd64/apiextensions-apiserver ./artifacts/simple-image/apiextensions-apiserver -docker build -t apiextensions-apiserver:latest ./artifacts/simple-image -popd