File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -200,52 +200,6 @@ export class App implements IApp{
200200 }
201201 ]
202202
203- /*
204- if (app.domain) {
205- this.ingress = {
206- annotations: app.ingress?.annotations || {},
207- className: process.env.KUBERNETES_INGRESS_CLASSNAME || "",
208- enabled: true,
209- hosts: [
210- {
211- host: app.domain,
212- paths: [
213- {path: "/" , pathType: 'ImplementationSpecific'}
214- ]
215- }
216- ],
217- tls: this.ingress?.tls || [],
218- }
219- }
220-
221- if ((app.ssl || this.ingress?.tls?.length > 0) && this.ingress && app.domain) {
222- const sslAnnotations = {
223- "cert-manager.io/cluster-issuer": "letsencrypt-prod",
224- "kubernetes.io/tls-acme": "true",
225- }
226- this.ingress.annotations = {...this.ingress.annotations, ...sslAnnotations};
227- this.ingress.tls = [
228- {
229- hosts: [
230- app.domain
231- ],
232- secretName: app.name + '-tls'
233- }
234- ]
235- } else {
236- if (this.ingress?.annotations) {
237- if (this.ingress?.annotations && "cert-manager.io/cluster-issuer" in this.ingress.annotations) {
238- delete this.ingress.annotations["cert-manager.io/cluster-issuer"];
239- }
240- if (this.ingress?.annotations && "kubernetes.io/tls-acme" in this.ingress.annotations) {
241- delete this.ingress.annotations["kubernetes.io/tls-acme"];
242- }
243- }
244- }
245- */
246-
247- console . log ( "this.ingress.annotations" , this . ingress ?. annotations )
248-
249203 this . nameOverride = "" ,
250204 this . nodeSelector = { } ,
251205 this . podAnnotations = { } ,
You can’t perform that action at this time.
0 commit comments