Skip to content

Commit ad74010

Browse files
committed
Add artifacts for sample controller
1 parent 177ce3c commit ad74010

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: foos.samplecontroller.k8s.io
5+
spec:
6+
group: samplecontroller.k8s.io
7+
version: v1alpha1
8+
names:
9+
kind: Foo
10+
plural: foos
11+
scope: Namespaced
12+
validation:
13+
openAPIV3Schema:
14+
properties:
15+
spec:
16+
properties:
17+
replicas:
18+
type: integer
19+
minimum: 1
20+
maximum: 10
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: samplecontroller.k8s.io/v1alpha1
2+
kind: Foo
3+
metadata:
4+
name: example-foo
5+
spec:
6+
deploymentName: example-foo
7+
replicas: 1

0 commit comments

Comments
 (0)