Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store custom data in rancher.yml #5224

Closed
jmls opened this issue Jun 22, 2016 · 2 comments
Closed

store custom data in rancher.yml #5224

jmls opened this issue Jun 22, 2016 · 2 comments
Labels
area/catalog-service kind/enhancement Issues that improve or augment existing functionality status/autoclosed

Comments

@jmls
Copy link

jmls commented Jun 22, 2016

Rancher Version: 1.10.0-dev3

Docker Version: 1.10.3

OS and where are the hosts located? (cloud, bare metal, etc): ubuntu, AWS

Setup Details: single node rancher

Environment Type: (Cattle)

What we want 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.

it would be "nice" to have an official "meta-data" property on the rancher.yml file that is passed along with any api call to the catalog

@deniseschannon deniseschannon added kind/enhancement Issues that improve or augment existing functionality area/catalog-service labels Jun 22, 2016
@will-chan will-chan modified the milestone: Unscheduled Oct 8, 2016
@joshwget
Copy link

There's a metadata key defined for rancher-compose.yml files. I think this is what you're looking for.

@deniseschannon
Copy link

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/catalog-service kind/enhancement Issues that improve or augment existing functionality status/autoclosed
Projects
None yet
Development

No branches or pull requests

4 participants