- Notifications
You must be signed in to change notification settings - Fork235
One-to-many example#1522
-
Hi, I am looking at solving a custom controller that needs to map one CR to several (1..n) secondary resources (ServiceEntry), cannot seem to find any tests, samples or docs around this scenario. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 3 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@LarsKrogJensen using the low level API or Dependent Resources ? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Preferably Dependent Resource |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
That is not released yet, see:#1182 With low level API you can just simply create the resources, in a for loop. Add the owner refereces as in samples. And on next reconciliation just read them using Using some naming convention in the name of the resource to address / identify them. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Oh how nice, was looking at open PR:s but seems to have missed this one. The Dependent Resource api is really, really nice so I will have a look at the PR and wait for the the 4.1 release. Thanks a lot |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1❤️ 1