@docupace/pipeline 1.0.26-alpha-2 → 1.0.26-alpha-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.26-alpha-2",
3
+ "version": "1.0.26-alpha-3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2,7 +2,6 @@ import fs from 'fs';
2
2
  import path from 'path';
3
3
  import axios from 'axios';
4
4
  import crypto from 'crypto';
5
- import fl from 'fs/promises';
6
5
 
7
6
  import {
8
7
  cloneEnvRepository,
@@ -56,7 +55,6 @@ async function configureUI(
56
55
  docupaceHost,
57
56
  site,
58
57
  env,
59
- useNewDomain,
60
58
  auth0Domain,
61
59
  auth0ClientId,
62
60
  auth0ClientSecret,
@@ -144,39 +142,6 @@ ingress:
144
142
  - hosts:
145
143
  - ${siteHost}
146
144
  secretName: dp-next-ui-cert
147
- externalConnectIngress:
148
- enabled: ${useNewDomain}
149
- className: nginx
150
- annotations:
151
- cert-manager.io/cluster-issuer: letsencrypt
152
- external-dns.alpha.kubernetes.io/hostname: ${siteHost}
153
- external-dns.alpha.kubernetes.io/zone: public
154
- nginx.ingress.kubernetes.io/backend-protocol: HTTPS
155
- nginx.ingress.kubernetes.io/configuration-snippet: |
156
- proxy_set_header Host ${siteHost};
157
- nginx.ingress.kubernetes.io/proxy-buffer-size: 8k
158
- hosts:
159
- - host: ${siteHost}
160
- paths:
161
- - path: /core
162
- - path: /core_b2b
163
- - path: /core_reports
164
- - path: /corerealm
165
- - path: /connect
166
- - path: /webstart
167
- - path: /core_ws
168
- - path: /core_docupload
169
- - path: /core_ariws
170
- - path: /core_restws
171
- - path: /core_webdav
172
- tls:
173
- - hosts:
174
- - ${siteHost}
175
- secretName: dp-next-ui-cert
176
- externalConnectService:
177
- enabled: ${useNewDomain}
178
- name: external-connect
179
- domain: ${docupaceHost}
180
145
  `.trim();
181
146
 
182
147
  // Write configuration files
@@ -318,6 +283,39 @@ ingress:
318
283
  - hosts:
319
284
  - ${siteHost}
320
285
  secretName: dp-next-ui-cert
286
+ externalConnectIngress:
287
+ enabled: true
288
+ className: nginx
289
+ annotations:
290
+ cert-manager.io/cluster-issuer: letsencrypt
291
+ external-dns.alpha.kubernetes.io/hostname: ${siteHost}
292
+ external-dns.alpha.kubernetes.io/zone: public
293
+ nginx.ingress.kubernetes.io/backend-protocol: HTTPS
294
+ nginx.ingress.kubernetes.io/configuration-snippet: |
295
+ proxy_set_header Host ${siteHost};
296
+ nginx.ingress.kubernetes.io/proxy-buffer-size: 8k
297
+ hosts:
298
+ - host: ${siteHost}
299
+ paths:
300
+ - path: /core
301
+ - path: /core_b2b
302
+ - path: /core_reports
303
+ - path: /corerealm
304
+ - path: /connect
305
+ - path: /webstart
306
+ - path: /core_ws
307
+ - path: /core_docupload
308
+ - path: /core_ariws
309
+ - path: /core_restws
310
+ - path: /core_webdav
311
+ tls:
312
+ - hosts:
313
+ - ${siteHost}
314
+ secretName: dp-next-ui-cert
315
+ externalConnectService:
316
+ enabled: true
317
+ name: external-connect
318
+ domain: ${docupaceHost}
321
319
  `.trim();
322
320
 
323
321
  // Write configuration files
@@ -460,7 +458,6 @@ export async function configureFromSite(
460
458
  DOCUPACE_HOST,
461
459
  toSite,
462
460
  toEnv,
463
- useNewDomain,
464
461
  auth0Domain,
465
462
  auth0ClientId,
466
463
  auth0ClientSecret,