Skip to content

defined field cannot get the value #3091

Closed Answered by camilamacedo86
zhujintao asked this question in Support
Discussion options

You must be logged in to vote

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@zhujintao
Comment options

Answer selected by camilamacedo86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants