You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ A windows machine is required to reproduce and fix problems in this issue
ConfigMapIT is failing on windows with this error message:
Error: Errors:
Error: ConfigMapIT.k8sResource_whenRun_generatesK8sManifestsContainingConfigMap:37 � IllegalArgument Values not equal for entry: 'application.properties', expected 'environment = test
foo = bar' but was 'environment = test
foo = bar'
Error: ConfigMapIT.ocResource_whenRun_generatesOpenShiftManifestsContainingConfigMap:56 � IllegalArgument Values not equal for entry: 'application.properties', expected 'environment = test
foo = bar' but was 'environment = test
foo = bar'
This issue looks related to one issue I had fixed #3014
This issue looks similar to #3477 and #3478 but the code responsible for adding ConfigMap entries from file resides in fabric8 Kubernetes Client. Not sure whether to add handling for windows line breaks there or to add it in ConfigMapEnricher.
@rohanKanojia since the configMapBuilder is from fabric8 client, i cant find any way to change the content of map from here directly as no direct setters implementation. There are some addToMap() method on configMapBuilder, can something be done by that?
Component
None
Task description
Description
Related to #3406
ConfigMapIT is failing on windows with this error message:
This issue looks related to one issue I had fixed #3014
This issue looks similar to #3477 and #3478 but the code responsible for adding ConfigMap entries from file resides in fabric8 Kubernetes Client. Not sure whether to add handling for windows line breaks there or to add it in ConfigMapEnricher.
I think we need to debug here :
jkube/jkube-kit/enricher/generic/src/main/java/org/eclipse/jkube/enricher/generic/ConfigMapEnricher.java
Lines 80 to 83 in 78e8631
When I checked it I saw that configmap entries contain windows specific line breaks
Expected Behavior
ConfigMapIT passes on windows and Linux
Acceptance Criteria
The text was updated successfully, but these errors were encountered: