@@ -771,7 +771,7 @@ The below rules are currently implemented or are very similar to an existing val
771
771
list map item reference (virtual field)
772
772
</td >
773
773
<td style =" background-color : null" >
774
- `+k8s:listMapItem(pairs: [[key, value] ,...])`
774
+ `+k8s:listMapItem(list-map-key-field-name: value,...])`
775
775
</td >
776
776
<td style =" background-color : null" >
777
777
N/A
@@ -1159,8 +1159,8 @@ type CertificateSigningRequestStatus struct {
1159
1159
// +k8s:optional
1160
1160
// +k8s:listType=map
1161
1161
// +k8s:listMapKey=type
1162
- // +k8s:listMapItem([[" type"," Approved"]] )=+k8s:immutable
1163
- // +k8s:listMapItem([[" type"," Denied"]] )=+k8s:immutable
1162
+ // +k8s:listMapItem(type: " Approved")=+k8s:immutable
1163
+ // +k8s:listMapItem(type: " Denied")=+k8s:immutable
1164
1164
Conditions []CertificateSigningRequestCondition ` json:"conditions,omitempty"`
1165
1165
}
1166
1166
```
@@ -1261,8 +1261,8 @@ type Config struct {
1261
1261
// +k8s:listType=map
1262
1262
// +k8s:listMapKey=type
1263
1263
// +k8s:union(union: terminalStatus)
1264
- // +k8s:listMapItem([[" type"," Succeeded"]] )=+k8s:memberOf(group: terminalStatus)
1265
- // +k8s:listMapItem([[" type"," Failed"]] )=+k8s:memberOf(group: terminalStatus)
1264
+ // +k8s:listMapItem(type: " Succeeded")=+k8s:memberOf(group: terminalStatus)
1265
+ // +k8s:listMapItem(type: " Failed")=+k8s:memberOf(group: terminalStatus)
1266
1266
Conditions []Condition ` json:"conditions"`
1267
1267
}
1268
1268
@@ -1321,8 +1321,8 @@ type Config struct {
1321
1321
// +k8s:listType=map
1322
1322
// +k8s:listMapKey=type
1323
1323
// +k8s:union(union: terminalStatus)
1324
- // +k8s:listMapItem([[" type"," Succeeded"]] )=+k8s:memberOf(group: terminalStatus)
1325
- // +k8s:listMapItem([[" type"," Failed"]] )=+k8s:memberOf(group: terminalStatus)
1324
+ // +k8s:listMapItem(type: " Succeeded")=+k8s:memberOf(group: terminalStatus)
1325
+ // +k8s:listMapItem(type: " Failed")=+k8s:memberOf(group: terminalStatus)
1326
1326
Conditions []Condition ` json:"conditions"`
1327
1327
}
1328
1328
0 commit comments