cloud-ark / cloud-ark/caastle

Disambiguating multiple resources of same type when binding applications

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Currently the logic of binding is based on using the 'type' of the resource defined in an environment.

https://cloud-ark.github.io/cloudark/docs/html/html/env_vars.html

However, this approach will break if the environment definition contains two resources of the same type.

One approach to address this issue is to add a 'name' attribute for resource declaration in an environment definition. Each resource should have a unique name within an environment. Then when declaring environment variables we can use the name attribute in creating the bind parameters in application yaml

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.