File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
client/src/components/apps Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -1250,23 +1250,14 @@ export default {
12501250 ],
12511251*/
12521252 }},
1253- /*
1254- computed: {
1255- sslEnabled() {
1256- if (this.ingress.tls.length > 0) {
1257- return true;
1258- } else {
1259- return false;
1260- }
1261- }
1262- },
1263- */
12641253 mounted () {
12651254 this .loadPipeline ();
12661255 this .loadStorageClasses ();
12671256 this .loadPodsizeList ();
12681257 this .loadBuildpacks ();
1269- this .loadApp (); // this may lead into a race condition with the buildpacks loaded in loadPipeline
1258+ if (this .app != ' new' ) {
1259+ this .loadApp (); // this may lead into a race condition with the buildpacks loaded in loadPipeline
1260+ }
12701261
12711262 if (this .$route .query .template ) {
12721263 this .loadTemplate (this .$route .query .catalogId , this .$route .query .template );
Original file line number Diff line number Diff line change @@ -189,7 +189,16 @@ export class App implements IApp{
189189 this . imagePullSecrets = [ ]
190190
191191 this . ingress = app . ingress
192- this . ingress . className = process . env . KUBERNETES_INGRESS_CLASSNAME || ""
192+ this . ingress . className = process . env . KUBERNETES_INGRESS_CLASSNAME || "nginx"
193+ this . ingress . enabled = true
194+ this . ingress . hosts = [
195+ {
196+ host : app . domain || "" ,
197+ paths : [
198+ { path : "/" , pathType : 'ImplementationSpecific' }
199+ ]
200+ }
201+ ]
193202
194203 /*
195204 if (app.domain) {
You can’t perform that action at this time.
0 commit comments