# Custom data in rancher.yml file

**URL:** <https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138>\
**Category:** Rancher 1.x\
**Created:** [June 16, 2016, 9:00am UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138 "2016-06-16T09:00:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmls](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jmls/32/1419_2.png) [@jmls](https://forums.suse.com/u/jmls)\
**Post date:** [June 16, 2016, 9:00am UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138/1 "2016-06-16T09:00:45Z")

</div>

Is it possible to add custom data to the rancher-catalog file ? If I add any custom data the entry does not get displayed in the ui, so I was wondering if there were an official way of adding data to a catalog

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [June 16, 2016, 5:56pm UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138/2 "2016-06-16T17:56:52Z")

</div>

These are the fields supported for rancher-compose.yml files.

[http://docs.rancher.com/rancher/latest/en/catalog/#questions-in-the-rancher-composeyml](http://docs.rancher.com/rancher/latest/en/catalog/#questions-in-the-rancher-composeyml)

---

<div class="post-metadata">

**Author:** ![Thomas\_Hansen](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/thomas_hansen/32/1283_2.png) [@Thomas\_Hansen](https://forums.suse.com/u/Thomas_Hansen)\
**Post date:** [June 17, 2016, 6:48am UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138/3 "2016-06-17T06:48:45Z")

</div>

I am working with jmls on this.

What we actually wanted to do was to add custom properties to the config.yml file for a catalog entry to manage extended data about the catalog entry. We are using the APIs to get data from catalog and want to be able to have extra properties in our backend solution - but all coming from the catalog.

We have tried to add extra properties to config.yml. The result is that the standard contents of the file do not get shown in the catalog cards. So it looks like adding extra properties breaks the UI.

We have managed to add extra properties to the rancher-compose.yml file - and the ones that Rancher does not look for seem to be ignored. But we have not tested if this breaks lanuched stacks.

We can see extra properties and also extra files that we add to the catalog entry version directory from the API. The problem with this is that this means we can only handle extra stuff on versions of the entries - and not for the actual entry itself.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [June 21, 2016, 9:39pm UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138/4 "2016-06-21T21:39:12Z")

</div>

in order for what you’re looking for, you’d need to change the rancher-catalog-service to be able to handle “extra stuff” in the entries (and not just the templates).

Please open an [issue in Github.](https://github.com/rancher/rancher/issues/)

---

<div class="post-metadata">

**Author:** ![jmls](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jmls/32/1419_2.png) [@jmls](https://forums.suse.com/u/jmls)\
**Post date:** [June 22, 2016, 6:35pm UTC](https://forums.suse.com/t/custom-data-in-rancher-yml-file/3138/5 "2016-06-22T18:35:42Z")

</div>

Thanks. [https://github.com/rancher/rancher/issues/5224](https://github.com/rancher/rancher/issues/5224)
