Closed dacleyra closed 4 years ago
@dacleyra kAppNac doesn't support auto-creation of Applicaiton
CR for Knative resources. Once it supports, we will add the auto-create
annotations.
We've documented this limitation in our user-guide:
This feature is only available if you have kAppNav installed on your cluster. Auto creation of an application definition is not supported when Knative service is created
hey @navidsh - is this limitation because kAppNav doesn't support the Knative resources? If so, could we create an issue in their board for it?
@arthurdm yea, it's a limitation of kAppNav. I created a feature request issue in their repo: https://github.com/kappnav/issues/issues/181
FYI @dacleyra
Bug Report
What did you do?
Set, and deploy appsodyapplication with
What did you expect to see?
Expect to see kappnav labels & annotations on the generated ksvc object
Granted, for this to be useful, in turn
What did you see instead?
none
Environment
Appsody Stack: java-microprofile
Kubernetes version information: OCP 4.3
Possible solution
maybe call UpdateAppDefinition https://github.com/appsody/appsody-operator/blob/8fe99204ccebb6fd2e38020b00fc3468629d76b1/pkg/utils/utils.go#L63
within CustomizeKnativeService https://github.com/appsody/appsody-operator/blob/8fe99204ccebb6fd2e38020b00fc3468629d76b1/pkg/utils/utils.go#L425
Additional context
Add any other context about the problem here.