Commit 1c07515
fixes generation of manifests via kubebuilder (#2924)
* fixes generation of manifests via kubebuilder
currently when you run a task operator-manifests, it will change the
clusterrole when it shouldn't. the reason for this is because a var
block was added directly below the kubebuilder comment markers that
generate the permissions for the clusterrole. kubebuilder therefore
ignored the markers because they thought the comments were related to
the var block itself. this commit moves the var block to be away from
the kubebuilder markers to remove interference
Signed-off-by: Chris Burns <[email protected]>
* removes duplicate var block
Signed-off-by: Chris Burns <[email protected]>
---------
Signed-off-by: Chris Burns <[email protected]>
Co-authored-by: Chris Burns <[email protected]>1 parent 7670219 commit 1c07515
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments