File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,24 +9,24 @@ kubectl_cmd = "kubectl"
99if  str (local ("command -v "  +  kubectl_cmd  +  " || true" , quiet  =  True )) ==  "" :
1010    fail ("Required command '"  +  kubectl_cmd  +  "' not found in PATH" )
1111
12- # Create the kwasm  namespace 
12+ # Create the rcm  namespace 
1313# This is required since the helm() function doesn't support the create_namespace flag 
1414load ('ext://namespace' , 'namespace_create' )
15- namespace_create ('kwasm ' )
15+ namespace_create ('rcm ' )
1616
17- # Install kwasm-operator  helm chart 
17+ # Install runtime-class-manager  helm chart 
1818install  =  helm (
19-     './charts/kwasm-operator/'  ,  
20-     name = 'kwasm-operator'  ,  
21-     namespace = 'kwasm'  ,  
19+     './deploy/helm'  , 
20+     name = 'runtime-class-manager'  , 
21+     namespace = 'rcm'  , 
2222    set = ['image.repository='  +  settings .get ('registry' )]
2323)
2424
2525objects  =  decode_yaml_stream (install )
2626for  o  in  objects :
2727    # Update the root security group. Tilt requires root access to update the 
2828    # running process. 
29-     if  o .get ('kind' ) ==  'Deployment'  and  o .get ('metadata' ).get ('name' ) ==  'kwasm-operator ' :
29+     if  o .get ('kind' ) ==  'Deployment'  and  o .get ('metadata' ).get ('name' ) ==  'runtime-class-manager ' :
3030        o ['spec' ]['template' ]['spec' ]['securityContext' ]['runAsNonRoot' ] =  False 
3131        # Disable the leader election to speed up the startup time. 
3232        o ['spec' ]['template' ]['spec' ]['containers' ][0 ]['args' ].remove ('--leader-elect' )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments