defined field cannot get the value #3091
-
How to get spec.appConf.core key name b2b-plus 、 bps-core type: yaml: spec: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @zhujintao, Sorry, but the info provided here does not seems enough for we try to help you out. Also, I'd like to encourage you check out the plugin doc: On top of that, I'd like to recommend you read the Tutorial: Building CronJob at least to have a better understand. |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
Hi @zhujintao,
Sorry, but the info provided here does not seems enough for we try to help you out.
What do you mean with
How to get spec.appConf.core
? Would you like to access the spec in the reconciliation/controller?If so, see the code generated for the deploy image plugin: https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v3-with-deploy-image/controllers/busybox_controller.go#L239
Also, I'd like to encourage you check out the plugin doc:
And then, try to create an example with to check the code for better understand how you should/can develop the solutions. https://book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html
On top of that, I'd like to reco…