java
java copied to clipboard
Unable to Load Custom Object as YAML
trafficstars
Describe the bug
Using the Yaml.loadAll(..) I cannot load a file with a non-registered CRD. Is there a way to use the Dynamic client to apply YAML from
YAML load?
A use case I have is we have a CRD (AzureIdentity) and we want to be able to apply it from YAML without having to generate the CRDs and such.
Client Version
17.0.2
Kubernetes Version
1.26.6
Java Version Java 17
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Server (please complete the following information):
- OS: Linux
- Environment: container
- Cloud: Azure
Additional context Add any other context about the problem here.