Fix: read-only definition in cue spec (#5498)

This commit is contained in:
qiaozp
2023-02-15 11:35:10 +08:00
committed by GitHub
parent 03943752de
commit 57cd4ceb7e
3 changed files with 3 additions and 3 deletions
@@ -13,7 +13,7 @@ spec:
template: |
#PolicyRule: {
// +usage=Specify how to select the targets of the rule
selector: [...#RuleSelector]
selector: #RuleSelector
}
#RuleSelector: {
// +usage=Select resources by component names
@@ -13,7 +13,7 @@ spec:
template: |
#PolicyRule: {
// +usage=Specify how to select the targets of the rule
selector: [...#RuleSelector]
selector: #RuleSelector
}
#RuleSelector: {
// +usage=Select resources by component names
@@ -9,7 +9,7 @@
template: {
#PolicyRule: {
// +usage=Specify how to select the targets of the rule
selector: [...#RuleSelector]
selector: #RuleSelector
}
#RuleSelector: {