Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[6.8] [elasticsearch] Move the yaml separator inside the condition (#1538) #1561

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Feb 2, 2022

Backports the following commits to 6.8:

…#1538)

* Move the yaml separator inside the condition

The chomp "{{-" removes newline also - so we end up with a resource yaml which looks like:

```
---kind: Service
apiVersion: v1
...
```
This causes errors in ArgoCD: "error unmarshaling JSON: while decoding JSON: Object 'Kind' is missing in ..."

* Update poddisruptionbudget.yaml

* Update test-elasticsearch-health.yaml
@jmlrt jmlrt added the backport label Feb 2, 2022
@jmlrt jmlrt merged commit de60023 into elastic:6.8 Feb 2, 2022
@jmlrt jmlrt deleted the backport/6.8/pr-1538 branch February 2, 2022 15:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants