Skip to content

Conversation

@nr-b
Copy link

@nr-b nr-b commented Dec 3, 2025

Description

Pipelines currently fail with the following error message:

Error from server (BadRequest): error decoding patch: invalid character 's' looking for beginning of object key string

Is is due to improper escaping of JSON data in the patch. Fix this by holding the JSON in an environment variable, leaving proper escaping to the shell itself.

Fixes #710

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Run a build on my dev instance and it succeded

Test Configuration:

  • Operator Version: v0.2.2
  • Kubernetes Version: v1.34.0
  • Kubero CLI Version (if applicable):

Checklist:

  • I removed unnecessary debug logs
  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I documented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

…y string

Pipelines currently fail with the following error message:

Error from server (BadRequest): error decoding patch: invalid character 's' looking for beginning of object key string

Is is due to improper escaping of JSON data in the patch. Fix this by
holding the JSON in an environment variable, leaving proper escaping to
the shell itself.
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.

Deploy fails for escaped quotes

1 participant