CRD Generator v2 minimize quotes #6748
                  
                    
                      MichaelMorrisEst
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| 
         The same default style yaml is now being across the kubernetes client project - see The only workaround currently is that programatic use of the v2 CRD logic allows for passing in a customized ObjectMapper / KubernetesSerialization, so you could override that method however you wanted. As for making it configurable in general an enhancement could be created for that - if it's something you contribute that would be great. In theory it shouldn't need to be specific to just CRD generation, but there is some internal usage of the yamlification that needs to remain consistent.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Im looking at moving to use v2 of the CRD generator via the maven plugin however I notice that, unlike in v1, YAMLGenerator.Feature.MINIMIZE_QUOTES is not enabled, resulting in superfluous quotes appearing in the generated yaml.
Can this be changed or at least made configurable?
Beta Was this translation helpful? Give feedback.
All reactions