...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: nodefirewall.dsds.edge.ncr.com
8spec:
9 group: dsds.edge.ncr.com
10 names:
11 kind: NodeFirewall
12 listKind: NodeFirewallList
13 plural: nodefirewall
14 shortNames:
15 - nfw
16 singular: nodefirewall
17 scope: Cluster
18 versions:
19 - additionalPrinterColumns:
20 - jsonPath: .status.condition.status
21 name: State
22 type: string
23 - jsonPath: .status.condition.message
24 name: Message
25 type: string
26 name: v1
27 schema:
28 openAPIV3Schema:
29 properties:
30 apiVersion:
31 description: |-
32 APIVersion defines the versioned schema of this representation of an object.
33 Servers should convert recognized schemas to the latest internal value, and
34 may reject unrecognized values.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
36 type: string
37 kind:
38 description: |-
39 Kind is a string value representing the REST resource this object represents.
40 Servers may infer this from the endpoint the client submits requests to.
41 Cannot be updated.
42 In CamelCase.
43 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44 type: string
45 metadata:
46 type: object
47 spec:
48 properties:
49 rules:
50 items:
51 properties:
52 destinationRanges:
53 items:
54 type: string
55 type: array
56 direction:
57 enum:
58 - input
59 - output
60 type: string
61 filters:
62 items:
63 properties:
64 IPProtocol:
65 enum:
66 - tcp
67 - udp
68 type: string
69 action:
70 enum:
71 - allow
72 - deny
73 type: string
74 portRange:
75 type: string
76 required:
77 - IPProtocol
78 - action
79 - portRange
80 type: object
81 type: array
82 id:
83 type: string
84 interfaceMAC:
85 type: string
86 name:
87 type: string
88 sourceRanges:
89 items:
90 type: string
91 type: array
92 required:
93 - destinationRanges
94 - direction
95 - filters
96 - id
97 - name
98 - sourceRanges
99 type: object
100 type: array
101 required:
102 - rules
103 type: object
104 status:
105 properties:
106 conditions:
107 items:
108 description: "Condition contains details for one aspect of the current
109 state of this API Resource.\n---\nThis struct is intended for
110 direct use as an array at the field path .status.conditions. For
111 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
112 observations of a foo's current state.\n\t // Known .status.conditions.type
113 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
114 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
115 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
116 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
117 \ // other fields\n\t}"
118 properties:
119 lastTransitionTime:
120 description: |-
121 lastTransitionTime is the last time the condition transitioned from one status to another.
122 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
123 format: date-time
124 type: string
125 message:
126 description: |-
127 message is a human readable message indicating details about the transition.
128 This may be an empty string.
129 maxLength: 32768
130 type: string
131 observedGeneration:
132 description: |-
133 observedGeneration represents the .metadata.generation that the condition was set based upon.
134 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
135 with respect to the current state of the instance.
136 format: int64
137 minimum: 0
138 type: integer
139 reason:
140 description: |-
141 reason contains a programmatic identifier indicating the reason for the condition's last transition.
142 Producers of specific condition types may define expected values and meanings for this field,
143 and whether the values are considered a guaranteed API.
144 The value should be a CamelCase string.
145 This field may not be empty.
146 maxLength: 1024
147 minLength: 1
148 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
149 type: string
150 status:
151 description: status of the condition, one of True, False, Unknown.
152 enum:
153 - "True"
154 - "False"
155 - Unknown
156 type: string
157 type:
158 description: |-
159 type of condition in CamelCase or in foo.example.com/CamelCase.
160 ---
161 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
162 useful (see .node.status.conditions), the ability to deconflict is important.
163 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
164 maxLength: 316
165 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
166 type: string
167 required:
168 - lastTransitionTime
169 - message
170 - reason
171 - status
172 - type
173 type: object
174 type: array
175 inventory:
176 items:
177 type: string
178 type: array
179 type: object
180 type: object
181 served: true
182 storage: true
183 subresources:
184 status: {}
View as plain text