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

Adds a layer field to the profiles response #1277

Merged
merged 7 commits into from Jan 11, 2022
Merged

Conversation

foot
Copy link
Contributor

@foot foot commented Jan 6, 2022

  • Layers allow you to specify the order in which profiles are installed

Closes: #1269

What changed?

Layer field added to the profiles response

Why?

We want to show the layer in the UI

How did you test it?

manually and w/ unit tests

- Layers allow you to specify the order in which profiles are installed
@foot foot added the type/enhancement New feature or request label Jan 6, 2022
@foot foot marked this pull request as ready for review January 11, 2022 13:57
@@ -26,6 +27,7 @@ import (
// ProfileAnnotation is the annotation that Helm charts must have to indicate
// that they provide a Profile.
const ProfileAnnotation = "weave.works/profile"
const LayerAnnotation = "weave.works/layer"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add a comment here describing how this is used?

@foot foot merged commit 022e932 into main Jan 11, 2022
@foot foot deleted the adds-layer-to-profile-response branch January 11, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return profile layer in ListProfiles response
2 participants