Skip to content

Commit

Permalink
allow usage of process.env.CHECK_VOLUME_OWNERSHIP_VIA_PREFIX === '1'
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Oct 7, 2024
1 parent a9d7e2b commit 1cb5759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarmgate/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const KNOWN_VOLUME_TYPES = ['bind', 'volume', 'tmpfs', 'npipe', 'cluster'];
const ALLOWED_VOLUME_TYPES = process.env.ALLOWED_VOLUME_TYPES?.split(',') || ['bind', 'volume', 'tmpfs', 'npipe', 'cluster'];
const ALLOW_PORT_EXPOSE = process.env.ALLOW_PORT_EXPOSE === '1' || process.env.ALLOW_PORT_EXPOSE === 'true';
const SERVICE_ALLOW_LISTED_NETWORKS = process.env.SERVICE_ALLOW_LISTED_NETWORKS?.split(',') || [];
const CHECK_VOLUME_OWNERSHIP_VIA_PREFIX = process.env.CHECK_VOLUME_OWNERSHIP_VIA_PREFIX === 'true';
const CHECK_VOLUME_OWNERSHIP_VIA_PREFIX = process.env.CHECK_VOLUME_OWNERSHIP_VIA_PREFIX === '1' || process.env.CHECK_VOLUME_OWNERSHIP_VIA_PREFIX === 'true';

const tenantLabel = "com.github.neuroforgede.swarmgate.tenant";

Expand Down

0 comments on commit 1cb5759

Please sign in to comment.