You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any of the old subcommands above are invoked for a Go operator project, the
148
-
output should be a deprecation error that highlights the equivalent replacement
147
+
If any of the old subcommands above are invoked for a Go operator project, the
148
+
output should be a deprecation error that highlights the equivalent replacement
149
149
for it in the new Kubebuilder workflow.
150
150
151
151
152
152
#### Story 4 - Update the SDK specific features and subcommands to work with the new project layout
153
153
154
-
Since features like the scorecard, CSV generation and test-framework have no
154
+
Since features like the scorecard, CSV generation and test-framework have no
155
155
equivalent in the Kubebuilder workflow, those subcommands would be unchanged on the CLI.
156
156
157
157
-`operator-sdk gen-csv`
158
158
-`operator-sdk scorecard`
159
159
-`operator-sdk test`
160
-
161
-
Where necessary the above commands should be adjusted to reflect the changes to
160
+
161
+
Where necessary the above commands should be adjusted to reflect the changes to
162
162
their expected input and output manifest paths that is consistent with the new project layout.
163
163
164
164
165
165
#### Story 5 - Update the Operator SDK e2e tests to work with the new project layout
166
166
167
-
The existing e2e tests and CI scripts for testing Go operators would need to be
167
+
The existing e2e tests and CI scripts for testing Go operators would need to be
168
168
updated to use the new layout so that CI passes for the new CLI workflow in the master branch.
169
169
170
170
171
171
#### Story 6 - Update the Go operator related documentation per the Kubebuilder workflow and project layout
172
172
173
-
The user documentation for Go operators such as the user-guide, CLI reference,
173
+
The user documentation for Go operators such as the user-guide, CLI reference,
174
174
project layout, etc will need to be updated according to the new CLI and layout.
175
175
176
176
177
177
### Implementation Details/Notes/Constraints
178
-
The integration work for the Go Operator CLI workflow can be done in the master
178
+
The integration work for the Go Operator CLI workflow can be done in the master
179
179
branch to avoid issues with merge conflicts from rebasing a separate branch at a later time.
180
-
The new CLI can be worked on behind a hidden subcommand, `operator-sdk alpha`, until it is ready to
181
-
replace the existing workflow. This would help avoid exposing it too early while
182
-
still providing the ability to test it on the master branch.
180
+
The new CLI can be worked on behind a hidden subcommand, `operator-sdk alpha`, until it is ready to
181
+
replace the existing workflow. This would help avoid exposing it too early while
182
+
still providing the ability to test it on the master branch.
183
183
184
184
185
185
### Risks and Mitigations
@@ -190,4 +190,4 @@ still providing the ability to test it on the master branch.
190
190
- With the proposed plugin architecture it should be possible to update the workflow for Helm/Ansible operators to be the same as Kubebuilder. However that is not currently in scope for this proposal.
0 commit comments