-
Notifications
You must be signed in to change notification settings - Fork 67
/
zz_generated_crds.go
1049 lines (1044 loc) · 35.8 KB
/
zz_generated_crds.go
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// SPDX-FileCopyrightText: SAP SE or an SAP affiliate company and Gardener contributors
//
// SPDX-License-Identifier: Apache-2.0
package crds
import (
"github.com/gardener/controller-manager-library/pkg/resources/apiextensions"
"github.com/gardener/controller-manager-library/pkg/utils"
)
var registry = apiextensions.NewRegistry()
func init() {
var data string
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnsannotations.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSAnnotation
listKind: DNSAnnotationList
plural: dnsannotations
shortNames:
- dnsa
singular: dnsannotation
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.resourceRef.apiVersion
name: RefGroup
type: string
- jsonPath: .spec.resourceRef.kind
name: RefKind
type: string
- jsonPath: .spec.resourceRef.name
name: RefName
type: string
- jsonPath: .spec.resourceRef.namespace
name: RefNamespace
type: string
- jsonPath: .status.active
name: Active
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
annotations:
additionalProperties:
type: string
type: object
resourceRef:
properties:
apiVersion:
description: API Version of the annotated object
type: string
kind:
description: 'Kind of the annotated object More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
name:
description: Name of the annotated object
type: string
namespace:
description: Namspace of the annotated object Defaulted by the
namespace of the containing resource.
type: string
required:
- apiVersion
- kind
type: object
required:
- annotations
- resourceRef
type: object
status:
properties:
active:
description: Indicates that annotation is observed by a DNS sorce
controller
type: boolean
message:
description: In case of a configuration problem this field describes
the reason
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnsentries.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSEntry
listKind: DNSEntryList
plural: dnsentries
shortNames:
- dnse
singular: dnsentry
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: FQDN of DNS Entry
jsonPath: .spec.dnsName
name: DNS
type: string
- description: provider type
jsonPath: .status.providerType
name: TYPE
type: string
- description: assigned provider (namespace/name)
jsonPath: .status.provider
name: PROVIDER
type: string
- description: entry status
jsonPath: .status.state
name: STATUS
type: string
- description: entry creation timestamp
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: effective targets
jsonPath: .status.targets
name: TARGETS
type: string
- description: owner id used to tag entries in external DNS system
jsonPath: .spec.ownerId
name: OWNERID
type: string
- description: time to live
jsonPath: .status.ttl
name: TTL
priority: 2000
type: integer
- description: zone id
jsonPath: .status.zone
name: ZONE
priority: 2000
type: string
- description: routing policy type
jsonPath: .status.routingPolicy.type
name: POLICY_TYPE
priority: 2000
type: string
- description: routing policy set identifier
jsonPath: .status.routingPolicy.setIdentifier
name: POLICY_SETID
priority: 2000
type: string
- description: routing policy parameters
jsonPath: .status.routingPolicy.parameters
name: POLICY_PARAMS
priority: 2000
type: string
- description: message describing the reason for the state
jsonPath: .status.message
name: MESSAGE
priority: 2000
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
cnameLookupInterval:
description: lookup interval for CNAMEs that must be resolved to IP
addresses
format: int64
type: integer
dnsName:
description: full qualified domain name
type: string
ownerId:
description: owner id used to tag entries in external DNS system
type: string
reference:
description: reference to base entry used to inherit attributes from
properties:
name:
description: name of the referenced DNSEntry object
type: string
namespace:
description: namespace of the referenced DNSEntry object
type: string
required:
- name
type: object
routingPolicy:
description: optional routing policy
properties:
parameters:
additionalProperties:
type: string
description: Policy specific parameters
type: object
setIdentifier:
description: SetIdentifier is the identifier of the record set
type: string
type:
description: Policy is the policy type. Allowed values are provider
dependent, e.g. ` + "`" + `weighted` + "`" + `
type: string
required:
- parameters
- setIdentifier
- type
type: object
targets:
description: target records (CNAME or A records), either text or targets
must be specified
items:
type: string
type: array
text:
description: text records, either text or targets must be specified
items:
type: string
type: array
ttl:
description: time to live for records in external DNS system
format: int64
type: integer
required:
- dnsName
type: object
status:
properties:
lastUpdateTime:
description: lastUpdateTime contains the timestamp of the last status
update
format: date-time
type: string
message:
description: message describing the reason for the state
type: string
observedGeneration:
format: int64
type: integer
provider:
description: assigned provider
type: string
providerType:
description: provider type used for the entry
type: string
routingPolicy:
description: effective routing policy
properties:
parameters:
additionalProperties:
type: string
description: Policy specific parameters
type: object
setIdentifier:
description: SetIdentifier is the identifier of the record set
type: string
type:
description: Policy is the policy type. Allowed values are provider
dependent, e.g. ` + "`" + `weighted` + "`" + `
type: string
required:
- parameters
- setIdentifier
- type
type: object
state:
description: entry state
type: string
targets:
description: effective targets generated for the entry
items:
type: string
type: array
ttl:
description: time to live used for the entry
format: int64
type: integer
zone:
description: zone used for the entry
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnshostedzonepolicies.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSHostedZonePolicy
listKind: DNSHostedZonePolicyList
plural: dnshostedzonepolicies
shortNames:
- dnshzp
singular: dnshostedzonepolicy
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .status.count
name: Zone Count
type: integer
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
policy:
description: ZonePolicy specifies zone specific policy
properties:
zoneStateCacheTTL:
description: ZoneStateCacheTTL specifies the TTL for the zone
state cache
type: string
type: object
selector:
description: ZoneSelector specifies the selector for the DNS hosted
zones
properties:
domainNames:
description: DomainNames selects by base domain name of hosted
zone. Policy will be applied to zones with matching base domain
items:
type: string
type: array
providerTypes:
description: ProviderTypes selects by provider types
items:
type: string
type: array
zoneIDs:
description: ZoneIDs selects by provider dependent zone ID
items:
type: string
type: array
type: object
required:
- policy
- selector
type: object
status:
properties:
count:
description: Number of zones this policy is applied to
type: integer
lastStatusUpdateTime:
description: LastStatusUpdateTime contains the timestamp of the last
status update
format: date-time
type: string
message:
description: In case of a configuration problem this field describes
the reason
type: string
zones:
description: Indicates that annotation is observed by a DNS sorce
controller
items:
properties:
domainName:
description: Domain name of the zone
type: string
providerType:
description: Provider type of the zone
type: string
zoneID:
description: ID of the zone
type: string
required:
- domainName
- providerType
- zoneID
type: object
type: array
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnslocks.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSLock
listKind: DNSLockList
plural: dnslocks
shortNames:
- dnsl
singular: dnslock
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: FQDN of DNS Entry
jsonPath: .spec.dnsName
name: DNS
type: string
- description: provider type
jsonPath: .status.providerType
name: TYPE
type: string
- description: assigned provider (namespace/name)
jsonPath: .status.provider
name: PROVIDER
type: string
- description: entry status
jsonPath: .status.state
name: STATUS
type: string
- description: entry creation timestamp
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: owner group id used to tag entries in external DNS system
jsonPath: .spec.ownerGroupId
name: OWNERID
type: string
- description: time to live
jsonPath: .status.ttl
name: TTL
priority: 2000
type: integer
- description: zone id
jsonPath: .status.zone
name: ZONE
priority: 2000
type: string
- description: message describing the reason for the state
jsonPath: .status.message
name: MESSAGE
priority: 2000
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
attributes:
additionalProperties:
type: string
description: attribute values (must be compatible with DNS TXT records)
type: object
dnsName:
description: full qualified domain name
type: string
lockId:
description: owner group for collaboration of multiple controller
type: string
timestamp:
description: Activation time stamp
format: date-time
type: string
ttl:
description: time to live for records in external DNS system
format: int64
type: integer
required:
- dnsName
- timestamp
- ttl
type: object
status:
properties:
attributes:
additionalProperties:
type: string
description: attribute values found in DNS
type: object
firstFailedDNSLookup:
description: First failed DNS looup
format: date-time
type: string
lastUpdateTime:
description: lastUpdateTime contains the timestamp of the last status
update
format: date-time
type: string
lockId:
description: owner group for collaboration of multiple controller
found in DNS
type: string
message:
description: message describing the reason for the state
type: string
observedGeneration:
format: int64
type: integer
provider:
description: assigned provider
type: string
providerType:
description: provider type used for the entry
type: string
state:
description: entry state
type: string
timestamp:
description: Activation time stamp found in DNS
format: date-time
type: string
ttl:
description: time to live used for the entry
format: int64
type: integer
zone:
description: zone used for the entry
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnsowners.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSOwner
listKind: DNSOwnerList
plural: dnsowners
shortNames:
- dnso
singular: dnsowner
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.ownerId
name: OwnerId
type: string
- jsonPath: .status.active
name: Active
type: boolean
- jsonPath: .status.entries.amount
name: Usages
type: integer
- description: expiration date
format: date-time
jsonPath: .spec.validUntil
name: Valid
type: string
- description: creation timestamp
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
active:
description: state of the ownerid for the DNS controller observing
entry using this owner id (default:true)
type: boolean
dnsActivation:
description: Optional activation info for controlling the owner activation
remotely via DNS TXT record
properties:
dnsName:
description: DNS name for controlling the owner activation remotely
via DNS TXT record
type: string
value:
description: Optional value for the DNS activation record used
to activate this owner The default is the id of the cluster
used to read the owner object
type: string
required:
- dnsName
type: object
ownerId:
description: owner id used to tag entries in external DNS system
type: string
validUntil:
description: optional time this owner should be active if active flag
is not false
format: date-time
type: string
required:
- ownerId
type: object
status:
properties:
active:
description: state of the ownerid for the DNS controller observing
entry using this owner id
type: boolean
entries:
description: Entry statistic for this owner id
properties:
amount:
description: number of entries using this owner id
type: integer
types:
additionalProperties:
type: integer
description: number of entries per provider type
type: object
type: object
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: dnsproviders.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: DNSProvider
listKind: DNSProviderList
plural: dnsproviders
shortNames:
- dnspr
singular: dnsprovider
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.type
name: TYPE
type: string
- jsonPath: .status.state
name: STATUS
type: string
- description: creation timestamp
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: included domains
jsonPath: .status.domains.included
name: INCLUDED_DOMAINS
type: string
- description: included zones
jsonPath: .status.zones.included
name: INCLUDED_ZONES
priority: 2000
type: string
- description: message describing the reason for the state
jsonPath: .status.message
name: MESSAGE
priority: 2000
type: string
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
defaultTTL:
description: default TTL used for DNS entries if not specified explicitly
format: int64
type: integer
domains:
description: desired selection of usable domains (by default all zones
and domains in those zones will be served)
properties:
exclude:
description: values that should be ignored (domains or zones)
items:
type: string
type: array
include:
description: values that should be observed (domains or zones)
items:
type: string
type: array
type: object
providerConfig:
description: optional additional provider specific configuration values
type: object
x-kubernetes-preserve-unknown-fields: true
rateLimit:
description: rate limit for create/update operations on DNSEntries
assigned to this provider
properties:
burst:
description: Burst allows bursts of up to 'burst' to exceed the
rate defined by 'RequestsPerDay', while still maintaining a
smoothed rate of 'RequestsPerDay'
type: integer
requestsPerDay:
description: RequestsPerDay is create/update request rate per
DNS entry given by requests per day
type: integer
required:
- burst
- requestsPerDay
type: object
secretRef:
description: access credential for the external DNS system of the
given type
properties:
name:
description: name is unique within a namespace to reference a
secret resource.
type: string
namespace:
description: namespace defines the space within which the secret
name must be unique.
type: string
type: object
x-kubernetes-map-type: atomic
type:
description: type of the provider (selecting the responsible type
of DNS controller)
type: string
zones:
description: desired selection of usable domains the domain selection
is used for served zones, only (by default all zones will be served)
properties:
exclude:
description: values that should be ignored (domains or zones)
items:
type: string
type: array
include:
description: values that should be observed (domains or zones)
items:
type: string
type: array
type: object
type: object
status:
properties:
defaultTTL:
description: actually used default TTL for DNS entries
format: int64
type: integer
domains:
description: actually served domain selection
properties:
excluded:
description: Excluded values (domains or zones)
items:
type: string
type: array
included:
description: included values (domains or zones)
items:
type: string
type: array
type: object
lastUpdateTime:
description: lastUpdateTime contains the timestamp of the last status
update
format: date-time
type: string
message:
description: message describing the reason for the actual state of
the provider
type: string
observedGeneration:
format: int64
type: integer
rateLimit:
description: actually used rate limit for create/update operations
on DNSEntries assigned to this provider
properties:
burst:
description: Burst allows bursts of up to 'burst' to exceed the
rate defined by 'RequestsPerDay', while still maintaining a
smoothed rate of 'RequestsPerDay'
type: integer
requestsPerDay:
description: RequestsPerDay is create/update request rate per
DNS entry given by requests per day
type: integer
required:
- burst
- requestsPerDay
type: object
state:
description: state of the provider
type: string
zones:
description: actually served zones
properties:
excluded:
description: Excluded values (domains or zones)
items:
type: string
type: array
included:
description: included values (domains or zones)
items:
type: string
type: array
type: object
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
`
utils.Must(registry.RegisterCRD(data))
data = `
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: remoteaccesscertificates.dns.gardener.cloud
spec:
group: dns.gardener.cloud
names:
kind: RemoteAccessCertificate
listKind: RemoteAccessCertificateList
plural: remoteaccesscertificates
shortNames:
- remotecert
singular: remoteaccesscertificate
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.type
name: Type
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.notBefore
name: SecretAge
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
days:
description: Number of days the certificate should be valid
type: integer
domainName:
description: Domain name, used for building subject and DNS name
type: string
recreate:
description: Indicates if certificate should be recreated and replaced
in the secret