diff --git a/stable/meshcentral/11.0.3/CHANGELOG.md b/stable/meshcentral/11.0.3/CHANGELOG.md new file mode 100644 index 00000000000..1644169b4fd --- /dev/null +++ b/stable/meshcentral/11.0.3/CHANGELOG.md @@ -0,0 +1,99 @@ +**Important:** +*for the complete changelog, please refer to the website* + + + + +## [meshcentral-11.0.3](https://github.com/truecharts/charts/compare/meshcentral-11.0.2...meshcentral-11.0.3) (2023-09-12) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.11 ([#12506](https://github.com/truecharts/charts/issues/12506)) + + + + +## [meshcentral-11.0.2](https://github.com/truecharts/charts/compare/meshcentral-11.0.1...meshcentral-11.0.2) (2023-08-16) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.10 ([#11620](https://github.com/truecharts/charts/issues/11620)) + + + + +## [meshcentral-11.0.1](https://github.com/truecharts/charts/compare/meshcentral-11.0.0...meshcentral-11.0.1) (2023-08-07) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.8 ([#11312](https://github.com/truecharts/charts/issues/11312)) + + + + + +## [meshcentral-11.0.0](https://github.com/truecharts/charts/compare/meshcentral-10.0.21...meshcentral-11.0.0) (2023-07-31) + + + + +## [meshcentral-10.0.21](https://github.com/truecharts/charts/compare/meshcentral-10.0.20...meshcentral-10.0.21) (2023-07-29) + +### Chore + +- update helm general non-major ([#10955](https://github.com/truecharts/charts/issues/10955)) + + + + +## [meshcentral-10.0.20](https://github.com/truecharts/charts/compare/meshcentral-10.0.19...meshcentral-10.0.20) (2023-07-01) + +### Chore + +- update helm general non-major ([#10069](https://github.com/truecharts/charts/issues/10069)) + + + + +## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664)) + + + + +## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664)) + + + + +## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664)) + + + + +## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664)) + + + + +## [meshcentral-10.0.19](https://github.com/truecharts/charts/compare/meshcentral-10.0.18...meshcentral-10.0.19) (2023-06-15) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.6 ([#9664](https://github.com/truecharts/charts/issues/9664)) + diff --git a/stable/meshcentral/11.0.3/Chart.yaml b/stable/meshcentral/11.0.3/Chart.yaml new file mode 100644 index 00000000000..9ff37c499f7 --- /dev/null +++ b/stable/meshcentral/11.0.3/Chart.yaml @@ -0,0 +1,34 @@ +apiVersion: v2 +kubeVersion: ">=1.16.0-0" +name: meshcentral +version: 11.0.3 +appVersion: "1.1.11" +description: MeshCentral is a full computer management web site +type: application +deprecated: false +home: https://truecharts.org/charts/stable/meshcentral +icon: https://truecharts.org/img/hotlink-ok/chart-icons/meshcentral.png +keywords: + - meshcentral + - teamviewer + - rdp +sources: + - https://github.com/truecharts/charts/tree/master/charts/stable/meshcentral + - https://github.com/Ylianst/MeshCentral +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 14.0.1 + - condition: mongodb.enabled + name: mongodb + repository: https://deps.truecharts.org/ + version: 6.0.67 +maintainers: + - email: info@truecharts.org + name: TrueCharts + url: https://truecharts.org +annotations: + truecharts.org/catagories: | + - cloud + truecharts.org/SCALE-support: "true" + truecharts.org/grade: U diff --git a/stable/meshcentral/11.0.3/README.md b/stable/meshcentral/11.0.3/README.md new file mode 100644 index 00000000000..e0a9b8fa8d7 --- /dev/null +++ b/stable/meshcentral/11.0.3/README.md @@ -0,0 +1,27 @@ +# README + +## General Info + +TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. +However only installations using the TrueNAS SCALE Apps system are supported. + +For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +*All Rights Reserved - The TrueCharts Project* diff --git a/stable/meshcentral/11.0.3/app-changelog.md b/stable/meshcentral/11.0.3/app-changelog.md new file mode 100644 index 00000000000..02bff8ca7f4 --- /dev/null +++ b/stable/meshcentral/11.0.3/app-changelog.md @@ -0,0 +1,9 @@ + + +## [meshcentral-11.0.3](https://github.com/truecharts/charts/compare/meshcentral-11.0.2...meshcentral-11.0.3) (2023-09-12) + +### Chore + +- update container image tccr.io/truecharts/meshcentral to v1.1.11 ([#12506](https://github.com/truecharts/charts/issues/12506)) + + \ No newline at end of file diff --git a/stable/meshcentral/11.0.3/app-readme.md b/stable/meshcentral/11.0.3/app-readme.md new file mode 100644 index 00000000000..dc6ab6c4356 --- /dev/null +++ b/stable/meshcentral/11.0.3/app-readme.md @@ -0,0 +1,8 @@ +MeshCentral is a full computer management web site + +This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/meshcentral](https://truecharts.org/charts/stable/meshcentral) + +--- + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! diff --git a/stable/meshcentral/11.0.3/charts/common-14.0.1.tgz b/stable/meshcentral/11.0.3/charts/common-14.0.1.tgz new file mode 100644 index 00000000000..656c64047b2 Binary files /dev/null and b/stable/meshcentral/11.0.3/charts/common-14.0.1.tgz differ diff --git a/stable/meshcentral/11.0.3/charts/mongodb-6.0.67.tgz b/stable/meshcentral/11.0.3/charts/mongodb-6.0.67.tgz new file mode 100644 index 00000000000..f2027521d87 Binary files /dev/null and b/stable/meshcentral/11.0.3/charts/mongodb-6.0.67.tgz differ diff --git a/stable/meshcentral/11.0.3/ix_values.yaml b/stable/meshcentral/11.0.3/ix_values.yaml new file mode 100644 index 00000000000..8a0dfb94b17 --- /dev/null +++ b/stable/meshcentral/11.0.3/ix_values.yaml @@ -0,0 +1,1009 @@ +image: + repository: tccr.io/truecharts/meshcentral + pullPolicy: IfNotPresent + tag: v1.1.11@sha256:7447899fa5158cce2eecd755a29652418ee9addae64fbfa491176043e24eb3da + +workload: + main: + podSpec: + containers: + main: + command: + - node + - meshcentral/meshcentral + +securityContext: + container: + readOnlyRootFilesystem: false + runAsNonRoot: false + runAsUser: 0 + runAsGroup: 0 + +# - Values with the character _ in-front of them are pruned. Add or remove _ to disable or enable options +# - More in-depth info for each options can be found here: https://github.com/Ylianst/MeshCentral/blob/master/meshcentral-config-schema.json +# - Check for this chart's specific info in our webpage https://truecharts.org +# - Last sync with upstream config schema: Oct 29, 2022 +# - Any service that uses port other than 443, need to be manually configured. +meshcentral: + settings: + mongoDbBulkOperations: true + # - The actual main port as seen externally on the Internet, this setting is often used when a reverse-proxy is used. + aliasPort: 443 + # - When set, relayPort value is ignored. Set this to a DNS name the points to this server. When the server is accessed using the DNS name, the main web server port is used as a web relay port. + relayDNS: [] + # - Automatically downloads all agent error logs into meshcentral-data/agenterrorlogs.txt. + agentLogDump: false + # - Automatically activates and transfers any agent crash dump files to the server in meshcentral-data/coredumps. + agentCoreDump: false + # - List of non-administrator users that have access to mesh agent crash dumps. + _agentCoreDumpUsers: [] + # - When code signing an agent using authenticode, lock the agent to only allow connection to this server. (This is in testing, the default value will change to true in the future). + _agentSignLock: false + # - The time stamping server to use when code signing Windows executables. When set to false, the executables are not time stamped. + _agentTimeStampServer: http://timestamp.comodoca.com/authenticode + # - The HTTP proxy to use when contacting the time stamping server, if false, no proxy is used. By default, the npmproxy value is used. + _agentTimeStampProxy: + # - When set to true, MeshCentral will only grab the required TCP listening ports or fail. It will not try to use the next available port of it's busy. + _exactPorts: false + # - Set this to the primary DNS name of this MeshCentral server. + cert: mc.domain.com + # - Force MeshCentral to use the HTTPS and MPS certificates even if the name does not match the expected DNS value. + keepCerts: false + # - When enabled, only MeshCentral WAN features are enabled and agents will connect to the server using a well known DNS name. + WANonly: false + # - When enabled, only MeshCentral LAN features are enabled and agents will find the server using multicast LAN packets. + LANonly: false + allowLoginToken: false + # - Controls the Strict-Transport-Security header, default is 1 year. Set to false to remove, true to force enable, or string to set a custom value. If set to null, MeshCentral will enable if a trusted certificate is set. + _StrictTransportSecurity: null + # - When enabled, the MeshCentral web site can be embedded within another website's iframe. + allowFraming: false + # - Options: strict | lax | none | true + _cookieIpCheck: lax + # - When enabled, allows use of WebRTC to allow direct network traffic between the agent and browser. + webRTC: false + # - By default, a nice looking 404 error page is displayed when needed. Set this to false to disable it. + nice404: true + # - When specified, sends data to the browser at x seconds interval and expects a response from the browser. + _browserPing: 300 + # - When specified, sends data to the browser at x seconds interval. + _browserPong: 300 + # - Loads all agent binaries in RAM for faster agent updates. + _agentsInRam: false + # - When specified, sends data to the agent at x seconds interval and expects a response from the agent. + _agentPing: 300 + # - When specified, sends data to the agent at x seconds interval. + _agentPong: 300 + # - When enabled, MeshCentral will automatically monitor and manage Intel AMT devices. + _amtManager: true + # - If an agent attempts to connect to a unknown device group, automatically create a new device group and grant access to the specified user. Example: admin + _orphanAgentUser: null + # - How much time in seconds with no traffic from an agent before dropping the agent connection. + _agentIdleTimeout: 150 + # - Adds a random length string to generated web pages to mitigate a BREACH attack. + _webPageLengthRandomization: true + # - Enables GZIP compression for web requests. + compression: true + # - Enables server-side, websocket per-message deflate compression. + wsCompression: true + # - Enables agent-side, websocket per-message deflate compression. wscompression must also be true for this to work. + agentWsCompression: true + # - Set to 1 to present the server from updating any agent. + _noAgentUpdate: 0 + # - When set to 2, all agents that need to be updated will use the meshcore.js update system. With the default value of 1, the native update system is used. + _agentUpdateSystem: 1 + # - Set to false to not allow temporary agents to be updated. + _temporaryAgentUpdate: true + # - Set to false to disable Intel AMT scanning on the local network, this is already disabled in WAN mode. + _amtScanner: true + # - Set to false to disable agent multicast scanning on the local network, this is already disabled in WAN mode. + _meshScanner: true + # - When false, users will only be able to set remote desktop image quality to 60%, this can reduce server bandwidth usage. + _allowHighQualityDesktop: true + # - When set with a valid email address, enables the MeshCentral web push notification feature. Allows administrators to send browser notifications to users even if they are not looking at the MeshCentral web site. + _webPush: + # - Server administrator email given to the FireFox and Chrome push notification services. + email: null + # - Duration of a session cookie in minutes. Changing this affects how often the session needs to be automatically refreshed. + sessionTime: 60 + # - Options: strict | lax | none + sessionSameSite: lax + # - Amount of time to keep various events in the database, in seconds. + dbExpire: + # - Amount of time in seconds that events are kept in the database. + events: 1728000 + # - Amount of time in seconds that device power events are kept in the database. + powerevents: 864000 + # - Amount of time in seconds that server statistics are kept in the database. + statsevents: 2592000 + # - Execute this when the server startup is completed. The first parameter will be the server version. + _RunOnServerStarted: null + # - Execute this when the server has been updated. The first parameter will be the server version. + _RunOnServerUpdated: null + # - Execute this when the server has to restart due to an error. The first parameter will be the server version. + _RunOnServerError: null + # - When true, this server uses MeshCentral.com a push notification relay for Android notifications. Push notifications work even if the Android app is not open. + _publicPushNotifications: false + # - When true, enabled a server modules that efficiently splits a remote desktop stream to multiple browsers. Also allows slow browsers to not slow down the session for fast ones, this comes at the cost of extra server memory and processing for all remote desktop sessions. + _desktopMultiplex: false + # - If set, a user from a banned IP address will be redirected to this URL. + _ipBlockedUserRedirect: null + # - When set, only users from allowed IP address ranges can connect to the server. Example: 192.168.2.100,192.168.1.0/24 + _userAllowedIP: null + # - When set, users from these denied IP address ranges will not be able to connect to the server. Example: 192.168.2.100,192.168.1.0/24 + _userBlockedIP: null + # - When set, only agents from allowed IP address ranges can connect to the server. Example: 192.168.2.100,192.168.1.0/24 + _agentAllowedIP: null + # - When set, agents from these denied IP address ranges will not be able to connect to the server. Example: 192.168.2.100,192.168.1.0/24 + _agentBlockedIP: null + # - File path and name of the authentication log to be created. This log can be parsed by Fail2ban. + _authLog: null + # - Users in this list are allowed to send and receive inter-user messages. This can be used to implement bots or other software where MeshCentral is used as data transport. See interuser websocket command in the code. + _InterUserMessaging: [] + # - Users in this list are allowed to see and manage all device groups within their domain. + _manageAllDeviceGroups: [] + # - Users in this list are allowed to manage all users in all domains. + _manageCrossDomain: [] + # - When this server is in LAN mode, you may discover this server using a multicast discovery tool. When discovery happens, the name and info fields are sent back to the discovery tool. + _localDiscovery: + name: null + info: null + # - When set, encrypts all LAN discovery traffic to agents and tools using this key. This is only useful in LAN/Hybrid mode when agents and tools user multicast to find the server. + key: null + # - When true, indicates that a TLS offloader is in front of the MeshCentral server. More typically, set this to the IP address of the reverse proxy or TLS offloader so that IP forwarding headers will be trusted. For example: 127.0.0.1,192.168.1.100 + _tlsOffload: false + # - Trust forwarded headers from these IPs or domains. Providing the magic string "CloudFlare" will cause the server to download the IP address list of trusted CloudFlare proxies directly from CloudFlare on each server start. For example: 127.0.0.1,proxy.example.com,CloudFlare + _trustedProxy: null + # - The Management Presence Server (MPS), this is the server that received Intel AMT Client Initiated Remote Access (CIRA) connections. + _mpsPort: 4433 + _mpsAliasPort: null + _mpsAliasHost: null + # - When set to true, indicate that TLS is being performed by a device in front of MeshCentral. + _mpsTlsOffload: false + # - When set to true, the MPS server will only accept TLS 1.2 and 1.3 connections. Older Intel AMT devices will not be able to connect. + _mpsHighSecurity: false + # - Send syslog events over the network (RFC3164) to a target hostname:port. For example: localhost:514 + _syslogtcp: null + # - The STUN servers used for WebRTC, if not specified the Google and Mozilla servers and used when the server is not in LAN mode. + _webrtcConfig: + iceServers: + - urls: "" + # - Enabled the MeshCentral built-in Crowdsec bouncer. This section is passed directly to the bouncer, all of the settings are documented at https://www.npmjs.com/package/@crowdsec/express-bouncer + _crowdsec: + # - The URL of your LAPI instance. Ex: http://localhost:8080 + url: null + # - The bouncer key (generated via cscli). + apiKey: null + # - Action to perform if the CrowdSec agent can't be contacted. Options: bypass | captcha | ban + failbackRemediation: ban + autobackup: + mongoDumpPath: /usr/bin/mongodump + backupIntervalHours: 24 + keepLastDaysBackup: 10 + zipPassword: "" + backupPath: /opt/meshcentral/meshcentral-backup + # - Enabled automated upload of the server backups to a Google Drive account, once enabled you need to go in "My Server" tab as administrator to associate the account. + _googleDrive: + # - The name of the folder to create in the Google Drive account. + folderName: MeshCentral-Backups + # - The maximum number of files to keep in the Google Drive folder, older files will be removed if needed. + maxFiles: 10 + # - Enabled automated upload of the server backups to a WebDAV account. + _webdav: + # - WebDAV account URL. + url: "" + # - WebDAV account username. + username: "" + # - WebDAV account password. + password: "" + # - The name of the folder to create in the WebDAV account. + folderName: MeshCentral-Backups + # - The maximum number of files to keep in the WebDAV folder, older files will be removed if needed. + maxFiles: 10 + _redirects: + meshcommander: https://www.meshcommander.com/ + # - This section described a policy for how many times an IP address is allowed to attempt to login incorrectly. By default it's 10 times in 10 minutes, but this can be changed here. + maxInvalidLogin: + # - Ranges of IP addresses that are not subject to invalid login limitations. For example: 192.168.1.0/24,172.16.0.1 + _exclude: "" + # - Time in minutes over which the a maximum number of invalid login attempts is allowed from an IP address. + time: 10 + # - Maximum number of invalid login attempts from an IP address in the time period. + count: 10 + # - Additional time in minute that login attempts will be denied once the invalid login limit is reached. + coolofftime: 30 + # - This section described a policy for how many times an IP address is allowed to attempt to perform two-factor authentication (2FA) incorrectly. By default it's 10 times in 10 minutes, but this can be changed here. + maxInvalid2fa: + # - Ranges of IP addresses that are not subject to invalid 2FA limitations. For example: 192.168.1.0/24,172.16.0.1 + _exclude: "" + # - Time in minutes over which the a maximum number of invalid 2FA attempts is allowed from an IP address. + time: 10 + # - Maximum number of invalid 2FA attempts from an IP address in the time period. + count: 10 + # - Additional time in minute that 2FA attempts will be denied once the invalid login limit is reached. + coolofftime: 30 + # - When present, this section will enable the Intel AMT provisioning server on the local network. This is used for Intel AMT bare-metal ACM activation. + _amtProvisioningServer: + # - Port number that provisioning server will listen to. + port: 9971 + # - The agent-less device group to add Intel AMT devices to once they are activated. Must be of format: mesh/domain/id + deviceGroup: null + # - The MEBX password to set during activation. This password must be at least 8 characters long and have 1 lower, 1 upper, 1 alpha-numeric and 1 non-alpha numeric character. + newMebxPassword: null + # - The trusted FQDN or provisioning server value the remote device will have. This can be set in MEBx or using the DHCP server option 15 on the local network. + trustedFqdn: null + # - The IP address of this server. This address will be used when creating the USB setup.bin file to indicate what IP address to send the hello data to. + ip: null + plugins: + enabled: false + # - Connects MeshCentral to the SendGrid email server, allows MeshCentral to send email messages for 2FA or user notification. + _sendgrid: + # - Email address used in the messages from field. + from: null + # - The SendGrid API key. + apiKey: null + # - When set to false, the email format and DNS MX record are not checked. + verifyemail: true + _smtp: + # - Optional hostname of the client, this defaults to the hostname of the machine. This is useful for SMTP relays. + name: null + # - Hostname of the SMTP server. + host: null + # - SMTP server port number. + port: null + # - Email address used in the messages from field. + from: null + tls: true + _auth: + clientId: null + clientSecret: null + refreshToken: null + tlscertcheck: true + tlsstrict: true + # - When set to false, the email format and DNS MX record are not checked + verifyemail: true + # - Connects MeshCentral to a SMS text messaging provider, allows MeshCentral to send SMS messages for 2FA or user notification. Options: One of the following blocks + _sms: + # - twillio + provider: twillio + sid: null + auth: null + from: null + # # - plivo + # provider: plivo + # id: null + # token: null + # from: nyll + # # - telnyx + # provider: telnyx + # apikey: null + # from: null + # # - url + # provider: url + # url: "tc.common.names.fullname" + # - This section allow MeshCentral to send messages over user messaging networks like Telegram + _messaging: + # - Configure Telegram messaging system + _telegram: + apiid: "" + apihash: "" + session: "" + # - Configure Discord messaging system + _discord: + # - An optional HTTP link to the discord server the user must join to get notifications. + serverurl: "" + # - A Discord bot token that MeshCentral will use to login to Discord. + token: "" + # - Configure XMPP messaging system + _xmpp: + service: "" + credentials: + username: "" + password: "" + + # - Any settings in this section is used as default setting for all domains + _domaindefaults: + title: Default Title + domains: + "": + # - HTTPS URL when to get the TLS certificate that MeshAgent's will see when connecting to this server. This setting is used when a reverse proxy like Traefik is used in front of MeshCentral. + certUrl: https://mc.domain.com + # - The title of this web site. All web pages will have this title. + title: MeshCentral + # - Secondary title text that is placed on the upper right on the title on many web pages. + title2: TrueCharts + # - When enabled, the server will send reduced sized web pages. + minify: true + # - 0 = User selects day/night mode, 1 = Always night mode, 2 = Always day mode + nightMode: 0 + # - Valid numbers are 1 and 2, changes the style of the login page and some secondary pages. + siteStyle: 2 + # - When set to false, this setting will disable the mobile site. + mobileSite: true + # - Set to true to enable IP KVM device support in this domain. + ipkvm: false + # - When set to true, allow new user accounts to be created from the login page. + newAccounts: false + # - When set this password will be required in order to create a new account from the login screen. + _newAccountsPass: "" + # - When set to true, users will get a CAPTCHA when creating a new account from the login screen. + _newAccountsCaptcha: false + _newAccountsUserGroups: [] + # - When enabled, the username of each account is also the email address of the account. + userNameIsEmail: false + _newAccountsRights: [] + _newAccountEmailDomains: [] + # - The maximum number of devices a user can see on the devices page at the same time. By default all devices will show, but this may need to be limited on servers with large number of devices. + _maxDeviceView: 1000 + _userQuota: 1048576 + _meshQuota: 248576 + # - Requires that users add the value ?key=xxx in the URL in order to see the web site. + _loginKey: [] + # - Requires that agents add the value ?key=xxx in the URL in order to connect. This is not automatic and needs to be manually added in the meshagent.msh file. + _agentKey: [] + # - Web site .png logo file that is 450x66 in size placed in meshcentral-data that is used on the top of many pages. + _titlePicture: "" + # - Web site .png logo file placed in meshcentral-data that used on the login page when sitestyle is 2. + _loginPicture: "" + # - Redirects HTTP root requests to this URL. When in use, direct users to /login to see the normal login page. + _rootRedirect: "" + # - Redirects HTTP root requests to this URL only where user is not already logged in. When in use, direct users to /login to see the normal login page. + _unknownUserRootRedirect: "" + # - Text that will be shown on the login screen. + welcomeText: Welcome to TrueCharts MeshCentral + # - Name of the PNG or JPEG file that will be shown on the login screen. Put this file in the meshcentral-data folder and place the file name here. + _welcomePicture: null + # - When enabled, the welcomePicture will show as a fullscreen background on the login screen. + _welcomePictureFullScreen: false + # - Text that will be displayed on the top of the messenger window when no username or device name is displayed. + _meshMessengerTitle: TrueCharts MeshCentral + # - Name of a .png image file that is placed in meshcentral-data that is displayed on the top of the messenger web page. When null, the default image is displayed. + _meshMessengerPicture: null + # - Sum of: 1 = Hide header, 2 = Hide tab, 4 = Hide footer, 8 = Hide title, 16 = Hide left bar, 32 = Hide back buttons + _hide: 0 + # - This is a HTML string displayed at the bottom of the web page when a user is logged in. + _footer: null + # - This is a HTML string displayed at the bottom of the web page when a user is not logged in. + _loginfooter: null + # - Allow users to save SSH, RDP, VNC device credentials on the server that can be used by any other user. + _allowSavingDeviceCredentials: true + # - This value is normally auto-detected, when set to true, MeshCentral assumes that the TLS certificate comes from a trusted CA and will insure download tools perform certificate checking. + _trustedCert: null + # - When set to false, the desktop/terminal sharing link feature is not available. + _guestDeviceSharing: + # - When set, limits the maximum length of a guest session, in minutes. + maxSessionTime: null + # - Number of days a device can be inactive before it's removed. 0 disables this feature. Device group setting will override this value. + _autoRemoveInactiveDevices: 0 + # - When set to true, the devices search box will match on both the server name and client name of a device. + _deviceSearchBarServerAndClientName: false + # - When set to true, MeshCentral Assistant can create it's own guest sharing links. + _agentSelfGuestSharing: + # - When set, limits the self-created guest sharing link to this number of minutes. + expire: null + # - When set, your can try click the run button to run on of these scripts on the remote device. + _PreconfiguredScripts: + # - Name of the script. + - name: null + # - The type of script. Options: bat | ps1 | sh | agent + type: null + # - How to run this script, does not apply to agent scripts. Options: agent | userfirst | user + runas: null + # - The command or \\r\\n separated commands to run, if set do not use the file key. + _cmd: null + # - The script file path and name, if set do not use the cmd key. This file path starts in meshcentral-data. + file: null + # - When set, you can right click on the input button in the desktop tab and instantly remotely type one of these pre-configured strings. + _preConfiguredRemoteInput: + # - Name of the text string. + - name: null + # - Text string that will be remotely typed when selected. + value: null + _altMessenging: + # - Name of the alternative messaging service, for example: "Jitsi". + - name: null + # - URL to the alternative messaging services, for example: "https://meet.jit.si/myserver-{0}", for a device {0}, {1}, {2}, {3} is the device id. For a user, {0} is the userid, {1} is full userid with dashes, {2} is real name with no spaces, {3} is real name with dash instead of spaces. + url: null + # - If specified, this is the URL that is used on the administrator side, for example: "https://meet.jit.si/myserver-{0}", for a device {0}, {1}, {2}, {3} is the device id. For a user, {0} is the userid, {1} is full userid with dashes, {2} is real name with no spaces, {3} is real name with dash instead of spaces. + localurl: null + # - Indicate if this button should be shown in the user or device type. If omitted, it will be displayed in both. Options: null | user | device + type: null + deviceMeshRouterLinks: + # - Display a RDP link in the device tab when supported + rdp: true + # - Display a SSH link in the device tab when supported + ssh: true + # - Display a SCP link in the device tab when supported + scp: true + _extralinks: + # - Name of the link to be displayed on the web site. + - name: null + # - Protocol. Valid values are: Options: custom | http | https | rdp | ssh | scp | mcrdesktop | mcrfiles. + protocol: null + # - The port on the remote device. + port: null + # - Target IP address. If not specified, the target of the connection is the remote device running the MeshAgent. + ip: null + # - The local port MeshCentral Router would bind to. By default, a random available port is used. + localport: null + # - Array of node// or mesh// or tag: strings. When set, the link will only show up for the specified devices, device groups or device tag. + filter: [] + myServer: + # - Allows administrators to backup the server from the My Server tab. This option can only enabled when the NeDB database is in use. For other databases, this option disabled and the setting is ignored. + Backup: true + # - Allows administrators to restore the server from the My Server tab. This option can only enabled when the NeDB database is in use. For other databases, this option disabled and the setting is ignored. + Restore: true + # - Allows administrators to see the server crash log the server from the My Server tab. + ErrorLog: true + # - Allows administrators to access the server console from the My Server tab. + Console: true + # - Allows administrators to access the server trace tab from from the My Server tab. + Trace: true + _passwordRequirements: + # - Minimum number of characters allowed for the account password. + min: null + # - Maximum number of characters allowed for the account password. + max: null + # - Minimum number of upper case characters required in the password. + upper: null + # - Minimum number of lower case characters required in the password. + lower: null + # - Minimum number of numeric characters required in the password. + numeric: null + # - Minimum number of non-alpha-numeric characters required in the password. + nonalpha: null + # - Number of days after which the user is required to change the account password. + reset: null + # - Set to false to disable email 2FA. + email2factor: true + # - Set to false to disable SMS 2FA. + sms2factor: true + # - Set to false to disable push notification 2FA. + push2factor: true + # - Set to false to disable one-time-password 2FA. + otp2factor: true + # - Set to false to disable user messaging 2FA. + msg2factor: true + # - Set to false to disable 2FA backup codes. + backupcode2factor: true + # - Set to false to disable single 2FA warning. + single2factorWarning: true + # - When set to true, prevents any changes to 2FA. + lock2factor: false + # - Requires that all accounts setup 2FA. + force2factor: false + # - IP addresses where 2FA login is skipped, for example: 127.0.0.1,192.168.2.0/24 + skip2factor: null + # - Number of old passwords the server should remember and not allow the user to switch back to. + oldPasswordBan: null + # - Uses WildLeek to block use of the 10000 most commonly used passwords. + banCommonPasswords: true + # - Allows users to create alternative username/passwords for their account. Set to false to disallow all users, or set to a userid array to only all some users. + loginTokens: true + # - Maximum about of time the to wait for a 2FA token on the login page in seconds. + twoFactorTimeout: + # - If true and user account has FIDO key setup, 2FA login screen will automatically request FIDO 2FA. + autofido2fa: false + # - Maximum number of FIDO/YubikeyOTP hardware 2FA keys that can be setup in a user account. + maxfidokeys: null + # - If set to false, the account reset option on the login screen will not be available to users. + allowaccountreset: true + # - Number of days that a user is allowed to remember this device for when completing 2FA. Set this to 0 to remove this option. + _twoFactorCookieDurationDays: 30 + # - Type of user authentication to use, this can be SSPI on Windows or LDAP. If not set, username/password is used. Options: null | sspi | ldap + _auth: null + # - The LDAP value to use as a user's unique account identifier. Use "ldapUserKey" or "ldapUserBinaryKey". + _ldapUserKey: null + # - The LDAP value to use as a user's unique account identifier, when specified in this field, the values will be HEX converted. + _ldapUserBinaryKey: objectSid + # - The LDAP value to use for the user name, you can also compose the name by setting this value to, for example: "{{{givenName}}} {{{sn}}}" + _ldapUserName: displayName + # - The LDAP value to use for the user's email address. + _ldapUserEmail: mail + # - The LDAP value to use for the user's real name, you can also compose the name by setting this value to, for example: "{{{givenName}}} {{{sn}}}" + _ldapUserRealName: name + # - The LDAP value to use for the user's phone number. + _ldapUserPhoneNumber: telephoneNumber + # - The LDAP value to use for the user's image. + _ldapUserImage: thumbnailPhoto + # - When set to a filename, for example /opt/meshcentral/meshcentral-data/ldapusers.txt, MeshCentral will save the LDAP user object to this file each time a user logs in. This is used for debugging LDAP issues. + _ldapSaveUserToFile: null + # - The LDAP value to use for the user's group memberships. + _ldapUserGroups: memberOf + # - When set to true or set to an object, MeshCentral will synchronize LDAP user memberships to MeshCentral user groups. + _ldapSyncWithUserGroups: + # - When set to a string or array of strings, only LDAP membership groups that includes one of the strings will be synchronized with MeshCentral user groups. + filter: [] + # - A list of LDAP groups. Users must be part of at least one of these groups to allow login. If null, all users are allowed to login. + _ldapUserRequiredGroupMembership: [] + # - LDAP options passed to ldapauth-fork + _ldapOptions: + URL: "ldap://1.2.3.4:389" + BindDN: "CN=svc_meshcentral,CN=Users,DC=meshcentral,DC=local" + BindCredentials: "Password.1" + SearchBase: "DC=meshcentral,DC=local" + SearchFilter: "(sAMAccountName={{username}})" + # - Enabled a feature where you can set one or more invitation codes in a device group. You can then give a invitation link to users who can use it to download the agent. + _agentInviteCodes: false + # - When enabled, all newly installed MeshAgents will be instructed to no use a HTTP/HTTPS proxy even if one is configured on the remote system + _agentNoProxy: false + # - This section is used to indicate if parts of the meshagent.tag file should be used to set server-side device properties. + _agentTag: + # - Action taken if one of the lines in meshagent.tag contains ~ServerName:name. 0=Ignore, 1=Set. + ServerName: 0 + # - Action taken if one of the lines in meshagent.tag contains ~ServerDesc:desc. 0=Ignore, 1=Set, 2=SetIfEmpty. + ServerDesc: 0 + # - Action taken if one of the lines in meshagent.tag contains ~ServerTags:tag1,tag2,tag3. 0=Ignore, 1=Set, 2=SetIfEmpty, 3=Append. + ServerTags: 0 + # - Enables the geo-location feature and device location map in the user interface, this feature is not being worked on. + geoLocation: true + # - When enabled, activates the built-in web-based VNC client. + novnc: true + # - When enabled, activates the built-in web-based RDP client. + mstsc: true + # - When enabled, activates the built-in web-based SSH client. + ssh: true + # - Path where to find custom email templates for this domain. + _webEmailsPath: null + _customUI: null + # - This section is used to customize user consent prompts, these show up when asking if a remote session is allowed or not. + _consentMessages: + Title: null + Desktop: null + Terminal: null + Files: null + # - How long in seconds to show the user consent dialog box. + consentTimeout: 30 + # - If true, user consent is accepted after the timeout. + autoAcceptOnTimeout: false + # - This section is user to customize user notifications when a remote desktop, terminal or file session is connected to a remote system. + _notificationMessages: + Title: null + Desktop: null + Terminal: null + Files: null + # - Use this section to customize the agent branding. + _agentCustomization: + # - The name of the agent as displayed to the user. + displayName: MeshCentral Agent + # - The description of the agent as displayed to the user. + description: Mesh Agent Background Service + # - This will be used as the path to install the agent, by default this is 'Mesh Agent' in Windows and 'meshagent' in other OS's. + companyName: Mesh Agent + # - The name of the background service, by default this is 'Mesh Agent' in Windows and 'meshagent' in other OS's but should be set to an all lower case, no space string. + serviceName: Mesh Agent + # - Text string to show in the agent installation dialog box. + installText: null + # - The filename of a image file in .png format located in meshcentral-data to display in the MeshCentral Agent installation dialog, image should be square and from 64x64 to 200x200. + image: null + # - The agent filename. + fileName: meshagent + # - Foreground text color, valid values are RBG in format 0,0,0 to 255,255,255 or format #000000 to #FFFFFF. + foregroundColor: null + # - Background color, valid values are RBG in format 0,0,0 to 255,255,255 or format #000000 to #FFFFFF. + backgroundColor: null + # - Use this section to set resource metadata of the Windows agents prior to signing. In Windows, you can right-click and select properties to view these values. + _agentFileInfo: + # - Sets the agent icon, this is the name of a .ico file with the file placed in the meshcentral-data folder. + icon: null + # - Executable file description. + fileDescription: null + # - Executable file version, in the form of 'n.n.n.n', for example: '1.2.3.4'. + fileVersion: null + # - Executable internal name. + internalName: null + # - Executable legal copyright. + legalCopyright: null + # - Executable original file name. + originalFilename: null + # - Executable product name. + productName: null + # - Executable product version. Any string format will work, but a alphabetic character is required for this value to show correctly in the Windows property box. For example: 'v1.2.3.4' will work, but '1.2.3.4' will not. + productVersion: null + # - Use this section to customize the MeshCentral Assistant. + _assistantCustomization: + # - Name to show as MeshCentral Assistant dialog title. + title: MeshCentral Assistant + # - The filename of a image file in .png format located in meshcentral-data to display in MeshCentral Assistant, image should be square and from 64x64 to 128x128. + image: null + # - The MeshCentral Assistant filename. + fileName: meshagent + # - Use this section to customize the MeshCentral Agent for Android. + _androidCustomization: + # - Displayed on top of the MeshCentral Agent for Android. + title: MeshCentral Agent + # - Subtitle displayed until the title on the toolbar. + subtitle: null + # - The filename of a image file in .png format located in meshcentral-data to display in MeshCentral Agent for Android, image should be square and from 64x64 to 128x128. + image: null + # - If set, a user from a banned IP address will be redirected to this URL." + _ipBlockedUserRedirect: null + # - When set, requires that a browser request have set HTTP header to allow user login. Example: '{ "Sec-Fetch-Dest": "iframe" }' + _userRequiredHttpHeader: null + # - When set, only users from allowed IP address ranges can connect to the server. Example: "192.168.2.100,192.168.1.0/24" + _userAllowedIP: null + # - When set, users from these denied IP address ranges will not be able to connect to the server. Example: "192.168.2.100,192.168.1.0/24" + _userBlockedIP: null + # - When set, only agents from allowed IP address ranges can connect to the server. Example: "192.168.2.100,192.168.1.0/24" + _agentAllowedIP: null + # - When set, agents from these denied IP address ranges will not be able to connect to the server. Example: "192.168.2.100,192.168.1.0/24" + _agentBlockedIP: null + # - When set, idle users will be disconnected after a set amounts of minutes. + _userSessionIdleTimeout: null + # - Use this section to require user consent for this domain. + _userConsentFlags: + # - Enable desktop notification for this domain. + desktopnotify: false + # - Enable terminal notification for this domain. + terminalnotify: false + # - Enable files notification for this domain. + filenotify: false + # - Enable desktop prompt for this domain. + desktopprompt: false + # - Enable terminal user prompt for this domain. + terminalprompt: false + # - Enable files prompt for this domain. + fileprompt: false + # - Enable remote desktop privacy bar for this domain. + desktopprivacybar: false + # - When users navigate thru the web interface, the URL on top will change to point to the current screen. This allows a user to refresh or bookmark the URL and come back to the correct screen. Setting false here will disable this feature. + _urlSwitching: true + # - This is the text that will be shown in the remote desktop privacy bar. You can use {0} to display the account realname or {1} to display the account identifier in the string. + _desktopPrivacyBarText: null + _limits: + # - Maximum number of devices in this domain. + MaxDevices: null + # - Maximum number of devices in this domain. + MaxUserAccounts: null + # - Maximum number of user sessions that can connect to this server for this domain. + MaxUserSessions: null + # - Maximum number of agents that can connect to this server for this domain. + MaxAgentSessions: null + # - Maximum number of sessions a single user can have. Each time a user opens a new browser tab or opens a new browser on a different computer, a new user session is created. + MaxSingleUserSessions: null + # - Values that affect the files feature + _files: + # - When false, removes the 'SFTP Connect' button from the files tab unless this is the only possible option. + sftpConnect: true + # - Values that affect the terminal feature + _terminal: + # - When false, removes the 'SSH Connect' button from the terminal tab unless this is the only possible option. + sshConnect: true + # - Indicate what terminal options are available when the user clicks the right mouse button on the terminal connect button. Options: any | root | user | login + linuxShell: any + # - Indicate what string the agent must write to the shell after starting a terminal session + launchCommand: + # - String to write after opening a Linux terminal. + linux: alias ls=\\'ls --color=auto\\';clear\\n + # - String to write after opening a macOS terminal. + darwin: null + # - String to write after opening a FreeBSD terminal. + freebsd: null + # - Values that affect the desktop feature" + _desktop: + # - When set to true, the remote desktop feature is view only. + viewonly: false + # - List of local network Intel AMT scanning options offered in the user interface. For example ["LabNetwork 192.168.15.0/23", "SalesNetwork 192.168.8.0/24"]. + _amtScanOptions: + - Network 192.168.1.0/24 + # - Information passed to the AMT manager module that impacts all Intel AMT device managed within this domain. + _amtManager: + # - When set to false, MeshCentral will use TLS to connect to Intel AMT, this is not recommended. + TlsConnections: true + # - When set to false, MeshCentral will not attempt a TLS ACM activation on Intel AMT v14+ + TlsAcmActivation: false + # - List of username and passwords to try when connecting to Intel AMT. + AdminAccounts: + # - Intel AMT administrator username. + - user: admin + # - Intel AMT administrator password. + pass: null + # - List of up to 4 domain suffixes to configure in Intel AMT when activating CIRA. + EnvironmentDetection: [] + # - Specifies a certificate and private key to use to issue Intel AMT TLS certificates. By default the MeshCentral self-signed root certificate is used. + TlsRootCert: + # - Name of the certificate file that is in .p12 or .pfx format in meshcentral-data, use this with certpfxpass. + certpfx: null + # - Password for the file specified in certpfx. + certpfxpass: null + # - Name of the certificate file in PEM format located in meshcentral-data. Using this with keyfile. + certfile: null + # - Name of the private key file in PEM format located in meshcentral-data. Using this with certfile. + keyfile: null + # - List of WIFI profiles to setup in any managed Intel AMT device with a WIFI network interface. + WifiProfiles: + # - WIFI profile name, if not specified the SSID is used. + name: null + # - SSID of the WIFI station. + ssid: null + # - WIFI authentication. Options: wpa-psk | wpa2-psk | wpa-8021x | wpa2-802.1x | wpa3-sae-802.1x | wpa3-owe-802.1x + authentication: wpa2-psk + # - WIFI encryption. Options: ccmp-aes | tkip-rc4 + encryption: ccmp-aes + # - Password on the WIFI station + password: null + # - 802.1x settings for this WIFI profile. Only required if the WIFI authentication type has 802.1x + _802.1x: + # - Identifies the authentication protocol used to authenticate the access requestor to the AAA server. Options: EAP-TLS | EAP-TTLS/MSCHAPv2 | PEAPv0/EAP-MSCHAPv2 | PEAPv1/EAP-GTC | EAP-FAST/MSCHAPv2 | EAP-FAST/GTC | EAP-MD5 | EAP-PSK | EAP-SIM | EAP-AKA | EAP-FAST/TLS | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 + authenticationProtocol: null + # - Determines the comparison algorithm used between the ServerCertificateName value and the subject name field of the certificate presented by the AAA server. Options: Fullname | DomainSuffix | 2 | 3 + serverCertificateNameComparison: FullName + # - The name compared against the subject name field in the certificate provided by the AAA server. + serverCertificateName: null + # - Indicates the activity setting of the 802.1X module in H0 state + availableInS0: true + # - A credential used by the supplicant and AAA server to establish a mutually authenticated encrypted tunnel for confidential user authentication. + protectedAccessCredentialHex: null + # - Optional password to extract the PAC (Protected Access Credential) information from the PAC data. + pacPassword: null + # - The domain within which Username is unique. + domain: null + # - Within the domain specified by Domain, Identifies the user that is requesting access to the network. + username: null + # - The password associated with the user identified by Username and Domain. + password: null + # - A string presented to the authentication server in 802.1x protocol exchange + roamingIdentity: null + # - Timeout in seconds, in which the Intel(R) AMT will hold an authenticated 802.1X session. + pxeTimeoutInSeconds: 120 + # - 802.1x settings for the Intel AMT Wired interface. If set to false, any existing 802.1x wired profile will be removed from Intel AMT. + _802.1x: + # - Identifies the authentication protocol used to authenticate the access requestor to the AAA server. Options: EAP-TLS | EAP-TTLS/MSCHAPv2 | PEAPv0/EAP-MSCHAPv2 | PEAPv1/EAP-GTC | EAP-FAST/MSCHAPv2 | EAP-FAST/GTC | EAP-MD5 | EAP-PSK | EAP-SIM | EAP-AKA | EAP-FAST/TLS | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 + authenticationProtocol: null + # - Determines the comparison algorithm used between the ServerCertificateName value and the subject name field of the certificate presented by the AAA server. Options: Fullname | DomainSuffix | 2 | 3 + serverCertificateNameComparison: FullName + # - The name compared against the subject name field in the certificate provided by the AAA server. + serverCertificateName: null + # - Indicates the activity setting of the 802.1X module in H0 state + availableInS0: true + # - A credential used by the supplicant and AAA server to establish a mutually authenticated encrypted tunnel for confidential user authentication. + protectedAccessCredentialHex: null + # - Optional password to extract the PAC (Protected Access Credential) information from the PAC data. + pacPassword: null + # - The domain within which Username is unique. + domain: null + # - Within the domain specified by Domain, Identifies the user that is requesting access to the network. + username: null + # - The password associated with the user identified by Username and Domain. + password: null + # - A string presented to the authentication server in 802.1x protocol exchange + roamingIdentity: null + # - Timeout in seconds, in which the Intel(R) AMT will hold an authenticated 802.1X session. + pxeTimeoutInSeconds: 120 + _amtAcmActivation: + log: null + # - When set to true, the certificate common name needs to match exactly the Intel AMT trusted FQDN or DHCP Option 15. If false, some flexibility may be given to the matching. + strictCommonName: false + certs: + certfiles: null + keyfile: null + # - This is used to create HTTP redirections. For example setting "redirects": { "example": "https://example.com" } will make it so that anyone accessing /example on the server will get redirected to the specified URL. + _redirects: + example: https://example.com + example1: https://example1.com + _yubikey: + id: null + secret: null + proxy: null + _httpHeaders: null + # - Key and values to add to the MeshAgent .msh file + agentConfig: + # - Needed if you use traefik https://github.com/traefik/traefik/issues/4487 + - webSocketMaskOverride=1 + # - Key and values to add to the MeshCentral Assistant .msh file + _assistantConfig: [] + # - When false, users can't set the clipboard of a remove device. + clipboardGet: true + # - When false, users can't get the clipboard of a remove device. + clipboardSet: true + # - When false, removes the local recording feature on remote desktop. + localSessionRecording: true + _sessionRecording: + # - When enabled, only device users with the session recording feature turned on will be recorded. When false, all users are recorded. + onlySelectedUsers: false + # - When enabled, only device user groups with the session recording feature turned on will be recorded. When false, all users are recorded. + onlySelectedUserGroups: false + # - When enabled, only device groups with the session recording feature turned on will be recorded. When false, all devices are recorded. + onlySelectedDeviceGroups: false + # - The file path where recording files are kept. + filepath: null + # - If true, automatically index remote desktop recordings so that the plays can skip to any place in the file. + index: false + # - Maximum number of recording files to keep. + maxRecordings: null + # - Maximum number of days to keep a recording. + maxRecordingDays: null + # - Maximum number of recordings in megabytes. Once exceed, remove the oldest recordings. + maxRecordingSizeMegabytes: null + # - This is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger + _protocols: + - 1 + - 5 + # - When set to false, hides the username and password prompt on login screen. + _showPasswordLogin: true + # - Connects MeshCentral to the SendGrid email server, allows MeshCentral to send email messages for 2FA or user notification. + _sendgrid: + # - Email address used in the messages from field. + from: null + # - The SendGrid API key. + apiKey: null + # - When set to false, the email format and DNS MX record are not checked. + verifyemail: true + # - Connects MeshCentral to a SMTP email server, allows MeshCentral to send email messages for 2FA or user notification. + _smtp: + # - Optional hostname of the client, this defaults to the hostname of the machine. This is useful for SMTP relays. + name: null + # - Hostname of the SMTP server. + host: null + # - SMTP server port number. + port: null + # - Email address used in the messages from field. + from: null + tls: true + _auth: + clientId: null + clientSecret: null + refreshToken: null + tlscertcheck: true + tlsstrict: true + # - When set to false, the email format and DNS MX record are not checked + verifyemail: true + # - Makes MeshCentral send emails using the Unix sendmail command. Allows MeshCentral to send email messages for 2FA or user notification. + _sendmail: + # - Possible values are unix or windows + newline: unix + # - Path to the sendmail command + path: sendmail + # - Array or arguments to pass to sendmail + _args: [] + _authStrategies: + _twitter: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + clientid: null + clientsecret: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _google: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + clientid: null + clientsecret: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _github: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + clientid: null + clientsecret: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _reddit: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + clientid: null + clientsecret: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _azure: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + clientid: null + clientsecret: null + tenantid: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _jumpcloud: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + newAccounts: false + newAccountsUserGroups: [] + entityid: null + idpurl: null + cert: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _saml: + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + disableRequestedAuthnContext: false + newAccounts: false + newAccountsUserGroups: [] + newAccountsRights: [] + entityid: null + idpurl: null + cert: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + _oidc: + # - If set, this will be used as the authorization URL. (If set tokenURL and userInfoURL need set also) + authorizationURL: null + # - Required, this is the URL that your SSO provider sends auth approval to. + callbackurl: null + clientid: null + clientsecret: null + # - Full URL of SSO portal + issuer: null + # - If set, this will be used as the token URL. (If set authorizationURL and userInfoURL need set also) + tokenURL: null + # - If set, this will be used as the user info URL. (If set authorizationURL and tokenURL need set also) + userInfoURL: null + # - Then set, the user will be redirected to this URL when hitting the logout link + logouturl: null + newAccounts: true + groups: + # - When set, the user must be part of one of the OIDC user groups to login to MeshCentral. + required: [] + # - When set, users part of these groups will be promoted with site administrator in MeshCentral, users that are not part of these groups will be demoted. + siteadmin: [] + sync: + enabled: false + # - When set, limits what OIDC groups are mirrored into MeshCentral user groups. + filter: [] + +service: + main: + ports: + main: + # Only use HTTPS if meshcental handles the certs + protocol: http + port: 10205 + # mps: + # enabled: true + # ports: + # mps: + # enabled: true + # port: 4433 + # targetPort: 4433 + # amtprovisioner: + # enabled: true + # ports: + # amtprovisioner: + # enabled: true + # port: 9971 + # targetPort: 9971 + +mongodb: + enabled: true + mongodbUsername: meshcentral + mongodbDatabase: meshcentral + +persistence: + data: + enabled: true + mountPath: /opt/meshcentral/meshcentral-data + size: 256Gi + files: + enabled: true + mountPath: /opt/meshcentral/meshcentral-files + size: 256Gi + web: + enabled: true + mountPath: /opt/meshcentral/meshcentral-web + size: 256Gi + backups: + enabled: true + mountPath: /opt/meshcentral/meshcentral-backup + size: 256Gi + configfile: + enabled: true + type: secret + readOnly: true + defaultMode: "0600" + objectName: mesh-secret + mountPath: /opt/meshcentral/meshcentral-data/config.json + subPath: config.json + +portal: + open: + enabled: true diff --git a/stable/meshcentral/11.0.3/questions.yaml b/stable/meshcentral/11.0.3/questions.yaml new file mode 100644 index 00000000000..5567a0e3e33 --- /dev/null +++ b/stable/meshcentral/11.0.3/questions.yaml @@ -0,0 +1,2921 @@ +groups: + - name: Container Image + description: Image to be used for container + - name: General Settings + description: General Deployment Settings + - name: Workload Settings + description: Workload Settings + - name: App Configuration + description: App Specific Config Options + - name: Networking and Services + description: Configure Network and Services for Container + - name: Storage and Persistence + description: Persist and Share Data that is Separate from the Container + - name: Ingress + description: Ingress Configuration + - name: Security and Permissions + description: Configure Security Context and Permissions + - name: Resources and Devices + description: "Specify Resources/Devices to be Allocated to Workload" + - name: Middlewares + description: Traefik Middlewares + - name: Metrics + description: Metrics + - name: Addons + description: Addon Configuration + - name: Advanced + description: Advanced Configuration + - name: Postgresql + description: Postgresql + - name: Documentation + description: Documentation +portals: + open: + protocols: + - "$kubernetes-resource_configmap_tcportal-open_protocol" + host: + - "$kubernetes-resource_configmap_tcportal-open_host" + ports: + - "$kubernetes-resource_configmap_tcportal-open_port" +questions: + - variable: global + group: General Settings + label: "Global Settings" + schema: + additional_attrs: true + type: dict + attrs: + - variable: stopAll + label: Stop All + description: "Stops All Running pods and hibernates cnpg" + schema: + type: boolean + default: false + - variable: workload + group: "Workload Settings" + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type (Advanced) + schema: + type: string + default: Deployment + enum: + - value: Deployment + description: Deployment + - value: DaemonSet + description: DaemonSet + + - variable: replicas + label: Replicas (Advanced) + description: Set the number of Replicas + schema: + type: int + show_if: [["type", "!=", "DaemonSet"]] + default: 1 + - variable: podSpec + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: containers + label: Containers + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: Main Container + schema: + additional_attrs: true + type: dict + attrs: + - variable: envList + label: Extra Environment Variables + description: "Please be aware that some variables are set in the background, adding duplicates here might cause issues or prevent the app from starting..." + schema: + type: list + default: [] + items: + - variable: envItem + label: Environment Variable + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: extraArgs + label: Extra Args + schema: + type: list + default: [] + items: + - variable: arg + label: Arg + schema: + type: string + - variable: advanced + label: Show Advanced Settings + description: Advanced settings are not covered by TrueCharts Support + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: command + label: Command + schema: + type: list + default: [] + items: + - variable: param + label: Param + schema: + type: string + + - variable: meshcentral + group: App Configuration + label: MeshCentral Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: settings + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: aliasPort + label: aliasPort + description: The actual main port as seen externally on the Internet, this setting is often used when a reverse-proxy is used. + schema: + type: int + required: true + default: 443 + - variable: cert + label: cert + description: Set this to the primary DNS name of this MeshCentral server. + schema: + type: string + required: true + default: "" + - variable: tlsOffload + label: tlsOffload + description: When true, indicates that a TLS offloader is in front of the MeshCentral server. More typically, set this to the IP address of the reverse proxy or TLS offloader so that IP forwarding headers will be trusted. For example 172.16.0.0/16 + schema: + type: string + default: "172.16.0.0/16" + - variable: trustedProxy + label: trustedProxy + description: Trust forwarded headers from these IPs or domains. Providing the magic string "CloudFlare" will cause the server to download the IP address list of trusted CloudFlare proxies directly from CloudFlare on each server start. For example 172.16.0.0/16. This should be left empty if traefik is used. + schema: + type: string + default: "" + - variable: WANonly + label: WANonly + description: When enabled, only MeshCentral WAN features are enabled and agents will connect to the server using a well known DNS name. + schema: + type: boolean + default: false + - variable: LANonly + label: LANonly + description: When enabled, only MeshCentral LAN features are enabled and agents will find the server using multicast LAN packets. + schema: + type: boolean + default: false + - variable: webRTC + label: webRTC + description: When enabled, allows use of WebRTC to allow direct network traffic between the agent and browser. + schema: + type: boolean + default: false + - variable: compression + label: compression + description: Enables GZIP compression for web requests. + schema: + type: boolean + default: true + - variable: wsCompression + label: wsCompression + description: Enables server-side, websocket per-message deflate compression. + schema: + type: boolean + default: true + - variable: agentWsCompression + label: agentWsCompression + description: Enables agent-side, websocket per-message deflate compression. wscompression must also be true for this to work. + schema: + type: boolean + default: true + - variable: allowFraming + label: allowFraming + description: When enabled, the MeshCentral web site can be embedded within another website's iframe. + schema: + type: boolean + default: false + - variable: newAccounts + label: newAccounts + description: When set to true, allow new user accounts to be created from the login page. + schema: + type: boolean + default: false + - variable: allowHighQualityDesktop + label: allowHighQualityDesktop + description: When false, users will only be able to set remote desktop image quality to 60%, this can reduce server bandwidth usage. + schema: + type: boolean + default: true + - variable: agentLogDump + label: agentLogDump + description: Automatically downloads all agent error logs into meshcentral-data/agenterrorlogs.txt. + schema: + type: boolean + default: false + - variable: agentCoreDump + label: agentCoreDump + description: Automatically activates and transfers any agent crash dump files to the server in meshcentral-data/coredumps. + schema: + type: boolean + default: false + - variable: browserPing + label: browserPing + description: When specified, sends data to the browser at x seconds interval and expects a response from the browser. + schema: + type: int + required: true + default: -99 + - variable: browserPong + label: browserPong + description: When specified, sends data to the browser at x seconds interval. + schema: + type: int + required: true + default: -99 + - variable: agentPing + label: agentPing + description: When specified, sends data to the agent at x seconds interval and expects a response from the agent. + schema: + type: int + required: true + default: -99 + - variable: agentPong + label: agentPong + description: When specified, sends data to the agent at x seconds interval. + schema: + type: int + required: true + default: -99 + - variable: agentIdleTimeout + label: agentIdleTimeout + description: How much time in seconds with no traffic from an agent before dropping the agent connection. + schema: + type: int + required: true + default: -99 + - variable: maxInvalidLogin + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: time + label: time + description: Time in minutes over which the a maximum number of invalid login attempts is allowed from an IP address. + schema: + type: int + required: true + default: 10 + - variable: count + label: count + description: Maximum number of invalid login attempts from an IP address in the time period. + schema: + type: int + required: true + default: 10 + - variable: coolofftime + label: coolofftime + description: Additional time in minute that login attempts will be denied once the invalid login limit is reached. + schema: + type: int + required: true + default: 30 + - variable: exclude + label: exclude + description: Ranges of IP addresses that are not subject to invalid login limitations. For example 192.168.1.0/24,172.16.0.1 + schema: + type: string + default: "" + - variable: maxInvalid2fa + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: time + label: time + description: Time in minutes over which the a maximum number of invalid 2FA attempts is allowed from an IP address. + schema: + type: int + required: true + default: 10 + - variable: count + label: count + description: Maximum number of invalid 2FA attempts from an IP address in the time period. + schema: + type: int + required: true + default: 10 + - variable: coolofftime + label: coolofftime + description: Additional time in minute that 2FA attempts will be denied once the invalid login limit is reached. + schema: + type: int + required: true + default: 30 + - variable: exclude + label: exclude + description: Ranges of IP addresses that are not subject to invalid 2FA limitations. For example 192.168.1.0/24,172.16.0.1 + schema: + type: string + default: "" + - variable: autobackup + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: backupIntervalHours + label: backupIntervalHours + schema: + type: int + required: true + default: 24 + - variable: keepLastDaysBackup + label: keepLastDaysBackup + schema: + type: int + required: true + default: 10 + - variable: zipPassword + label: zipPassword + description: Leave empty for no password + schema: + type: string + private: true + default: "" + - variable: _setupWebDav + label: Backup to Web DAV + description: Enabled automated upload of the server backups to a WebDAV account. + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: webdav + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: url + label: url + description: WebDAV account URL. + schema: + type: string + default: "" + - variable: username + label: username + description: WebDAV account username. + schema: + type: string + default: "" + - variable: password + label: password + description: WebDAV account password. + schema: + type: string + private: true + default: "" + - variable: folderName + label: folderName + description: The name of the folder to create in the WebDAV account. + schema: + type: string + default: MeshCentral-Backups + - variable: maxFiles + label: maxFiles + description: The maximum number of files to keep in the WebDAV folder, older files will be removed if needed. + schema: + type: int + default: 10 + - variable: relayDNS + label: relayDNS + description: When set, relayPort value is ignored. Set this to a DNS name the points to this server. When the server is accessed using the DNS name, the main web server port is used as a web relay port. + schema: + type: list + default: [] + items: + - variable: relayDNSEntry + label: relayDNS Entry + schema: + type: string + required: true + default: "" + - variable: plugins + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + - variable: _setupMessaging + label: Setup Messaging + description: This section allow MeshCentral to send messages over user messaging networks like Discord + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: messaging + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: _setupTelegram + label: Setup Telegram + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: telegram + label: telegram + description: Configure Telegram messaging system + schema: + additional_attrs: true + type: dict + attrs: + - variable: apiid + label: apiid + schema: + type: string + default: "" + - variable: apihash + label: apihash + schema: + type: string + default: "" + - variable: session + label: session + schema: + type: string + default: "" + - variable: _setupDiscord + label: Setup Discord + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: discord + label: discord + description: Configure Discord messaging system + schema: + additional_attrs: true + type: dict + attrs: + - variable: serverurl + label: serverurl + schema: + type: string + default: "" + - variable: token + label: token + schema: + type: string + default: "" + - variable: _setupXMPP + label: Setup XMPP + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: xmpp + label: xmpp + description: Configure XMPP messaging system + schema: + additional_attrs: true + type: dict + attrs: + - variable: service + label: service + schema: + type: string + default: "" + - variable: credentials + label: credentials + schema: + additional_attrs: true + type: dict + attrs: + - variable: username + label: username + schema: + type: string + default: "" + - variable: password + label: password + schema: + type: string + private: true + default: "" + - variable: domains + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: tcdefaultdomain + label: 'Section <"">' + schema: + additional_attrs: true + type: dict + attrs: + - variable: certUrl + label: certUrl + description: HTTPS URL when to get the TLS certificate that MeshAgent's will see when connecting to this server. This setting is used when a reverse proxy like Traefik is used in front of MeshCentral. + schema: + type: string + required: true + default: "" + - variable: title + label: title + description: The title of this web site. All web pages will have this title. + schema: + type: string + required: true + default: MeshCentral + - variable: title2 + label: title2 + description: Secondary title text that is placed on the upper right on the title on many web pages. + schema: + type: string + required: true + default: TrueCharts + - variable: welcomeText + label: welcomeText + description: Text that will be shown on the login screen. + schema: + type: string + required: true + default: Welcome to TrueCharts MeshCentral + - variable: minify + label: minify + description: When enabled, the server will send reduced sized web pages. + schema: + type: boolean + default: true + - variable: localSessionRecording + label: localSessionRecording + description: When false, removes the local recording feature on remote desktop. + schema: + type: boolean + default: true + - variable: mstsc + label: mstsc + description: When enabled, activates the built-in web-based RDP client. + schema: + type: boolean + default: true + - variable: ssh + label: ssh + description: When enabled, activates the built-in web-based SSH client. + schema: + type: boolean + default: true + - variable: novnc + label: novnc + description: When enabled, activates the built-in web-based VNC client. + schema: + type: boolean + default: true + - variable: geoLocation + label: geoLocation + description: Enables the geo-location feature and device location map in the user interface, this feature is not being worked on. + schema: + type: boolean + default: true + - variable: nightMode + label: nightMode + description: 0 = User selects day/night mode, 1 = Always night mode, 2 = Always day mode + schema: + type: int + min: 0 + max: 2 + requited: true + default: 0 + - variable: siteStyle + label: siteStyle + description: Valid numbers are 1 and 2, changes the style of the login page and some secondary pages. + schema: + type: int + min: 1 + max: 2 + requited: true + default: 2 + - variable: deviceMeshRouterLinks + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: rdp + label: rdp + description: Display a RDP link in the device tab when supported + schema: + type: boolean + default: true + - variable: ssh + label: ssh + description: Display a SSH link in the device tab when supported + schema: + type: boolean + default: true + - variable: scp + label: scp + description: Display a SCP link in the device tab when supported + schema: + type: boolean + default: true + - variable: _setupAgentCustomization + label: Setup Agent Customization + description: Use this section to customize the agent branding. + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: agentCustomization + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: displayName + label: displayName + description: The name of the agent as displayed to the user. + schema: + type: string + default: MeshCentral Agent + - variable: description + label: description + description: The description of the agent as displayed to the user. + schema: + type: string + default: Mesh Agent Background Service + - variable: companyName + label: companyName + description: This will be used as the path to install the agent, by default this is 'Mesh Agent' in Windows and 'meshagent' in other OS's. + schema: + type: string + default: Mesh Agent + - variable: serviceName + label: serviceName + description: The name of the background service, by default this is 'Mesh Agent' in Windows and 'meshagent' in other OS's but should be set to an all lower case, no space string. + schema: + type: string + default: Mesh Agent + - variable: installText + label: installText + description: Text string to show in the agent installation dialog box. + schema: + type: string + default: "" + - variable: image + label: image + description: The filename of a image file in .png format located in meshcentral-data to display in the MeshCentral Agent installation dialog, image should be square and from 64x64 to 200x200. + schema: + type: string + default: "" + - variable: fileName + label: fileName + description: The agent filename. + schema: + type: string + default: meshagent + - variable: foregroundColor + label: foregroundColor + description: 'Foreground text color, valid values are RBG in format 0,0,0 to 255,255,255 or format "#000000" to "#FFFFFF".' + schema: + type: string + default: "" + - variable: backgroundColor + label: backgroundColor + description: 'Background color, valid values are RBG in format 0,0,0 to 255,255,255 or format "#000000" to "#FFFFFF".' + schema: + type: string + default: "" + - variable: additional_meshcentral + group: App Configuration + label: Additional MeshCentral Configuration + schema: + type: list + default: [] + items: + - variable: entry + label: Key - Value Pair + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + required: true + default: "" + - variable: value + label: Value + schema: + type: string + required: true + default: "" + - variable: TZ + label: Timezone + group: "General Settings" + schema: + type: string + default: "Etc/UTC" + $ref: + - "definitions/timezone" + - variable: podOptions + group: "General Settings" + label: "Global Pod Options (Advanced)" + schema: + additional_attrs: true + type: dict + attrs: + - variable: expertPodOpts + label: "Expert - Pod Options" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + label: "Host Networking" + schema: + type: boolean + default: false + - variable: dnsConfig + label: "DNS Configuration" + schema: + type: dict + additional_attrs: true + attrs: + - variable: options + label: "Options" + schema: + type: list + default: [{"name": "ndots", "value": "1"}] + items: + - variable: optionsEntry + label: "Option Entry" + schema: + type: dict + additional_attrs: true + attrs: + - variable: name + label: "Name" + schema: + type: string + required: true + - variable: value + label: "Value" + schema: + type: string + - variable: nameservers + label: "Nameservers" + schema: + type: list + default: [] + items: + - variable: nsEntry + label: "Nameserver Entry" + schema: + type: string + required: true + - variable: searches + label: "Searches" + schema: + type: list + default: [] + items: + - variable: searchEntry + label: "Search Entry" + schema: + type: string + required: true + - variable: service + group: Networking and Services + label: Configure Service(s) + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the Service + schema: + type: boolean + default: true + hidden: true + - variable: type + label: Service Type + description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: LoadBalancer + enum: + - value: LoadBalancer + description: LoadBalancer (Expose Ports) + - value: ClusterIP + description: ClusterIP (Do Not Expose Ports) + - variable: loadBalancerIP + label: LoadBalancer IP + description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: ports + label: "Service's Port(s) Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: Main Service Port Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + description: This port exposes the container port on the service + schema: + type: int + default: 10205 + required: true + - variable: serviceexpert + group: Networking and Services + label: Show Expert Config + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: scaleExternalInterface + description: Add External Interfaces + label: Add external Interfaces + group: Networking + schema: + type: list + items: + - variable: interfaceConfiguration + description: Interface Configuration + label: Interface Configuration + schema: + additional_attrs: true + type: dict + $ref: + - "normalize/interfaceConfiguration" + attrs: + - variable: hostInterface + description: Please Specify Host Interface + label: Host Interface + schema: + type: string + required: true + $ref: + - "definitions/interface" + - variable: ipam + description: Define how IP Address will be managed + label: IP Address Management + schema: + additional_attrs: true + type: dict + required: true + attrs: + - variable: type + description: Specify type for IPAM + label: IPAM Type + schema: + type: string + required: true + enum: + - value: dhcp + description: Use DHCP + - value: static + description: Use Static IP + - variable: staticIPConfigurations + label: Static IP Addresses + schema: + type: list + show_if: [["type", "=", "static"]] + items: + - variable: staticIP + label: Static IP + schema: + type: ipaddr + cidr: true + - variable: staticRoutes + label: Static Routes + schema: + type: list + show_if: [["type", "=", "static"]] + items: + - variable: staticRouteConfiguration + label: Static Route Configuration + schema: + additional_attrs: true + type: dict + attrs: + - variable: destination + label: Destination + schema: + type: ipaddr + cidr: true + required: true + - variable: gateway + label: Gateway + schema: + type: ipaddr + cidr: false + required: true + - variable: serviceList + label: Add Manual Custom Services + group: Networking and Services + schema: + type: list + default: [] + items: + - variable: serviceListEntry + label: Custom Service + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the service + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Name + schema: + type: string + default: "" + - variable: type + label: Service Type + description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: LoadBalancer + enum: + - value: LoadBalancer + description: LoadBalancer (Expose Ports) + - value: ClusterIP + description: ClusterIP (Do Not Expose Ports) + - value: Simple + description: Deprecated CHANGE THIS + - variable: loadBalancerIP + label: LoadBalancer IP + description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: advancedsvcset + label: Show Advanced Service Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + type: list + default: [] + items: + - variable: externalIP + label: External IP + schema: + type: string + - variable: ipFamilyPolicy + label: IP Family Policy + description: Specify the IP Policy + schema: + type: string + default: SingleStack + enum: + - value: SingleStack + description: SingleStack + - value: PreferDualStack + description: PreferDualStack + - value: RequireDualStack + description: RequireDualStack + - variable: ipFamilies + label: IP Families + description: (Advanced) The IP Families that should be used + schema: + type: list + default: [] + items: + - variable: ipFamily + label: IP Family + schema: + type: string + - variable: portsList + label: Additional Service Ports + schema: + type: list + default: [] + items: + - variable: portsListEntry + label: Custom ports + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the Port + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Port Name + schema: + type: string + default: "" + - variable: protocol + label: Port Type + schema: + type: string + default: tcp + enum: + - value: http + description: HTTP + - value: https + description: HTTPS + - value: tcp + description: TCP + - value: udp + description: UDP + - variable: targetPort + label: Target Port + description: This port exposes the container port on the service + schema: + type: int + required: true + - variable: port + label: Container Port + schema: + type: int + required: true + - variable: persistence + label: Integrated Persistent Storage + description: Integrated Persistent Storage + group: Storage and Persistence + schema: + additional_attrs: true + type: dict + attrs: + - variable: data + label: App Data Storage + description: Stores the Application Data. + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: pvc + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: autoPermissions + label: Automatic Permissions Configuration + description: Automatically set permissions + schema: + show_if: [["type", "!=", "pvc"]] + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: chown + label: Run CHOWN + description: | + It will run CHOWN on the path with the given fsGroup + schema: + type: boolean + default: false + - variable: chmod + label: Run CHMOD + description: | + It will run CHMOD on the path with the given value
+ Format should be 3 digits, e.g. 770 + schema: + type: string + valid_chars: '[0-9]{3}' + default: "" + - variable: recursive + label: Recursive + description: | + It will run CHOWN and CHMOD recursively + schema: + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size quotum of Storage (Do NOT REDUCE after installation) + description: This value can ONLY be INCREASED after the installation + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: files + label: Files Storage + description: Stores the Files + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: pvc + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: autoPermissions + label: Automatic Permissions Configuration + description: Automatically set permissions + schema: + show_if: [["type", "!=", "pvc"]] + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: chown + label: Run CHOWN + description: | + It will run CHOWN on the path with the given fsGroup + schema: + type: boolean + default: false + - variable: chmod + label: Run CHMOD + description: | + It will run CHMOD on the path with the given value
+ Format should be 3 digits, e.g. 770 + schema: + type: string + valid_chars: '[0-9]{3}' + default: "" + - variable: recursive + label: Recursive + description: | + It will run CHOWN and CHMOD recursively + schema: + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size quotum of Storage (Do NOT REDUCE after installation) + description: This value can ONLY be INCREASED after the installation + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: web + label: Web Storage + description: Stores the Web Files. Used for web customization + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: pvc + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: autoPermissions + label: Automatic Permissions Configuration + description: Automatically set permissions + schema: + show_if: [["type", "!=", "pvc"]] + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: chown + label: Run CHOWN + description: | + It will run CHOWN on the path with the given fsGroup + schema: + type: boolean + default: false + - variable: chmod + label: Run CHMOD + description: | + It will run CHMOD on the path with the given value
+ Format should be 3 digits, e.g. 770 + schema: + type: string + valid_chars: '[0-9]{3}' + default: "" + - variable: recursive + label: Recursive + description: | + It will run CHOWN and CHMOD recursively + schema: + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size quotum of Storage (Do NOT REDUCE after installation) + description: This value can ONLY be INCREASED after the installation + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: backups + label: Backups Storage + description: Stores the Backups + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: pvc + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: autoPermissions + label: Automatic Permissions Configuration + description: Automatically set permissions + schema: + show_if: [["type", "!=", "pvc"]] + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: chown + label: Run CHOWN + description: | + It will run CHOWN on the path with the given fsGroup + schema: + type: boolean + default: false + - variable: chmod + label: Run CHMOD + description: | + It will run CHMOD on the path with the given value
+ Format should be 3 digits, e.g. 770 + schema: + type: string + valid_chars: '[0-9]{3}' + default: "" + - variable: recursive + label: Recursive + description: | + It will run CHOWN and CHMOD recursively + schema: + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size quotum of Storage (Do NOT REDUCE after installation) + description: This value can ONLY be INCREASED after the installation + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: persistenceList + label: Additional App Storage + group: Storage and Persistence + schema: + type: list + default: [] + items: + - variable: persistenceListEntry + label: Custom Storage + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the storage + schema: + type: boolean + default: true + hidden: true + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: hostPath + enum: + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - value: emptyDir + description: emptyDir + - value: nfs + description: NFS Share + - variable: server + label: NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: path + label: Path on NFS Server + schema: + show_if: [["type", "=", "nfs"]] + type: string + default: "" + - variable: autoPermissions + label: Automatic Permissions Configuration + description: Automatically set permissions + schema: + show_if: [["type", "!=", "pvc"]] + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: chown + label: Run CHOWN + description: | + It will run CHOWN on the path with the given fsGroup + schema: + type: boolean + default: false + - variable: chmod + label: Run CHMOD + description: | + It will run CHMOD on the path with the given value
+ Format should be 3 digits, e.g. 770 + schema: + type: string + valid_chars: '[0-9]{3}' + default: "" + - variable: recursive + label: Recursive + description: | + It will run CHOWN and CHMOD recursively + schema: + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPath + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: mountPath + label: Mount Path + description: Path inside the container the storage is mounted + schema: + type: string + default: "" + required: true + valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$' + - variable: medium + label: EmptyDir Medium + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: Memory + description: Memory + - variable: size + label: Size Quotum of Storage + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: ingress + label: "" + group: Ingress + schema: + additional_attrs: true + type: dict + attrs: + - variable: main + label: Main Ingress + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable Ingress + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hosts + label: Hosts + schema: + type: list + default: [] + items: + - variable: hostEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: host + label: HostName + schema: + type: string + default: "" + required: true + - variable: paths + label: Paths + schema: + type: list + default: [] + items: + - variable: pathEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: path + label: Path + schema: + type: string + required: true + default: "/" + - variable: pathType + label: Path Type + schema: + type: string + required: true + default: Prefix + - variable: certificateIssuer + label: Cert-Manager clusterIssuer + description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates. Cannot be used combined with tls option below' + schema: + type: string + default: "" + - variable: middlewares + label: Traefik Middlewares + description: Add previously created Traefik Middlewares to this Ingress + schema: + type: list + default: [] + items: + - variable: name + label: Name + schema: + type: string + default: "" + required: true + - variable: advanced + label: Show Advanced Settings + description: Advanced settings are not covered by TrueCharts Support + schema: + type: boolean + default: false + - variable: entrypoint + label: (Advanced) Traefik Entrypoint + description: Entrypoint used by Traefik when using Traefik as Ingress Provider + schema: + type: string + default: websecure + show_if: [["advanced", "=", true]] + required: true + - variable: ingressClassName + label: (Advanced/Optional) IngressClass Name + schema: + type: string + show_if: [["advanced", "=", true]] + default: "" + - variable: tls + label: TLS-Settings + schema: + type: list + show_if: [["advanced", "=", true]] + default: [] + items: + - variable: tlsEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: hosts + label: Certificate Hosts + schema: + type: list + default: [] + items: + - variable: host + label: Host + schema: + type: string + default: "" + required: true + + - variable: certificateIssuer + label: Use Cert-Manager clusterIssuer + description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates.' + schema: + type: string + default: "" + - variable: scaleCert + label: Use TrueNAS SCALE Certificate (Deprecated) + schema: + show_if: [["certificateIssuer", "=", ""]] + type: int + $ref: + - "definitions/certificate" + - variable: secretName + label: Use Custom Secret (Advanced) + schema: + show_if: [["certificateIssuer", "=", ""]] + type: string + default: "" + - variable: ingressList + label: Add Manual Custom Ingresses + group: Ingress + schema: + type: list + default: [] + items: + - variable: ingressListEntry + label: Custom Ingress + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable Ingress + schema: + type: boolean + default: true + hidden: true + - variable: name + label: Name + schema: + type: string + default: "" + - variable: ingressClassName + label: IngressClass Name + schema: + type: string + default: "" + - variable: hosts + label: Hosts + schema: + type: list + default: [] + items: + - variable: hostEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: host + label: HostName + schema: + type: string + default: "" + required: true + - variable: paths + label: Paths + schema: + type: list + default: [] + items: + - variable: pathEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: path + label: Path + schema: + type: string + required: true + default: "/" + - variable: pathType + label: Path Type + schema: + type: string + required: true + default: Prefix + - variable: service + label: Linked Service + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Service Name + schema: + type: string + default: "" + - variable: port + label: Service Port + schema: + type: int + - variable: clusterIssuer + label: clusterIssuer + description: 'add the name of your cert-manager clusterIssuer here for automatic tls certificates. Cannot be used combined with tls option below' + schema: + type: string + default: "" + - variable: tls + label: TLS-Settings + schema: + type: list + default: [] + show_if: [["clusterIssuer", "=", ""]] + items: + - variable: tlsEntry + label: Host + schema: + additional_attrs: true + type: dict + attrs: + - variable: hosts + label: Certificate Hosts + schema: + type: list + default: [] + items: + - variable: host + label: Host + schema: + type: string + default: "" + required: true + - variable: clusterIssuer + label: Use Cert-Manager clusterIssuer + description: 'add the name of your Cert-Manager clusterIssuer here for automatic tls certificates.' + schema: + type: string + default: "" + - variable: scaleCert + label: Use TrueNAS SCALE Certificate (Deprecated) + schema: + show_if: [["clusterIssuer", "=", ""]] + type: int + $ref: + - "definitions/certificate" + - variable: secretName + label: Use Custom Secret (Advanced) + schema: + type: string + show_if: [["clusterIssuer", "=", ""]] + default: "" + - variable: entrypoint + label: Traefik Entrypoint + description: Entrypoint used by Traefik when using Traefik as Ingress Provider + schema: + type: string + default: websecure + required: true + - variable: middlewares + label: Traefik Middlewares + description: Add previously created Traefik Middlewares to this Ingress + schema: + type: list + default: [] + items: + - variable: name + label: Name + schema: + type: string + default: "" + required: true + + - variable: securityContext + group: Security and Permissions + label: Security Context + schema: + additional_attrs: true + type: dict + attrs: + - variable: container + label: Container + schema: + additional_attrs: true + type: dict + attrs: + # Settings from questions.yaml get appended here on a per-app basis + + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID this App of the user running the application" + schema: + type: int + default: 0 + # Settings from questions.yaml get appended here on a per-app basis + - variable: PUID + label: Process User ID - PUID + description: When supported by the container, this sets the User ID running the Application Process. Not supported by all Apps + schema: + type: int + show_if: [["runAsUser", "=", 0]] + default: 568 + - variable: UMASK + label: UMASK + description: When supported by the container, this sets the UMASK for the App. Not supported by all Apps + schema: + type: string + default: "0022" + - variable: advanced + label: Show Advanced Settings + description: Advanced settings are not covered by TrueCharts Support + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: privileged + label: "Privileged mode" + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: "ReadOnly Root Filesystem" + schema: + type: boolean + default: true + - variable: pod + label: Pod + schema: + additional_attrs: true + type: dict + attrs: + - variable: fsGroupChangePolicy + label: "When should we take ownership?" + schema: + type: string + default: OnRootMismatch + enum: + - value: OnRootMismatch + description: OnRootMismatch + - value: Always + description: Always + - variable: supplementalGroups + label: Supplemental Groups + schema: + type: list + default: [] + items: + - variable: supplementalGroupsEntry + label: Supplemental Group + schema: + type: int + # Settings from questions.yaml get appended here on a per-app basis + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 + + - variable: resources + group: Resources and Devices + label: "Resource Limits" + schema: + additional_attrs: true + type: dict + attrs: + - variable: limits + label: Advanced Limit Resource Consumption + schema: + additional_attrs: true + type: dict + attrs: + - variable: cpu + label: CPU + description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/SCALE/validation" + schema: + type: string + default: 4000m + valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$' + - variable: memory + label: RAM + description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/SCALE/validation" + schema: + type: string + default: 8Gi + valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$' + - variable: requests + label: "Minimum Resources Required (request)" + schema: + additional_attrs: true + type: dict + hidden: true + attrs: + - variable: cpu + label: CPU + description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/SCALE/validation" + schema: + type: string + default: 10m + hidden: true + valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$' + - variable: memory + label: "RAM" + description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/SCALE/validation" + schema: + type: string + default: 50Mi + hidden: true + valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$' + - variable: deviceList + label: Mount USB Devices + group: Resources and Devices + schema: + type: list + default: [] + items: + - variable: deviceListEntry + label: Device + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enable the Storage + schema: + type: boolean + default: true + - variable: type + label: (Advanced) Type of Storage + description: Sets the persistence type + schema: + type: string + default: device + hidden: true + - variable: readOnly + label: readOnly + schema: + type: boolean + default: false + - variable: hostPath + label: Host Device Path + description: Path to the device on the host system + schema: + type: path + - variable: mountPath + label: Container Device Path + description: Path inside the container the device is mounted + schema: + type: string + default: "/dev/ttyACM0" + - variable: scaleGPU + label: GPU Configuration + group: Resources and Devices + schema: + type: list + default: [] + items: + - variable: scaleGPUEntry + label: GPU + schema: + additional_attrs: true + type: dict + attrs: + # Specify GPU configuration + - variable: gpu + label: Select GPU + schema: + additional_attrs: true + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] + - variable: workaround + label: "Workaround" + schema: + type: string + default: workaround + hidden: true +# - variable: horizontalPodAutoscaler +# group: Advanced +# label: (Advanced) Horizontal Pod Autoscaler +# schema: +# type: list +# default: [] +# items: +# - variable: hpaEntry +# label: HPA Entry +# schema: +# additional_attrs: true +# type: dict +# attrs: +# - variable: name +# label: Name +# schema: +# type: string +# required: true +# default: "" +# - variable: enabled +# label: Enabled +# schema: +# type: boolean +# default: false +# show_subquestions_if: true +# subquestions: +# - variable: target +# label: Target +# description: Deployment name, Defaults to Main Deployment +# schema: +# type: string +# default: "" +# - variable: minReplicas +# label: Minimum Replicas +# schema: +# type: int +# default: 1 +# - variable: maxReplicas +# label: Maximum Replicas +# schema: +# type: int +# default: 5 +# - variable: targetCPUUtilizationPercentage +# label: Target CPU Utilization Percentage +# schema: +# type: int +# default: 80 +# - variable: targetMemoryUtilizationPercentage +# label: Target Memory Utilization Percentage +# schema: +# type: int +# default: 80 + - variable: networkPolicy + group: Advanced + label: (Advanced) Network Policy + schema: + type: list + default: [] + items: + - variable: netPolicyEntry + label: Network Policy Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + default: "" + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: policyType + label: Policy Type + schema: + type: string + default: "" + enum: + - value: "" + description: Default + - value: ingress + description: Ingress + - value: egress + description: Egress + - value: ingress-egress + description: Ingress and Egress + - variable: egress + label: Egress + schema: + type: list + default: [] + items: + - variable: egressEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: to + label: To + schema: + type: list + default: [] + items: + - variable: toEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: ipBlock + label: IP Block + schema: + additional_attrs: true + type: dict + attrs: + - variable: cidr + label: CIDR + schema: + type: string + default: "" + - variable: except + label: Except + schema: + type: list + default: [] + items: + - variable: exceptint + label: "" + schema: + type: string + - variable: namespaceSelector + label: Namespace Selector + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: podSelector + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: ports + label: Ports + schema: + type: list + default: [] + items: + - variable: portsEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + schema: + type: int + - variable: endPort + label: End Port + schema: + type: int + - variable: protocol + label: Protocol + schema: + type: string + default: TCP + enum: + - value: TCP + description: TCP + - value: UDP + description: UDP + - value: SCTP + description: SCTP + - variable: ingress + label: Ingress + schema: + type: list + default: [] + items: + - variable: ingressEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: from + label: From + schema: + type: list + default: [] + items: + - variable: fromEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: ipBlock + label: IP Block + schema: + additional_attrs: true + type: dict + attrs: + - variable: cidr + label: CIDR + schema: + type: string + default: "" + - variable: except + label: Except + schema: + type: list + default: [] + items: + - variable: exceptint + label: "" + schema: + type: string + - variable: namespaceSelector + label: Namespace Selector + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: podSelector + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: matchExpressions + label: Match Expressions + schema: + type: list + default: [] + items: + - variable: expressionEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: key + label: Key + schema: + type: string + - variable: operator + label: Operator + schema: + type: string + default: TCP + enum: + - value: In + description: In + - value: NotIn + description: NotIn + - value: Exists + description: Exists + - value: DoesNotExist + description: DoesNotExist + - variable: values + label: Values + schema: + type: list + default: [] + items: + - variable: value + label: "" + schema: + type: string + - variable: ports + label: Ports + schema: + type: list + default: [] + items: + - variable: portsEntry + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + schema: + type: int + - variable: endPort + label: End Port + schema: + type: int + - variable: protocol + label: Protocol + schema: + type: string + default: TCP + enum: + - value: TCP + description: TCP + - value: UDP + description: UDP + - value: SCTP + description: SCTP + - variable: addons + group: Addons + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: codeserver + label: Codeserver + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: service + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Service Type + description: "ClusterIP's are only internally available and Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: LoadBalancer + enum: + - value: NodePort + description: Deprecated CHANGE THIS + - value: ClusterIP + description: ClusterIP + - value: LoadBalancer + description: LoadBalancer + - variable: loadBalancerIP + label: LoadBalancer IP + description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: ports + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: codeserver + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: Port + schema: + type: int + default: 36107 + - variable: envList + label: Codeserver Environment Variables + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: envItem + label: Environment Variable + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + - variable: value + label: Value + schema: + type: string + required: true + - variable: netshoot + label: Netshoot + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: envList + label: Netshoot Environment Variables + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: envItem + label: Environment Variable + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + - variable: value + label: Value + schema: + type: string + required: true + - variable: vpn + label: VPN + schema: + additional_attrs: true + type: dict + attrs: + - variable: type + label: Type + schema: + type: string + default: disabled + enum: + - value: disabled + description: disabled + - value: gluetun + description: Gluetun + - value: tailscale + description: Tailscale + - value: openvpn + description: OpenVPN (Deprecated) + - value: wireguard + description: Wireguard (Deprecated) + - variable: openvpn + label: OpenVPN Settings + schema: + additional_attrs: true + type: dict + show_if: [["type", "=", "openvpn"]] + attrs: + - variable: username + label: Authentication Username (Optional) + description: Authentication Username, Optional + schema: + type: string + default: "" + - variable: password + label: Authentication Password + description: Authentication Credentials + schema: + type: string + show_if: [["username", "!=", ""]] + default: "" + required: true + - variable: tailscale + label: Tailscale Settings + schema: + additional_attrs: true + type: dict + show_if: [["type", "=", "tailscale"]] + attrs: + - variable: authkey + label: Authentication Key + description: Provide an auth key to automatically authenticate the node as your user account. + schema: + type: string + private: true + default: "" + - variable: auth_once + label: Auth Once + description: Only attempt to log in if not already logged in. + schema: + type: boolean + default: true + - variable: accept_dns + label: Accept DNS + description: Accept DNS configuration from the admin console. + schema: + type: boolean + default: false + - variable: userspace + label: Userspace + description: Userspace Networking mode allows running Tailscale where you do not have access to create a VPN tunnel device. + schema: + type: boolean + default: false + - variable: routes + label: Routes + description: Expose physical subnet routes to your entire Tailscale network. + schema: + type: string + default: "" + - variable: dest_ip + label: Destination IP + description: Tells the DNAT mechanism which Destination IP to set in the IP header, and where to send packets that are matched. + schema: + type: string + default: "" + - variable: sock5_server + label: Sock5 Server + description: The address on which to listen for SOCKS5 proxying into the tailscale net. + schema: + type: string + default: "" + - variable: outbound_http_proxy_listen + label: Outbound HTTP Proxy Listen + description: The address on which to listen for HTTP proxying into the tailscale net. + schema: + type: string + default: "" + - variable: extra_args + label: Extra Args + description: Extra Args + schema: + type: string + default: "" + - variable: daemon_extra_args + label: Tailscale Daemon Extra Args + description: Tailscale Daemon Extra Args + schema: + type: string + default: "" + - variable: killSwitch + label: Enable Killswitch + schema: + type: boolean + show_if: [["type", "!=", "disabled"]] + default: true + - variable: excludedNetworks_IPv4 + label: Killswitch Excluded IPv4 networks + description: List of Killswitch Excluded IPv4 Addresses + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: networkv4 + label: IPv4 Network + schema: + type: string + required: true + - variable: excludedNetworks_IPv6 + label: Killswitch Excluded IPv6 networks + description: "List of Killswitch Excluded IPv6 Addresses" + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: networkv6 + label: IPv6 Network + schema: + type: string + required: true + - variable: configFile + label: VPN Config File Location + schema: + type: string + show_if: [["type", "!=", "disabled"]] + default: "" + + - variable: envList + label: VPN Environment Variables + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: envItem + label: Environment Variable + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + - variable: value + label: Value + schema: + type: string + required: true + max_length: 10240 + - variable: docs + group: Documentation + label: Please read the documentation at https://truecharts.org + description: Please read the documentation at +
https://truecharts.org + schema: + additional_attrs: true + type: dict + attrs: + - variable: confirmDocs + label: I have checked the documentation + schema: + type: boolean + default: true + - variable: donateNag + group: Documentation + label: Please consider supporting TrueCharts, see https://truecharts.org/sponsor + description: Please consider supporting TrueCharts, see +
https://truecharts.org/sponsor + schema: + additional_attrs: true + type: dict + attrs: + - variable: confirmDonate + label: I have considered donating + schema: + type: boolean + default: true + hidden: true diff --git a/stable/meshcentral/11.0.3/templates/_secret.tpl b/stable/meshcentral/11.0.3/templates/_secret.tpl new file mode 100644 index 00000000000..4709820c8a5 --- /dev/null +++ b/stable/meshcentral/11.0.3/templates/_secret.tpl @@ -0,0 +1,167 @@ +{{/* Define the secret */}} +{{- define "meshcentral.secret" -}} + +{{- $fullname := include "tc.v1.common.lib.chart.names.fullname" $ -}} +{{- $secretName := printf "%s-mesh-secret" $fullname -}} +{{- $secretStoreName := printf "%s-sec-store" $fullname -}} + +{{- $config := .Values.meshcentral -}} +{{- $mc_custom := .Values.additional_meshcentral -}} + +{{- $isScale := false -}} +{{- if hasKey .Values.global "ixChartContext" -}} + {{- $isScale = true -}} +{{- else -}} + {{- $isScale = false -}} +{{- end -}} + +{{- if $isScale -}} + {{- if .Values.additional_meshcentral -}} + {{- $mc_custom = (include "render.custom.scale.values" $mc_custom) -}} + {{- $mc_custom_merged := dict -}} + {{/* We created a new unique section# for each key we parsed */}} + {{/* And we merge them here, as without it we would have multiple */}} + {{/* same top level keys */}} + {{- range $section := (fromYaml $mc_custom) -}} + {{- $mc_custom_merged = mergeOverwrite $mc_custom_merged $section -}} + {{- end -}} + {{- $config = mergeOverwrite $config $mc_custom_merged -}} + {{- end -}} +{{- end -}} + +{{- $sessionKey := "" -}} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretStoreName) -}} + {{- $sessionKey = (index .data "session_key") | b64dec -}} +{{- else -}} + {{- $sessionKey = randAlphaNum 32 -}} +{{- end -}} + +{{/* Inject some values */}} +{{- $_ := set $config "$schema" "http://info.meshcentral.com/downloads/meshcentral-config-schema.json" -}} + +{{- if not (hasKey $config "settings") -}} + {{- $_ := set $config "settings" dict -}} +{{- end -}} + +{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.creds.complete | trimAll "\"") -}} +{{- $_ := set $config.settings "mongoDbName" .Values.mongodb.mongodbDatabase -}} +{{- $_ := set $config.settings "sessionKey" $sessionKey -}} +{{- $_ := set $config.settings "port" .Values.service.main.ports.main.port -}} + +{{/* Force disable some functions that are not appliable in docker */}} +{{- $_ := set $config.settings "selfUpdate" false -}} +{{- $_ := set $config.settings "cleanNpmCacheOnUpdate" false -}} + +{{/* Disallows administrators to update the server from the My Server tab. For ANY domains defined */}} +{{- range $domain := $config.domains -}} + {{- if not (hasKey $domain "myServer") -}} + {{- $_ := set $domain "myServer" dict -}} + {{- end -}} + {{- $_ := set $domain.myServer "Upgrade" false -}} +{{- end -}} + +{{- if $isScale -}} + {{- $config = (include "mergeAndrenameDefaultDomain" $config) -}} + {{- $config = (include "prune.keys.scale" (fromYaml $config)) -}} +{{- else -}} + {{- $config = (include "prune.keys" $config) -}} +{{- end }} + +secret: + sec-store: + enabled: true + data: + {{/* Store session_key to reuse */}} + session_key: {{ $sessionKey }} + mesh-secret: + enabled: true + data: + {{/* The actual config */}} + config.json: | + {{- toPrettyJson (fromYaml $config) | nindent 8 }} +{{- end -}} + +{{/* Prunes keys that start with _ */}} +{{- define "prune.keys" -}} + {{- $values := . -}} + {{- range $k, $v := $values -}} + {{- if (hasPrefix "_" $k) -}} + {{- $_ := unset $values $k -}} + {{- else -}} + {{- if eq (kindOf $v) "map" -}} + {{- $v := (include "prune.keys" $v) -}} + {{- end -}} + {{- end -}} + {{- end -}} + {{- toYaml $values -}} +{{- end -}} + +{{/* Only on TrueNAS Scale */}} +{{/* Prunes empty lists */}} +{{/* Prunes int and float equal to -99 */}} +{{/* Prunes empty strings (Does not prune empty strings in lists) */}} +{{/* Prunes keys that start with _ */}} +{{/* There are cases you want to pass strings or bools on the same field */}} +{{/* So if eq string, and eq true/false/null convert to the real values */}} +{{- define "prune.keys.scale" -}} + {{- $values := . -}} + {{- range $k, $v := $values -}} + {{- if eq (kindOf $v) "string" -}} + {{- if not $v -}} + {{- $_ := unset $values $k -}} + {{- else if or (eq $v "true") -}} + {{- $_ := set $values $k true -}} + {{- else if or (eq $v "false") -}} + {{- $_ := set $values $k false -}} + {{- else if or (eq $v "null") -}} + {{- $_ := set $values $k nil -}} {{/* nil == null on helm */}} + {{- end -}} + {{- end -}} + {{- if or (eq (kindOf $v) "float64") (eq (kindOf $v) "int64") -}} + {{- if eq (int $v) -99 -}} + {{- $_ := unset $values $k -}} + {{- end -}} + {{- end -}} + {{- if eq (kindOf $v) "slice" -}} + {{- if not $v -}} + {{- $_ := unset $values $k -}} + {{- end -}} + {{- end -}} + {{- if (hasPrefix "_" $k) -}} + {{- $_ := unset $values $k -}} + {{- else -}} + {{- if eq (kindOf $v) "map" -}} + {{- $v := (include "prune.keys.scale" $v) -}} + {{- end -}} + {{- end -}} + {{- end -}} + {{- toYaml $values -}} +{{- end -}} + +{{/* Renames tcdefaultdomain variable to "" as this is the key used by MeshCentral */}} +{{/* but SCALE GUI does not handle it well */}} +{{- define "mergeAndrenameDefaultDomain" -}} + {{- $values := . -}} + {{- $defaultDomain := index $values.domains "" -}} + {{- $computedDomain := mergeOverwrite $defaultDomain $values.domains.tcdefaultdomain -}} + {{- $_ := set $values.domains "" $computedDomain -}} + {{- $_ := unset $values.domains "tcdefaultdomain" -}} + {{- toYaml $values -}} +{{- end -}} + +{{/* Takes a list of dicts with a value and a */}} +{{/* key formatted in dot notaion and converts it to yaml */}} +{{- define "render.custom.scale.values" -}} + {{- $values := . }} + {{- $section := 1 }} + {{- range $item := $values }} + {{- $indent := 2 }} + {{- printf "section%v" $section | nindent 0 }}: + {{- $section = (add 1 (int $section)) }} + {{- range (split "." $item.key) }} + {{- . | nindent (int $indent) }}: + {{- $indent = (add 2 (int $indent)) }} + {{- end }} + {{- printf " %v" $item.value }} + {{- end }} +{{- end -}} diff --git a/stable/meshcentral/11.0.3/templates/common.yaml b/stable/meshcentral/11.0.3/templates/common.yaml new file mode 100644 index 00000000000..c097596c46d --- /dev/null +++ b/stable/meshcentral/11.0.3/templates/common.yaml @@ -0,0 +1,22 @@ +{{/* Make sure all variables are set properly */}} +{{ include "tc.v1.common.loader.init" . }} + +{{- $_ := mustMergeOverwrite .Values (include "meshcentral.secret" $ | fromYaml) -}} + +{{- define "meshcentral.probes" -}} +probes: + liveness: + type: {{ .Values.service.main.ports.main.protocol }} + path: /health.ashx + readiness: + type: {{ .Values.service.main.ports.main.protocol }} + path: /health.ashx + startup: + type: {{ .Values.service.main.ports.main.protocol }} + path: /health.ashx +{{- end -}} + +{{- $_ := mergeOverwrite .Values.workload.main.podSpec.containers.main (include "meshcentral.probes" . | fromYaml) -}} + +{{/* Render the templates */}} +{{ include "tc.v1.common.loader.apply" . }} diff --git a/stable/meshcentral/11.0.3/values.yaml b/stable/meshcentral/11.0.3/values.yaml new file mode 100644 index 00000000000..e69de29bb2d