File: customschema.yaml

package info (click to toggle)
golang-k8s-sigs-kustomize-api 0.20.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,768 kB
  • sloc: makefile: 206; sh: 67
file content (78 lines) | stat: -rw-r--r-- 1,927 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
definitions:
  v1alpha1.MyCRD:
    properties:
      apiVersion:
        type: string
      kind:
        type: string
      metadata:
        type: object
      spec:
        properties:
          template:
            "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec"
        type: object
      status:
        properties:
          success:
            type: boolean
        type: object
    type: object
    x-kubernetes-group-version-kind:
      - group: example.com
        kind: MyCRD
        version: v1alpha1
      - group: ""
        kind: MyCRD
        version: v1alpha1
  io.k8s.api.core.v1.PodTemplateSpec:
    properties:
      metadata:
        "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
      spec:
        "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec"
    type: object
  io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta:
    properties:
      name:
        type: string
    type: object
  io.k8s.api.core.v1.PodSpec:
    properties:
      containers:
        items:
          "$ref": "#/definitions/io.k8s.api.core.v1.Container"
        type: array
        x-kubernetes-patch-merge-key: name
        x-kubernetes-patch-strategy: merge
    type: object
  io.k8s.api.core.v1.Container:
    properties:
      command:
        items:
          type: string
        type: array
      image:
        type: string
      name:
        type: string
      ports:
        items:
          "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort"
        type: array
        x-kubernetes-list-map-keys:
          - containerPort
          - protocol
        x-kubernetes-list-type: map
        x-kubernetes-patch-merge-key: containerPort
        x-kubernetes-patch-strategy: merge
    type: object
  io.k8s.api.core.v1.ContainerPort:
    properties:
      containerPort:
        type: integer
      name:
        type: string
      protocol:
        type: string
    type: object