@@ -26,6 +26,7 @@ func TestRenderTemplate(t *testing.T) {
2626 },
2727 UID : 2000 ,
2828 Image : "ubuntu:22.04" ,
29+ Namespace : "devenv-test" ,
2930 Packages : config.PackageConfig {
3031 Python : []string {"numpy" , "pandas" },
3132 APT : []string {"vim" , "curl" },
@@ -57,7 +58,7 @@ func TestRenderTemplate(t *testing.T) {
5758 },
5859 }
5960
60- templates := []string {"statefulset" , "service" , "env-vars" , "startup-scripts" }
61+ templates := []string {"statefulset" , "service" , "env-vars" , "startup-scripts" , "ingress" }
6162
6263 for _ , templateName := range templates {
6364 t .Run (templateName , func (t * testing.T ) {
@@ -109,6 +110,7 @@ func TestRenderAll(t *testing.T) {
109110 Name : "minimal" ,
110111 BaseConfig : config.BaseConfig {
111112 SSHPublicKey : "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC7... minimal@example.com" ,
113+ Namespace : "devenv-test" ,
112114 },
113115 SSHPort : 30002 ,
114116 }
@@ -121,7 +123,7 @@ func TestRenderAll(t *testing.T) {
121123 require .NoError (t , err , "RenderAll should not return error" )
122124
123125 // Verify all expected files were created
124- expectedFiles := []string {"statefulset.yaml" , "service.yaml" , "env-vars.yaml" , "startup-scripts.yaml" }
126+ expectedFiles := []string {"statefulset.yaml" , "service.yaml" , "env-vars.yaml" , "startup-scripts.yaml" , "ingress.yaml" }
125127
126128 for _ , filename := range expectedFiles {
127129 filePath := filepath .Join (tempDir , filename )
0 commit comments