Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Labels missing for some objects #1793

Closed
rdruss opened this issue Feb 24, 2020 · 2 comments · Fixed by #1802
Closed

Labels missing for some objects #1793

rdruss opened this issue Feb 24, 2020 · 2 comments · Fixed by #1802
Assignees

Comments

@rdruss
Copy link
Contributor

rdruss commented Feb 24, 2020

Description

In looking at the documentation, you can add labels using maven configuration as outlined here. It looks like the labels in the "all" section should be applied to all objects, but the labels were not applied to the Build, BuildConfig, or ImageStream objects. There was a previous GitHub issue that seems to be related to this, #1425.

Info

  • f-m-p version : 4.4.0
  • Maven version (mvn -v) :
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T09:06:16-06:00)
Maven home: /usr/local/Cellar/maven/3.6.2/libexec
Java version: 11.0.1, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.1+13/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
  • Kubernetes / OpenShift setup and version : minishift with 3.11.0
  • If it's a bug, how to reproduce : First login to a usable cluster, then run mvn clean fabric8:deploy -Popenshift with the repository below. Afterwards, run oc get all --show-labels and you can see which objects do not have any app.kubernetes.io/* labels
  • If it's a feature request, what is your use case :
  • Sample project : https://github.com/rdruss/vertx-http-example/tree/labels
@rohanKanojia
Copy link
Member

Actually BuildConfig,ImageStream objects are not part of the enrichment phase. They are generated during build phase in OpenshiftBuildService. I think we should fix this in order to align with other manifests generated by plugin during enrichment phase.

@rdruss
Copy link
Contributor Author

rdruss commented Feb 28, 2020

I thought that might be the case, but was confused by the previous issue (#1425) as the associated pull request (#1449) indicated that it had "Added metadata visitors for imagestreams, build and buildconfig".

rohanKanojia added a commit to rohanKanojia/fabric8-maven-plugin that referenced this issue Mar 16, 2020
Reintroduce Enricher Task removed during enrichment process refactoring.
rohanKanojia added a commit to rohanKanojia/fabric8-maven-plugin that referenced this issue Mar 17, 2020
Reintroduce Enricher Task removed during enrichment process refactoring.
manusa pushed a commit that referenced this issue Mar 17, 2020
Reintroduce Enricher Task removed during enrichment process refactoring.
@rohanKanojia rohanKanojia self-assigned this Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants