@crossdelta/infrastructure 0.12.0 → 0.12.1
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/runtimes/doks/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1325,7 +1325,7 @@ var deployCaddy = (provider, namespace, config) => {
|
|
|
1325
1325
|
namespace,
|
|
1326
1326
|
labels,
|
|
1327
1327
|
annotations: {
|
|
1328
|
-
"service.beta.kubernetes.io/do-loadbalancer-tls-passthrough": "true",
|
|
1328
|
+
...config.tlsPassthrough && { "service.beta.kubernetes.io/do-loadbalancer-tls-passthrough": "true" },
|
|
1329
1329
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-path": healthCheck.path,
|
|
1330
1330
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-protocol": "http",
|
|
1331
1331
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-port": String(healthCheck.port),
|
package/dist/index.js
CHANGED
|
@@ -1229,7 +1229,7 @@ var deployCaddy = (provider, namespace, config) => {
|
|
|
1229
1229
|
namespace,
|
|
1230
1230
|
labels,
|
|
1231
1231
|
annotations: {
|
|
1232
|
-
"service.beta.kubernetes.io/do-loadbalancer-tls-passthrough": "true",
|
|
1232
|
+
...config.tlsPassthrough && { "service.beta.kubernetes.io/do-loadbalancer-tls-passthrough": "true" },
|
|
1233
1233
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-path": healthCheck.path,
|
|
1234
1234
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-protocol": "http",
|
|
1235
1235
|
"service.beta.kubernetes.io/do-loadbalancer-healthcheck-port": String(healthCheck.port),
|
|
@@ -461,6 +461,8 @@ export interface CaddyConfig {
|
|
|
461
461
|
};
|
|
462
462
|
/** Response encoding (e.g., ['zstd', 'gzip']). Omit to disable. */
|
|
463
463
|
encode?: string[];
|
|
464
|
+
/** Pass raw TLS to the backend without LB termination. Only needed when the LB itself manages HTTPS. Defaults to false. */
|
|
465
|
+
tlsPassthrough?: boolean;
|
|
464
466
|
}
|
|
465
467
|
export interface CaddyResult {
|
|
466
468
|
/** The Kubernetes Deployment */
|