File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ type: application
1313#  This is the chart version. This version number should be incremented each time you make changes
1414#  to the chart and its templates, including the app version.
1515#  Versions are expected to follow Semantic Versioning (https://semver.org/)
16- version : 0.1 .0 
16+ version : 0.52 .0 
1717#  This is the version number of the application being deployed. This version number should be
1818#  incremented each time you make changes to the application. Versions are not expected to
1919#  follow Semantic Versioning. They should reflect the version the application is using.
2020#  It is recommended to use it with quotes.
21- appVersion : " 0.1 .0" 
21+ appVersion : " 0.52 .0" 
Original file line number Diff line number Diff line change @@ -409,6 +409,10 @@ helm-generate: kustomize helmify related-image-fs ## Generate Helm chart dynamic
409409	@rm -rf $(HELM_CHART_DIR ) /$(HELM_CHART_NAME ) 
410410	$(KUSTOMIZE )  build config/default |  $(HELMIFY )  -crd-dir $(HELM_CHART_NAME ) 
411411	@mv $(HELM_CHART_NAME )  $(HELM_CHART_DIR ) /
412+ 	@echo " Setting chart version to $( VERSION)  ..." 
413+ 	@sed -i.bak ' s/version: 0.1.0/version: $(VERSION)/'   $(HELM_CHART_DIR ) /$(HELM_CHART_NAME ) /Chart.yaml
414+ 	@sed -i.bak ' s/appVersion: "0.1.0"/appVersion: "$(VERSION)"/'   $(HELM_CHART_DIR ) /$(HELM_CHART_NAME ) /Chart.yaml
415+ 	@rm -f $(HELM_CHART_DIR ) /$(HELM_CHART_NAME ) /Chart.yaml.bak
412416	@echo " Dynamic Helm chart generated at $( HELM_CHART_DIR)  /$( HELM_CHART_NAME) " 
413417	@echo " Chart replaces the manually maintained chart - review and commit changes" 
414418
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments