...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/dcl2crd: "true"
23 cnrm.cloud.google.com/managed-by-kcc: "true"
24 cnrm.cloud.google.com/stability-level: stable
25 cnrm.cloud.google.com/system: "true"
26 name: computefirewallpolicyassociations.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeFirewallPolicyAssociation
33 plural: computefirewallpolicyassociations
34 shortNames:
35 - gcpcomputefirewallpolicyassociation
36 - gcpcomputefirewallpolicyassociations
37 singular: computefirewallpolicyassociation
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1beta1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 attachmentTargetRef:
75 description: Immutable.
76 oneOf:
77 - not:
78 required:
79 - external
80 required:
81 - name
82 - kind
83 - not:
84 anyOf:
85 - required:
86 - name
87 - required:
88 - namespace
89 - required:
90 - kind
91 required:
92 - external
93 properties:
94 external:
95 description: |-
96 The target that the firewall policy is attached to.
97
98 Allowed values:
99 * The Google Cloud resource name of a `Folder` resource (format: `folders/{{name}}`).
100 * The Google Cloud resource name of a Google Cloud Organization (format: `organizations/{{name}}`).
101 type: string
102 kind:
103 description: 'Kind of the referent. Allowed values: Folder'
104 type: string
105 name:
106 description: |-
107 [WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.
108 Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
109 type: string
110 namespace:
111 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
112 type: string
113 type: object
114 firewallPolicyRef:
115 description: Immutable.
116 oneOf:
117 - not:
118 required:
119 - external
120 required:
121 - name
122 - not:
123 anyOf:
124 - required:
125 - name
126 - required:
127 - namespace
128 required:
129 - external
130 properties:
131 external:
132 description: |-
133 The firewall policy ID of the association.
134
135 Allowed value: The Google Cloud resource name of a `ComputeFirewallPolicy` resource (format: `locations/global/firewallPolicies/{{name}}`).
136 type: string
137 name:
138 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
139 type: string
140 namespace:
141 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
142 type: string
143 type: object
144 resourceID:
145 description: Immutable. Optional. The name of the resource. Used for
146 creation and acquisition. When unset, the value of `metadata.name`
147 is used as the default.
148 type: string
149 required:
150 - attachmentTargetRef
151 - firewallPolicyRef
152 type: object
153 status:
154 properties:
155 conditions:
156 description: Conditions represent the latest available observation
157 of the resource's current state.
158 items:
159 properties:
160 lastTransitionTime:
161 description: Last time the condition transitioned from one status
162 to another.
163 type: string
164 message:
165 description: Human-readable message indicating details about
166 last transition.
167 type: string
168 reason:
169 description: Unique, one-word, CamelCase reason for the condition's
170 last transition.
171 type: string
172 status:
173 description: Status is the status of the condition. Can be True,
174 False, Unknown.
175 type: string
176 type:
177 description: Type is the type of the condition.
178 type: string
179 type: object
180 type: array
181 observedGeneration:
182 description: ObservedGeneration is the generation of the resource
183 that was most recently observed by the Config Connector controller.
184 If this is equal to metadata.generation, then that means that the
185 current reported status reflects the most recent desired state of
186 the resource.
187 type: integer
188 shortName:
189 description: The short name of the firewall policy of the association.
190 type: string
191 type: object
192 required:
193 - spec
194 type: object
195 served: true
196 storage: true
197 subresources:
198 status: {}
199status:
200 acceptedNames:
201 kind: ""
202 plural: ""
203 conditions: []
204 storedVersions: []
View as plain text