updating values into cmdb_key_value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 09:20 PM
Hello,
We have received a requirement to discover additional labels and tag of OpenShift container. I have added an extension to the OOTB Kubernetes pattern and trying to add the newly discovered key and labels into the table cmdb_key_value.
After running the scan, my extension part will create the new records into table- cmdb_key_value but the old\existing records of cmdb_key_value get removed.
I want to append new records into the table- cmdb_key_value without removing old\existing records.
Is there any chang I need to do into the table or anything else into the pattern?
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 10:59 PM
you cant have a ci, with 2 tags having same key. i guess this is your question? if your key is new then a new record will be created. if it is an existing key, the record willbe updated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 11:41 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 12:19 AM
Hi,
At the end it will be attached. Have you seen that?
Check for the hosting rules as well i am not sure but just an heads up.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 03:45 AM
I checked it and there was no records (which I am expecting) found at the end.
any other step\operation I can perform to add records into the table?