Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6a74988f
Commit
6a74988f
authored
Apr 28, 2017
by
deads2k
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image and resources for manual testing
parent
c7e68a27
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
142 additions
and
0 deletions
+142
-0
noxu-resource-definition.yaml
...artifacts/customresource-01/noxu-resource-definition.yaml
+13
-0
apiservice.yaml
...be-apiextensions-server/artifacts/example/apiservice.yaml
+12
-0
auth-delegator.yaml
...piextensions-server/artifacts/example/auth-delegator.yaml
+13
-0
auth-reader.yaml
...e-apiextensions-server/artifacts/example/auth-reader.yaml
+14
-0
rc.yaml
...8s.io/kube-apiextensions-server/artifacts/example/rc.yaml
+26
-0
sa.yaml
...8s.io/kube-apiextensions-server/artifacts/example/sa.yaml
+5
-0
service.yaml
.../kube-apiextensions-server/artifacts/example/service.yaml
+12
-0
Dockerfile
...be-apiextensions-server/artifacts/simple-image/Dockerfile
+17
-0
build-image.sh
.../src/k8s.io/kube-apiextensions-server/hack/build-image.sh
+30
-0
No files found.
staging/src/k8s.io/kube-apiextensions-server/artifacts/customresource-01/noxu-resource-definition.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
apiextensions.k8s.io/v1alpha1
kind
:
CustomResource
metadata
:
name
:
noxus.mygroup.example.com
spec
:
group
:
mygroup.example.com
version
:
v1alpha1
names
:
name
:
noxus
singular
:
noxu
kind
:
Noxu
listKind
:
NoxuList
\ No newline at end of file
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/apiservice.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
apiregistration.k8s.io/v1alpha1
kind
:
APIService
metadata
:
name
:
v1alpha1.apiextensions.k8s.io
spec
:
insecureSkipTLSVerify
:
true
group
:
apiextensions.k8s.io
priority
:
100
service
:
name
:
api
namespace
:
kube-apiextensions
version
:
v1alpha1
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/auth-delegator.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
rbac.authorization.k8s.io/v1alpha1
kind
:
ClusterRoleBinding
metadata
:
name
:
apiextensions:system:auth-delegator
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
system:auth-delegator
subjects
:
-
apiVersion
:
v1
kind
:
ServiceAccount
name
:
apiserver
namespace
:
kube-apiextensions
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/auth-reader.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
rbac.authorization.k8s.io/v1alpha1
kind
:
RoleBinding
metadata
:
name
:
apiextensions-auth-reader
namespace
:
kube-system
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
Role
name
:
extension-apiserver-authentication-reader
subjects
:
-
apiVersion
:
v1
kind
:
ServiceAccount
name
:
apiserver
namespace
:
kube-apiextensions
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/rc.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
v1
kind
:
ReplicationController
metadata
:
name
:
apiextensions-server
namespace
:
kube-apiextensions
labels
:
apiserver
:
"
true"
spec
:
replicas
:
1
selector
:
apiserver
:
"
true"
template
:
metadata
:
labels
:
apiserver
:
"
true"
spec
:
serviceAccountName
:
apiserver
containers
:
-
name
:
apiextensions-server
image
:
kube-apiextensions-server:latest
imagePullPolicy
:
Never
args
:
-
"
--etcd-servers=http://localhost:2379"
-
"
--audit-log-path=-"
-
name
:
etcd
image
:
quay.io/coreos/etcd:v3.0.17
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/sa.yaml
0 → 100644
View file @
6a74988f
kind
:
ServiceAccount
apiVersion
:
v1
metadata
:
name
:
apiserver
namespace
:
kube-apiextensions
staging/src/k8s.io/kube-apiextensions-server/artifacts/example/service.yaml
0 → 100644
View file @
6a74988f
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
api
namespace
:
kube-apiextensions
spec
:
ports
:
-
port
:
443
protocol
:
TCP
targetPort
:
443
selector
:
apiserver
:
"
true"
staging/src/k8s.io/kube-apiextensions-server/artifacts/simple-image/Dockerfile
0 → 100644
View file @
6a74988f
# 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
kube-apiextensions-server /
ENTRYPOINT
["/kube-apiextensions-server"]
staging/src/k8s.io/kube-apiextensions-server/hack/build-image.sh
0 → 100755
View file @
6a74988f
#!/bin/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.
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../../../../..
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/kube-apiextensions-server/artifacts/simple-image/kube-apiextensions-server"
}
trap
cleanup EXIT
pushd
"
${
KUBE_ROOT
}
/vendor/k8s.io/kube-apiextensions-server"
cp
-v
../../../../_output/local/bin/linux/amd64/kube-apiextensions-server ./artifacts/simple-image/kube-apiextensions-server
docker build
-t
kube-apiextensions-server:latest ./artifacts/simple-image
popd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment