TriggersAnnotationEnricher generates wrong image.openshift.io/triggers
annotation on windows
#3591
Labels
bug
Something isn't working
Describe the bug
Related to #3477
When I'm trying to generate
image.openshift.io/triggers
annotation using TriggersAnnotationEnricher, I'm getting a malformed annotation with platform specific line breaks.This is the configuration I'm using for OpenShift Maven Plugin:
However, this generates annotation like this on windows:
Eclipse JKube version
1.17.0
Component
OpenShift Maven Plugin
Apache Maven version
other (please specify in additional context)
Gradle version
None
Steps to reproduce
oc:resource
target/classes/META-INF/jkube/openshift.yml
forimage.openshift.io/triggers
annotationExpected behavior
Generated
openshift.yml
should not have windows line breaks in annotationRuntime
OpenShift
Kubernetes API Server version
1.25.3
Environment
Windows
Eclipse JKube Logs
No response
Sample Reproducer Project
jkube-triggers-annotation-demo-reproducer.zip
Additional context
Apache Maven Version : 3.9.9
The text was updated successfully, but these errors were encountered: