Skip to content

Conversation

@ruslanloman
Copy link
Contributor

Hi,

There is an issue in helm-diff for helm3 version, it doesn't include values from stdin. For helm2 it works as expected.

Current behavior:

$ cat values-10.yaml                                                               
lolkek:                                                                            
  helloword: test                                                                  
  new:                                                                             
    ohoho:                                                                         
      values-10: lolodddd10                                                        
                                                                                   
$ cat values-10.yaml | helm3 diff upgrade test_helm . --allow-unreleased --values -
                                                                                   
+ # Source: test_helm/templates/configMap.yaml                                     
+ apiVersion: v1                                                                   
+ kind: ConfigMap                                                                  
+ metadata:                                                                        
+   name: game-demo                                                                
+ data:                                                                            
+   user-interface.properties: |                                                   
+     null         

Expected one with applied fix:

$ cat values-10.yaml | helm3 diff upgrade test_helm . --allow-unreleased --values -
                                                                                   
+ # Source: test_helm/templates/configMap.yaml                                     
+ apiVersion: v1                                                                   
+ kind: ConfigMap                                                                  
+ metadata:                                                                        
+   name: game-demo                                                                
+ data:                                                                            
+   user-interface.properties: |                                                   
+     ohoho:    

@stale
Copy link

stale bot commented Jul 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant