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

Deployment labels and annotations are not duplicated #722

Closed
DerrickMartinez opened this issue Nov 6, 2020 · 3 comments
Closed

Deployment labels and annotations are not duplicated #722

DerrickMartinez opened this issue Nov 6, 2020 · 3 comments

Comments

@DerrickMartinez
Copy link

When applying a canary manifest the deployment clone named -primary is missing the fields labels and annotation from the original one. (copied from #329). Unit tests are also failing for these off the master branch.

Configured with:

  • -include-label-prefix=app.kubernetes.io

Annotations and Labels of canary deployment:

annotations:
app.kubernetes.io/name: test-api
app.kubernetes.io/part-of: test-api

labels:
app.kubernetes.io/instance: test-api
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: test-api
helm.sh/chart: basic-app-flagger-0.1.7

What actually got copied over to primary's deployment.

No annotations
labels:
app.kubernetes.io/name: test-api-primary

@GijsvanDulmen
Copy link
Contributor

I'm seeing the same thing in a demo environment of mine using the latest. This also makes it show up non-pretty in Kiali ;-)

@DerrickMartinez
Copy link
Author

Is this resolved or was this closed as an accident?

@stefanprodan
Copy link
Member

@DerrickMartinez as in you can see in #762 both labels and annotations are copied to the primary deployment.

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

3 participants