Skip to content

Binding to a template with no expose annotation creates an empty secret #16726

@spadgett

Description

@spadgett

If I create a binding against a template that doesn't use the template.openshift.io/expose annotation, I get an empty secret. It would be better to instead disable binding altogether for the service class if not supported for the template.

A lot of our template don't really make sense to bind to. For instance, sample apps like nodejs + mongo. We might consider disabling binding entirely on those to avoid confusion.

@jim-minter @ncameronbritt @sspeiche

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions