Skip to content

Commit f76a8c0

Browse files
committed
workaround to pass the Google verificate: re-add CAS v1alpha1
Signed-off-by: Maël Valais <[email protected]>
1 parent 9c181d7 commit f76a8c0

File tree

1 file changed

+107
-0
lines changed
  • chart/jetstack-secure-gcm/charts/google-cas-issuer/templates

1 file changed

+107
-0
lines changed

chart/jetstack-secure-gcm/charts/google-cas-issuer/templates/crds.yaml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# WATCH OUT: the "v1alpha1" of both GoogleCASIssuer and GoogleCASClusterIssuer
2+
# have been added manually to pass the Google verification test. The
3+
# verification failed due to Google using the same cluster to test sequencially
4+
# 1.3 and 1.4, which would fail due to 1.4 having removed the "v1alpha1"
5+
# version. If you ever have to update this file, please make sure that the
6+
# "v1alpha1" is still in the versions. Note that it has "served: false" and
7+
# won't be usable by users, but this allows for the te
18
{{- if .Values.installCRDs }}
29
apiVersion: apiextensions.k8s.io/v1
310
kind: CustomResourceDefinition
@@ -113,6 +120,56 @@ spec:
113120
storage: true
114121
subresources:
115122
status: {}
123+
- name: v1alpha1
124+
schema:
125+
openAPIV3Schema:
126+
properties:
127+
apiVersion:
128+
type: string
129+
kind:
130+
type: string
131+
metadata:
132+
type: object
133+
spec:
134+
properties:
135+
certificateAuthorityID:
136+
type: string
137+
credentials:
138+
properties:
139+
key:
140+
type: string
141+
name:
142+
type: string
143+
type: object
144+
location:
145+
type: string
146+
project:
147+
type: string
148+
type: object
149+
status:
150+
properties:
151+
conditions:
152+
items:
153+
properties:
154+
lastTransitionTime:
155+
format: date-time
156+
type: string
157+
message:
158+
type: string
159+
reason:
160+
type: string
161+
status:
162+
type: string
163+
type:
164+
type: string
165+
type: object
166+
type: array
167+
type: object
168+
type: object
169+
served: false
170+
storage: false
171+
subresources:
172+
status: {}
116173
status:
117174
acceptedNames:
118175
kind: ""
@@ -232,6 +289,56 @@ spec:
232289
storage: true
233290
subresources:
234291
status: {}
292+
- name: v1alpha1
293+
schema:
294+
openAPIV3Schema:
295+
properties:
296+
apiVersion:
297+
type: string
298+
kind:
299+
type: string
300+
metadata:
301+
type: object
302+
spec:
303+
properties:
304+
certificateAuthorityID:
305+
type: string
306+
credentials:
307+
properties:
308+
key:
309+
type: string
310+
name:
311+
type: string
312+
type: object
313+
location:
314+
type: string
315+
project:
316+
type: string
317+
type: object
318+
status:
319+
properties:
320+
conditions:
321+
items:
322+
properties:
323+
lastTransitionTime:
324+
format: date-time
325+
type: string
326+
message:
327+
type: string
328+
reason:
329+
type: string
330+
status:
331+
type: string
332+
type:
333+
type: string
334+
type: object
335+
type: array
336+
type: object
337+
type: object
338+
served: false
339+
storage: false
340+
subresources:
341+
status: {}
235342
status:
236343
acceptedNames:
237344
kind: ""

0 commit comments

Comments
 (0)