We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177ce3c commit ad74010Copy full SHA for ad74010
samples/controller/artifacts/examples/crd.yaml
@@ -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
17
+ replicas:
18
+ type: integer
19
+ minimum: 1
20
+ maximum: 10
samples/controller/artifacts/examples/example-foo.yaml
@@ -0,0 +1,7 @@
+apiVersion: samplecontroller.k8s.io/v1alpha1
+kind: Foo
+ name: example-foo
+ deploymentName: example-foo
+ replicas: 1
0 commit comments