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

Add option to specify app-tag template #124

Open
harsimranmaan opened this issue Apr 4, 2020 · 1 comment
Open

Add option to specify app-tag template #124

harsimranmaan opened this issue Apr 4, 2020 · 1 comment

Comments

@harsimranmaan
Copy link
Contributor

harsimranmaan commented Apr 4, 2020

The app-tag works fine for ci/cd use cases but sometimes team have specific naming needs. Eg: On my team, we use user--resourceName tagging convention. While app-tag is used to provide similar behaviour by adding the the app-tag suffix, since it only supports suffix, it cannot be used for our use case. It would be nice to have a template option in qbec. Something like app-tag-template: user-{app-tag}-{name} would help address that dynamic naming conventions

@harsimranmaan
Copy link
Contributor Author

harsimranmaan commented Apr 4, 2020

Since the qbec.yaml param is named namespaceTagSuffix, this change would be backwards incompatible. Backwards Compatibility can be provided for a few releases to allow for migration to something like namespaceNameTemplate. This would simplify "## Usage pattern 2: mangle every object's name" at https://qbec.io/userguide/usage/branches-and-ci/#usage-pattern-2-mangle-every-object-s-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant