Skip to content

Conversation

@saedx1
Copy link

@saedx1 saedx1 commented Feb 25, 2025

Removing tailing spaces that cause kubectl edit to display the string in a messy way

Issue

None

Description of changes

Removed tailing spaces to allow kubectl edit and similar operations to display the string properly in editors.

Checklist

  • Added/modified documentation as required (such as the README.md for modified charts)
  • Incremented the chart version in Chart.yaml for the modified chart(s)
  • Manually tested. Describe what testing was done in the testing section below
  • Make sure the title of the PR is a good description that can go into the release notes

Testing

None

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Removing tailing spaces that cause `kubectl edit` to display the string in a messy way
@saedx1 saedx1 requested a review from dims as a code owner February 25, 2025 15:10
@saedx1
Copy link
Author

saedx1 commented Feb 25, 2025

The above solves this:

apiVersion: v1
data:
  fluent-bit.conf: "[SERVICE]\n    HTTP_Server  On\n    HTTP_Listen  0.0.0.0\n    HTTP_PORT
    \   2020\n    Health_Check On\n    HC_Errors_Count 5\n    HC_Retry_Failure_Count
    5  \n    HC_Period 5\n\n    Parsers_File /fluent-bit/parsers/parsers.conf\n    Parsers_File
  ...

After the fix it will display normally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant