File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 9292        persistentVolumeClaim :
9393          claimName : headlamp  #  The name of the Helm release
9494` ` ` 
95+ 
96+ As alternative, you can also use the Use EmptyDir (Ephemeral Shared Volume) to pass files from the init containers to the main container.  
97+ 
98+ ` ` ` yaml 
99+ config :
100+   pluginsDir : /build/plugins 
101+ initContainers :
102+   - command :
103+       - /bin/sh 
104+       - -c 
105+       - mkdir -p /build/plugins && cp -r /plugins/* /build/plugins/ && chown -R 100:101 /build 
106+     image : ghcr.io/headlamp-k8s/headlamp-plugin-flux:latest 
107+     imagePullPolicy : Always 
108+     name : headlamp-plugins 
109+     securityContext :
110+       runAsNonRoot : false 
111+       privileged : false 
112+       runAsUser : 0 
113+       runAsGroup : 0 
114+     volumeMounts :
115+       - mountPath : /build/plugins 
116+         name : headlamp-plugins 
117+ volumeMounts :
118+   - mountPath : /build/plugins 
119+     name : headlamp-plugins 
120+ volumes :
121+   - name : headlamp-plugins 
122+     emptyDir : {} 
123+ ` ` ` 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments