@@ -192,8 +192,14 @@ spec:
192
192
a valid secret key.
193
193
type : string
194
194
name :
195
- description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
196
- TODO: Add other useful fields. apiVersion, kind, uid?'
195
+ default : " "
196
+ description : ' Name of the referent. This field is effectively
197
+ required, but due to backwards compatibility is allowed
198
+ to be empty. Instances of this type with an empty value
199
+ here are almost certainly wrong. TODO: Add other useful
200
+ fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
201
+ TODO: Drop `kubebuilder:default` when controller-gen doesn'' t
202
+ need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.'
197
203
type : string
198
204
optional :
199
205
description : Specify whether the Secret or its key must be
@@ -542,8 +548,14 @@ spec:
542
548
a valid secret key.
543
549
type : string
544
550
name :
545
- description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
546
- TODO: Add other useful fields. apiVersion, kind, uid?'
551
+ default : " "
552
+ description : ' Name of the referent. This field is effectively
553
+ required, but due to backwards compatibility is allowed
554
+ to be empty. Instances of this type with an empty value
555
+ here are almost certainly wrong. TODO: Add other useful
556
+ fields. apiVersion, kind, uid? More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
557
+ TODO: Drop `kubebuilder:default` when controller-gen doesn'' t
558
+ need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.'
547
559
type : string
548
560
optional :
549
561
description : Specify whether the Secret or its key must be
@@ -5802,6 +5814,7 @@ rules:
5802
5814
verbs :
5803
5815
# read its own config
5804
5816
- get
5817
+ - list
5805
5818
# create a default if none exists
5806
5819
- create
5807
5820
# update status
0 commit comments