utils.IsText is sensitive to windows line separator (CRLF - \r\n) so it is possible to convert CRLF to LF (like DOS2Unix) in order to make sure the ConfigMap will be tagged correctly as text
Actual BehaviorThe ConfigMap tagged as Binary
Steps To Reproduce./tls/a.key
along to the docker-compose.yml file (use CRLF instead of LF as line separator)-f C:\another-path\docker-compose.yml convert --stdout --with-kompose-annotation=false
command from another pathversion: "3" services: web: image: nginx volumes: - ./tls/a.key:/etc/test-a-key.key labels: kompose.volume.type: configMapAnything else?
No response
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4