-
Notifications
You must be signed in to change notification settings - Fork 33
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
Rename binding keys #224
Comments
@werne2j yes, when you specify the Bindings resources, there is an optional |
Does that help differentiate the keys? Since both bindings because environment variables, there would be an overwrite of the url key for example? Or does it add a prefix based on the secret name? |
For example..
and
And then in my kubernetes deployment
Since both have the same format...
The keys would collide in the container as environment variables |
@werne2j for your use case I think that it's best use - name: <Your Key name 1>
valueFrom:
secretKeyRef:
name: cloudant1
key: password
- name: <Your Key name 2>
valueFrom:
secretKeyRef:
name: cloudant2
key: password
......
|
Would it be a worth while addition to be able to do something like...
As a simplistic example |
Is there a way to select a name for the keys that get returned in a binding? For example, i have an application that uses 2 separate cloudants. If that application were to use the bindings from those 2 separate cloudants as env vars, the keys would clash as they would be the exact same for both cloudant bindings.
The text was updated successfully, but these errors were encountered: