@crossdelta/infrastructure 0.11.2 → 0.11.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/dist/index.cjs CHANGED
@@ -1285,6 +1285,9 @@ var deployCaddy = (provider, namespace, config) => {
1285
1285
  metadata: { labels },
1286
1286
  spec: {
1287
1287
  containers,
1288
+ ...config.imagePullSecretName && {
1289
+ imagePullSecrets: [{ name: config.imagePullSecretName }]
1290
+ },
1288
1291
  volumes: [
1289
1292
  {
1290
1293
  name: "caddy-data",
package/dist/index.js CHANGED
@@ -1189,6 +1189,9 @@ var deployCaddy = (provider, namespace, config) => {
1189
1189
  metadata: { labels },
1190
1190
  spec: {
1191
1191
  containers,
1192
+ ...config.imagePullSecretName && {
1193
+ imagePullSecrets: [{ name: config.imagePullSecretName }]
1194
+ },
1192
1195
  volumes: [
1193
1196
  {
1194
1197
  name: "caddy-data",
@@ -445,6 +445,8 @@ export interface CaddyConfig {
445
445
  acmeEmail?: string;
446
446
  /** Additional containers in the Caddy pod (e.g., /ask sidecar) */
447
447
  sidecars?: k8s.types.input.core.v1.Container[];
448
+ /** Secret name for pulling private container images */
449
+ imagePullSecretName?: string;
448
450
  /** Resource limits for the Caddy container */
449
451
  resources?: K8sResourceConfig;
450
452
  /** Persistent storage for certs and OCSP cache */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {