-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes.json and openshift.json are invalid JSON #8554
Comments
@geoand I meant 1.3.2, not 1.2.1. Was late at night :-) |
@murphye: The issue I am having with For example, the JSON below [1] is valid, acceptable by both IDEA and other editors, yet The options are the following:
Option [1]:
|
#1 Describes issue that you faced: Seems like a poor resolution on their part because it doesn't work with JSONPath. Why they didn't just add support for [...] I have no idea. #2 List format compatible with JSONPath: Considering this is the behavior of Kubernetes JSON input per #1, I believe you should close this issue as wontfix. |
Describe the bug
The output from
mvn clean package -Dquarkus.container-image.build=true
results in invalid JSON data.Expected behavior
kubernetes.json and openshift.json have valid JSON:
Actual behavior
kubernetes.json and openshift.json have invalid JSON.
It has multiple top-level elements, ie:
Note:
oc apply
doesn't seem to care that the JSON is not valid. That being said, this still is a potential problem for other JSON tools.To Reproduce
Steps to reproduce the behavior:
mvn clean package -Dquarkus.container-image.build=true
target/kubernetes
Configuration
Screenshots
Environment (please complete the following information):
uname -a
orver
: Darwin MacBook-Pro-7 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64java -version
: OpenJDK 64-Bit Server VM GraalVM CE 20.0.0 (build 11.0.6+9-jvmci-20.0-b02, mixed mode, sharing)mvnw --version
orgradlew --version
): Apache Maven 3.6.3Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: