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
8a6a25f5
Commit
8a6a25f5
authored
Aug 21, 2017
by
Di Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tests
parent
be0cadde
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
0 deletions
+61
-0
test-cmd-util.sh
hack/make-rules/test-cmd-util.sh
+0
-0
initializer-clusterrolebinding.yaml
hack/testdata/initializer-clusterrolebinding.yaml
+17
-0
initializer-deployments.yaml
hack/testdata/initializer-deployments.yaml
+25
-0
initializer-redis-master-service.yaml
hack/testdata/initializer-redis-master-service.yaml
+19
-0
No files found.
hack/make-rules/test-cmd-util.sh
View file @
8a6a25f5
This diff is collapsed.
Click to expand it.
hack/testdata/initializer-clusterrolebinding.yaml
0 → 100644
View file @
8a6a25f5
apiVersion
:
rbac.authorization.k8s.io/v1beta1
kind
:
ClusterRoleBinding
metadata
:
name
:
super-admin
initializers
:
pending
:
-
name
:
podimage.initializer.com
labels
:
clusterrolebinding
:
super
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
admin
subjects
:
-
apiGroup
:
rbac.authorization.k8s.io
kind
:
User
name
:
super-admin
hack/testdata/initializer-deployments.yaml
0 → 100644
View file @
8a6a25f5
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
web
initializers
:
pending
:
-
name
:
podimage.initializer.com
labels
:
run
:
web
spec
:
replicas
:
5
selector
:
matchLabels
:
run
:
web
template
:
metadata
:
labels
:
run
:
web
spec
:
containers
:
-
image
:
nginx:1.10
name
:
web
ports
:
-
containerPort
:
80
protocol
:
TCP
hack/testdata/initializer-redis-master-service.yaml
0 → 100644
View file @
8a6a25f5
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
redis-master
labels
:
app
:
redis
role
:
master
tier
:
backend
initializers
:
pending
:
-
name
:
podimage.initializer.com
spec
:
ports
:
-
port
:
6379
targetPort
:
6379
selector
:
app
:
redis
role
:
master
tier
:
backend
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