Open Sgitario opened 1 year ago
/cc @geoand (knative,kubernetes), @iocanel (knative,kubernetes)
This needs to be fixed in Dekorate.
The only workaround is to use src/main/kubernetes/knative.yml
instead of src/main/kubernetes/common.yml
.
Update: This seems to be a more general issue that affects also to OpenShift and Kubernetes deployments.
Do you view this as a missing validation, doc issue, or both? The expectation seems to be that the common.yml will not contain resources that could otherwise be in the kubernetes.yml or similar.
Do you view this as a missing validation, doc issue, or both? The expectation seems to be that the common.yml will not contain resources that could otherwise be in the kubernetes.yml or similar.
I think both, tho validating that the common.yml
file does not contain the deployment resources is not straight-forward, so perhaps updating the doc is the way to go.
wdyt? @iocanel
Describe the bug
Given a project called "example", when adding a custom Knative Service in
src/main/kubernetes/common.yml
:The generated
knative.yaml
contains now two Knative service with the same "example" name:Expected behavior
The provided Knative Service "example" should be merged into the generated Knative Service.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response