"use strict";
/**
 * Bootstrap Scripts Configuration
 *
 * Configuration for downloading initialization scripts from GitHub.
 * Scripts are hosted in the flui-cloud/flui-bootstrap repository.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.BOOTSTRAP_CONFIG = void 0;
exports.getScriptUrl = getScriptUrl;
/**
 * Default bootstrap configuration
 */
exports.BOOTSTRAP_CONFIG = {
    scriptsBaseUrl: process.env.BOOTSTRAP_SCRIPTS_URL ||
        'https://raw.githubusercontent.com/flui-cloud/bootstrap-scripts/master/scripts',
    scripts: {
        fluiInit: 'flui-init.sh',
        k3sMaster: 'k3s-master-init.sh',
        k3sWorker: 'k3s-worker-init.sh',
    },
    repository: {
        org: 'flui-cloud',
        name: 'bootstrap-scripts',
        branch: 'master',
    },
};
/**
 * Get the full URL for a script
 */
function getScriptUrl(scriptName) {
    return `${exports.BOOTSTRAP_CONFIG.scriptsBaseUrl}/${exports.BOOTSTRAP_CONFIG.scripts[scriptName]}`;
}
