diff --git a/incubator/meshcentral/5.0.0/CHANGELOG.md b/incubator/meshcentral/5.0.0/CHANGELOG.md new file mode 100644 index 00000000000..1fef750cded --- /dev/null +++ b/incubator/meshcentral/5.0.0/CHANGELOG.md @@ -0,0 +1,99 @@ +# Changelog + + + +## [meshcentral-5.0.0](https://github.com/truecharts/charts/compare/meshcentral-4.0.16...meshcentral-5.0.0) (2022-10-24) + +### Chore + +- Auto-update chart README [skip ci] + + ### Feat + +- BREAKING CHANGE - Rework to add support for (almost) all configuration options ([#4137](https://github.com/truecharts/charts/issues/4137)) + + + + +## [meshcentral-4.0.16](https://github.com/truecharts/charts/compare/meshcentral-4.0.15...meshcentral-4.0.16) (2022-10-19) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4122](https://github.com/truecharts/charts/issues/4122)) + + + + +## [meshcentral-4.0.15](https://github.com/truecharts/charts/compare/meshcentral-4.0.14...meshcentral-4.0.15) (2022-10-12) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#4071](https://github.com/truecharts/charts/issues/4071)) + + + + +## [meshcentral-4.0.14](https://github.com/truecharts/charts/compare/meshcentral-4.0.13...meshcentral-4.0.14) (2022-10-07) + +### Chore + +- Auto-update chart README [skip ci] + - Auto-update chart README [skip ci] + - update helm general non-major + + + + +## [meshcentral-4.0.14](https://github.com/truecharts/charts/compare/meshcentral-4.0.13...meshcentral-4.0.14) (2022-10-07) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major + + + + +## [meshcentral-4.0.13](https://github.com/truecharts/charts/compare/meshcentral-4.0.12...meshcentral-4.0.13) (2022-10-05) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major + + + + +## [meshcentral-4.0.12](https://github.com/truecharts/charts/compare/meshcentral-4.0.11...meshcentral-4.0.12) (2022-10-04) + +### Chore + +- split addons in smaller templates ([#3979](https://github.com/truecharts/charts/issues/3979)) + - update docker general non-major ([#4001](https://github.com/truecharts/charts/issues/4001)) + + + + +## [meshcentral-4.0.10](https://github.com/truecharts/charts/compare/meshcentral-4.0.9...meshcentral-4.0.10) (2022-09-27) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#3918](https://github.com/truecharts/charts/issues/3918)) + + + + +## [meshcentral-4.0.9](https://github.com/truecharts/charts/compare/meshcentral-4.0.8...meshcentral-4.0.9) (2022-09-25) + +### Chore + +- Auto-update chart README [skip ci] + - update helm general non-major ([#3898](https://github.com/truecharts/charts/issues/3898)) + + + + +## [meshcentral-4.0.8](https://github.com/truecharts/charts/compare/meshcentral-4.0.7...meshcentral-4.0.8) (2022-09-22) diff --git a/incubator/meshcentral/5.0.0/Chart.lock b/incubator/meshcentral/5.0.0/Chart.lock new file mode 100644 index 00000000000..f74612b64c1 --- /dev/null +++ b/incubator/meshcentral/5.0.0/Chart.lock @@ -0,0 +1,9 @@ +dependencies: +- name: common + repository: https://library-charts.truecharts.org + version: 10.7.1 +- name: mongodb + repository: https://charts.truecharts.org/ + version: 2.0.35 +digest: sha256:2fb9d45a5b3560f858fd2e0bc2f158130976195cc054b4318ca214a719310bfb +generated: "2022-10-24T21:57:13.728503665Z" diff --git a/incubator/meshcentral/5.0.0/Chart.yaml b/incubator/meshcentral/5.0.0/Chart.yaml new file mode 100644 index 00000000000..eff5119a0bc --- /dev/null +++ b/incubator/meshcentral/5.0.0/Chart.yaml @@ -0,0 +1,34 @@ +apiVersion: v2 +kubeVersion: ">=1.16.0-0" +name: meshcentral +version: 5.0.0 +appVersion: "1.0.85" +description: MeshCentral is a full computer management web site +type: application +deprecated: false +home: https://truecharts.org/docs/charts/incubator/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/incubator/meshcentral + - https://github.com/Ylianst/MeshCentral +dependencies: + - name: common + repository: https://library-charts.truecharts.org + version: 10.7.1 + - condition: mongodb.enabled + name: mongodb + repository: https://charts.truecharts.org/ + version: 2.0.35 +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/incubator/meshcentral/5.0.0/README.md b/incubator/meshcentral/5.0.0/README.md new file mode 100644 index 00000000000..d5cdc1685e8 --- /dev/null +++ b/incubator/meshcentral/5.0.0/README.md @@ -0,0 +1,107 @@ +# meshcentral + +MeshCentral is a full computer management web site + +TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. + +This readme is just an automatically generated general guide on installing our Helm Charts and Apps. +For more information, please click here: [meshcentral](https://truecharts.org/docs/charts/incubator/meshcentral) + +**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)** + +## Source Code + +* +* + +## Requirements + +Kubernetes: `>=1.16.0-0` + +## Dependencies + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.truecharts.org/ | mongodb | 2.0.35 | +| https://library-charts.truecharts.org | common | 10.7.1 | + +## Installing the Chart + +### TrueNAS SCALE + +To install this Chart on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Installing-an-App). + +### Helm + +To install the chart with the release name `meshcentral` + +```console +helm repo add TrueCharts https://charts.truecharts.org +helm repo update +helm install meshcentral TrueCharts/meshcentral +``` + +## Uninstall + +### TrueNAS SCALE + +**Upgrading, Rolling Back and Uninstalling the Chart** + +To upgrade, rollback or delete this Chart from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/docs/manual/SCALE%20Apps/Upgrade-rollback-delete-an-App). + +### Helm + +To uninstall the `meshcentral` deployment + +```console +helm uninstall meshcentral +``` + +## Configuration + +### Helm + +#### Available Settings + +Read through the values.yaml file. It has several commented out suggested values. +Other values may be used from the [values.yaml](https://github.com/truecharts/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/truecharts/library-charts/tree/main/charts/common). + +#### Configure using the command line + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. + +```console +helm install meshcentral \ + --set env.TZ="America/New York" \ + TrueCharts/meshcentral +``` + +#### Configure using a yaml file + +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. + +```console +helm install meshcentral TrueCharts/meshcentral -f values.yaml +``` + +#### Connecting to other charts + +If you need to connect this Chart to other Charts on TrueNAS SCALE, please refer to our [Linking Charts Internally](https://truecharts.org/docs/manual/SCALE%20Apps/linking-apps) quick-start guide. + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/docs/manual/SCALE%20Apps/Important-MUST-READ). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/apps/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/incubator/meshcentral/5.0.0/app-readme.md b/incubator/meshcentral/5.0.0/app-readme.md new file mode 100644 index 00000000000..f2bb671e551 --- /dev/null +++ b/incubator/meshcentral/5.0.0/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/docs/charts/incubator/meshcentral](https://truecharts.org/docs/charts/incubator/meshcentral) + +--- + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can! diff --git a/incubator/meshcentral/5.0.0/charts/common-10.7.1.tgz b/incubator/meshcentral/5.0.0/charts/common-10.7.1.tgz new file mode 100644 index 00000000000..468f3ef2f3a Binary files /dev/null and b/incubator/meshcentral/5.0.0/charts/common-10.7.1.tgz differ diff --git a/incubator/meshcentral/5.0.0/charts/mongodb-2.0.35.tgz b/incubator/meshcentral/5.0.0/charts/mongodb-2.0.35.tgz new file mode 100644 index 00000000000..1f4d1306ef9 Binary files /dev/null and b/incubator/meshcentral/5.0.0/charts/mongodb-2.0.35.tgz differ diff --git a/incubator/meshcentral/5.0.0/ix_values.yaml b/incubator/meshcentral/5.0.0/ix_values.yaml new file mode 100644 index 00000000000..851d722197d --- /dev/null +++ b/incubator/meshcentral/5.0.0/ix_values.yaml @@ -0,0 +1,1008 @@ +image: + repository: ghcr.io/ylianst/meshcentral + pullPolicy: IfNotPresent + tag: 1.0.85@sha256:ec11f676414c8ab3f7ec7e84d98af54be45a0a74187e97063e09bbf930223ba5 + +command: + - node + - meshcentral/meshcentral + - --configfile + - /opt/meshcentral/meshcentral-config/config.json + - --cert + - "{{ .Values.meshcentral.settings.cert }}" + +securityContext: + readOnlyRootFilesystem: false + runAsNonRoot: false + +podSecurityContext: + 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 22, 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 + # - When enabled the server is in maintenance mode, only administrators can login. Use the maintenance command in server console to change. + maintenanceMode: 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 + _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: null + # - 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: null + # - 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: null + # - 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: null + # - 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: null + apihash: null + session: null + # - 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: TrueCharts MeshCentral + # - Secondary title text that is placed on the upper right on the title on many web pages. + title2: TrueCharts MeshCentral + # - 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: false + # - When enabled, activates the built-in web-based VNC client. + _novnc: true + # - When enabled, activates the built-in web-based RDP client. + _mstsc: false + # - When enabled, activates the built-in web-based SSH client. + _ssh: false + # - 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: [] + # - 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: [] + +probes: + liveness: + type: HTTPS + path: /health.ashx + readiness: + type: HTTPS + path: /health.ashx + startup: + type: HTTPS + path: /health.ashx + +service: + main: + ports: + main: + protocol: HTTPS + 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 + existingSecret: mongodbcreds + +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: '{{ include "tc.common.names.fullname" . }}-secret' + mountPath: /opt/meshcentral/meshcentral-config + items: + - key: config.json + path: config.json + +portal: + enabled: true diff --git a/incubator/meshcentral/5.0.0/questions.yaml b/incubator/meshcentral/5.0.0/questions.yaml new file mode 100644 index 00000000000..3616ea6d065 --- /dev/null +++ b/incubator/meshcentral/5.0.0/questions.yaml @@ -0,0 +1,3436 @@ +groups: + - name: Container Image + description: Image to be used for container + - name: Controller + description: Configure Workload Deployment + - name: Container Configuration + description: Additional Container Configuration + - 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: Documentation + description: Documentation +portals: + open: + protocols: + - "$kubernetes-resource_configmap_portal_protocol" + host: + - "$kubernetes-resource_configmap_portal_host" + ports: + - "$kubernetes-resource_configmap_portal_port" +questions: + - variable: global + label: Global Settings + group: Controller + schema: + type: dict + hidden: true + attrs: + - variable: isSCALE + label: Flag this is SCALE + schema: + type: boolean + default: true + hidden: true + - variable: controller + group: Controller + label: "" + schema: + additional_attrs: true + type: dict + attrs: + - variable: advanced + label: Show Advanced Controller Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: type + description: Please specify type of workload to deploy + label: (Advanced) Controller Type + schema: + type: string + required: true + enum: + - value: deployment + description: Deployment + - value: statefulset + description: Statefulset + - value: daemonset + description: Daemonset + default: deployment + - variable: replicas + description: Number of desired pod replicas + label: Desired Replicas + schema: + type: int + required: true + default: 1 + - variable: strategy + description: Please specify type of workload to deploy + label: (Advanced) Update Strategy + schema: + type: string + required: true + enum: + - value: Recreate + description: "Recreate: Kill existing pods before creating new ones" + - value: RollingUpdate + description: "RollingUpdate: Create new pods and then kill old ones" + - value: OnDelete + description: "(Legacy) OnDelete: ignore .spec.template changes" + default: Recreate + - variable: expert + label: Show Expert Configuration Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Controller Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Controller Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: customextraargs + group: Controller + label: "Extra Args" + description: "Do not click this unless you know what you are doing" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: extraArgs + label: Extra Args + schema: + type: list + default: [] + items: + - variable: arg + label: Arg + schema: + type: string + - variable: meshcentral + group: Container 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 127.0.0.1,traefik.ix-traefik.svc.cluster.local + schema: + type: string + required: true + default: "" + - 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 127.0.0.1,traefik.ix-traefik.svc.cluster.local + schema: + type: string + required: true + 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: 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: 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 + default: -99 + - variable: browserPong + label: browserPong + description: When specified, sends data to the browser at x seconds interval. + schema: + type: int + 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 + default: -99 + - variable: agentPong + label: agentPong + description: When specified, sends data to the agent at x seconds interval. + schema: + type: int + 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 + default: -99 + - variable: plugins + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: enabled + schema: + type: boolean + default: false + - 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 + 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: domains + label: Section + schema: + additional_attrs: true + type: dict + attrs: + - variable: '""' + 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: TrueCharts 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 MeshCentral + - 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: 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: 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: TZ + label: Timezone + group: Container Configuration + schema: + type: string + default: "Etc/UTC" + $ref: + - "definitions/timezone" + - 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..." + group: Container Configuration + 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: expertpodconf + group: Container Configuration + label: Show Expert Configuration + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: tty + label: Enable TTY + description: Determines whether containers in a pod runs with TTY enabled. By default pod has it disabled. + group: Workload Details + schema: + type: boolean + default: false + - variable: stdin + label: Enable STDIN + description: Determines whether containers in a pod runs with stdin enabled. By default pod has it disabled. + group: Workload Details + schema: + type: boolean + default: false + - variable: termination + group: Container Configuration + label: Termination settings + schema: + additional_attrs: true + type: dict + attrs: + - variable: gracePeriodSeconds + label: Grace Period Seconds + schema: + type: int + default: 10 + - variable: podLabelsList + group: Container Configuration + label: Pod Labels + schema: + type: list + default: [] + items: + - variable: podLabelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: podAnnotationsList + group: Container Configuration + label: Pod Annotations + schema: + type: list + default: [] + items: + - variable: podAnnotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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) + - 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: The IP Families that should be used + schema: + type: list + default: [] + items: + - variable: ipFamily + label: IP Family + schema: + type: string + - 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: advanced + label: Show Advanced Settings + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: enabled + label: Enable the Port + schema: + type: boolean + hidden: true + default: true + - variable: protocol + label: Port Type + schema: + type: string + default: HTTPS + enum: + - value: HTTP + description: HTTP + - value: HTTPS + description: HTTPS + - value: TCP + description: TCP + - value: UDP + description: UDP + - variable: nodePort + label: Node Port (Optional) + description: This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer + schema: + type: int + min: 9000 + max: 65535 + - variable: targetPort + label: Target Port + description: The internal(!) port on the container the Application runs on + schema: + type: int + default: 10205 + - variable: serviceexpert + group: Networking and Services + label: Show Expert Config + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + group: Networking and Services + label: Host-Networking (Complicated) + schema: + type: boolean + default: false + - variable: externalInterfaces + description: Add External Interfaces + label: Add external Interfaces + group: Networking + schema: + type: list + items: + - variable: interfaceConfiguration + description: Interface Configuration + label: Interface Configuration + schema: + 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: + 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 + show_subquestions_if: static + subquestions: + - variable: staticIPConfigurations + label: Static IP Addresses + schema: + type: list + items: + - variable: staticIP + label: Static IP + schema: + type: ipaddr + cidr: true + - variable: staticRoutes + label: Static Routes + schema: + type: list + 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: dnsPolicy + group: Networking and Services + label: dnsPolicy + schema: + type: string + default: "" + enum: + - value: "" + description: Default + - value: ClusterFirst + description: ClusterFirst + - value: ClusterFirstWithHostNet + description: ClusterFirstWithHostNet + - value: None + description: None + - variable: dnsConfig + label: DNS Configuration + group: Networking and Services + description: Specify custom DNS configuration which will be applied to the pod + schema: + additional_attrs: true + type: dict + attrs: + - variable: nameservers + label: Name Servers + schema: + default: [] + type: list + items: + - variable: nameserver + label: Name Server + schema: + type: string + - variable: options + label: Options + schema: + default: [] + type: list + items: + - variable: option + label: Option Entry + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: searches + label: Searches + schema: + default: [] + type: list + items: + - variable: search + label: Search Entry + schema: + type: string + - 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: simplePVC + enum: + - value: simplePVC + description: PVC (simple) + - value: simpleHP + description: Host Path (simple) + - value: emptyDir + description: emptyDir + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - 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: setPermissionsSimple + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "simpleHP"]] + type: boolean + default: false + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPathSimple + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "simpleHP"]] + type: hostpath + - 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 + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: hostPathType + label: (Advanced) hostPath Type + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: DirectoryOrCreate + description: DirectoryOrCreate + - value: Directory + description: Directory + - value: FileOrCreate + description: FileOrCreate + - value: File + description: File + - value: Socket + description: Socket + - value: CharDevice + description: CharDevice + - value: BlockDevice + description: BlockDevice + - variable: storageClass + label: (Advanced) storageClass + description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: SCALE-ZFS + - variable: accessMode + label: (Advanced) Access Mode + description: Allow or disallow multiple PVC's writhing to the same PV + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: ReadWriteOnce + enum: + - value: ReadWriteOnce + description: ReadWriteOnce + - value: ReadOnlyMany + description: ReadOnlyMany + - value: ReadWriteMany + description: ReadWriteMany + - variable: advanced + label: Show Advanced Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: simplePVC + enum: + - value: simplePVC + description: PVC (simple) + - value: simpleHP + description: Host Path (simple) + - value: emptyDir + description: emptyDir + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - 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: setPermissionsSimple + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "simpleHP"]] + type: boolean + default: false + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPathSimple + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "simpleHP"]] + type: hostpath + - 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 + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: hostPathType + label: (Advanced) hostPath Type + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: DirectoryOrCreate + description: DirectoryOrCreate + - value: Directory + description: Directory + - value: FileOrCreate + description: FileOrCreate + - value: File + description: File + - value: Socket + description: Socket + - value: CharDevice + description: CharDevice + - value: BlockDevice + description: BlockDevice + - variable: storageClass + label: (Advanced) storageClass + description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: SCALE-ZFS + - variable: accessMode + label: (Advanced) Access Mode + description: Allow or disallow multiple PVC's writhing to the same PV + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: ReadWriteOnce + enum: + - value: ReadWriteOnce + description: ReadWriteOnce + - value: ReadOnlyMany + description: ReadOnlyMany + - value: ReadWriteMany + description: ReadWriteMany + - variable: advanced + label: Show Advanced Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: simplePVC + enum: + - value: simplePVC + description: PVC (simple) + - value: simpleHP + description: Host Path (simple) + - value: emptyDir + description: emptyDir + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - 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: setPermissionsSimple + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "simpleHP"]] + type: boolean + default: false + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPathSimple + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "simpleHP"]] + type: hostpath + - 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 + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: hostPathType + label: (Advanced) hostPath Type + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: DirectoryOrCreate + description: DirectoryOrCreate + - value: Directory + description: Directory + - value: FileOrCreate + description: FileOrCreate + - value: File + description: File + - value: Socket + description: Socket + - value: CharDevice + description: CharDevice + - value: BlockDevice + description: BlockDevice + - variable: storageClass + label: (Advanced) storageClass + description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: SCALE-ZFS + - variable: accessMode + label: (Advanced) Access Mode + description: Allow or disallow multiple PVC's writhing to the same PV + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: ReadWriteOnce + enum: + - value: ReadWriteOnce + description: ReadWriteOnce + - value: ReadOnlyMany + description: ReadOnlyMany + - value: ReadWriteMany + description: ReadWriteMany + - variable: advanced + label: Show Advanced Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: simplePVC + enum: + - value: simplePVC + description: PVC (simple) + - value: simpleHP + description: Host Path (simple) + - value: emptyDir + description: emptyDir + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - 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: setPermissionsSimple + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "simpleHP"]] + type: boolean + default: false + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPathSimple + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "simpleHP"]] + type: hostpath + - 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 + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: 256Gi + - variable: hostPathType + label: (Advanced) hostPath Type + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: DirectoryOrCreate + description: DirectoryOrCreate + - value: Directory + description: Directory + - value: FileOrCreate + description: FileOrCreate + - value: File + description: File + - value: Socket + description: Socket + - value: CharDevice + description: CharDevice + - value: BlockDevice + description: BlockDevice + - variable: storageClass + label: (Advanced) storageClass + description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: SCALE-ZFS + - variable: accessMode + label: (Advanced) Access Mode + description: Allow or disallow multiple PVC's writhing to the same PV + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: ReadWriteOnce + enum: + - value: ReadWriteOnce + description: ReadWriteOnce + - value: ReadOnlyMany + description: ReadOnlyMany + - value: ReadWriteMany + description: ReadWriteMany + - variable: advanced + label: Show Advanced Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: name + label: Name (Optional) + description: "Not required, please set to config when mounting /config or temp when mounting /tmp" + schema: + type: string + - variable: type + label: Type of Storage + description: Sets the persistence type, Anything other than PVC could break rollback! + schema: + type: string + default: simpleHP + enum: + - value: simplePVC + description: PVC (Simple) + - value: simpleHP + description: Host Path (Simple) + - value: emptyDir + description: emptyDir + - value: pvc + description: PVC + - value: hostPath + description: Host Path + - 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: setPermissionsSimple + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "simpleHP"]] + type: boolean + default: false + - variable: setPermissions + label: Automatic Permissions + description: Automatically set permissions on install + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: false + - variable: readOnly + label: Read Only + schema: + type: boolean + default: false + - variable: hostPathSimple + label: Host Path + description: Path inside the container the storage is mounted + schema: + show_if: [["type", "=", "simpleHP"]] + type: hostpath + - 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: hostPathType + label: (Advanced) Host Path Type + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: Default + - value: DirectoryOrCreate + description: DirectoryOrCreate + - value: Directory + description: Directory + - value: FileOrCreate + description: FileOrCreate + - value: File + description: File + - value: Socket + description: Socket + - value: CharDevice + description: CharDevice + - value: BlockDevice + description: BlockDevice + - variable: storageClass + label: (Advanced) StorageClass + description: "Warning: Anything other than SCALE-ZFS or empty will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: SCALE-ZFS + - variable: accessMode + label: (Advanced) Access Mode + description: Allow or disallow multiple PVC's writhing to the same PV + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: ReadWriteOnce + enum: + - value: ReadWriteOnce + description: ReadWriteOnce + - value: ReadOnlyMany + description: ReadOnlyMany + - value: ReadWriteMany + description: ReadWriteMany + - variable: advanced + label: Show Advanced Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: tls + label: TLS-Settings + schema: + type: list + 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: scaleCert + label: Select TrueNAS SCALE Certificate + schema: + type: int + $ref: + - "definitions/certificate" + - variable: entrypoint + label: (Advanced) 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: expert + label: Show Expert Configuration Options + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: enableFixedMiddlewares + description: These middlewares enforce a number of best practices. + label: Enable Default Middlewares + schema: + type: boolean + default: true + - variable: ingressClassName + label: IngressClass Name + schema: + type: string + default: "" + - variable: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: labelsList + label: Labels + schema: + type: list + default: [] + items: + - variable: labelItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: annotationsList + label: Annotations + schema: + type: list + default: [] + items: + - variable: annotationItem + label: Label + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - 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: tls + label: TLS-Settings + schema: + type: list + 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: scaleCert + label: Select TrueNAS SCALE Certificate + schema: + type: int + $ref: + - "definitions/certificate" + - 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: security + label: Container Security Settings + group: Security and Permissions + schema: + type: dict + additional_attrs: true + attrs: + - variable: editsecurity + label: Change PUID / UMASK values + description: By enabling this you override default set values. + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - 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 + 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: "002" + - variable: advancedSecurity + label: Show Advanced Security Settings + group: Security and Permissions + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: securityContext + label: Security Context + schema: + additional_attrs: true + type: dict + attrs: + - variable: privileged + label: Privileged mode + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: ReadOnly Root Filesystem + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: Allow Privilege Escalation + schema: + type: boolean + default: false + - variable: runAsNonRoot + label: runAsNonRoot + schema: + type: boolean + default: false + - variable: capabilities + label: Capabilities + schema: + additional_attrs: true + type: dict + attrs: + - variable: drop + label: Drop Capability + schema: + type: list + default: [] + items: + - variable: dropEntry + label: "" + schema: + type: string + - variable: add + label: Add Capability + schema: + type: list + default: [] + items: + - variable: addEntry + label: "" + schema: + type: string + - variable: podSecurityContext + group: Security and Permissions + label: Pod Security Context + schema: + additional_attrs: true + type: dict + attrs: + - 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 + - variable: fsGroup + label: fsGroup + description: The group that should own ALL storage. + schema: + type: int + default: 568 + - 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 + + - variable: advancedresources + label: Set Custom Resource Limits/Requests (Advanced) + group: Resources and Devices + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: resources + label: "" + 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/docs/manual/SCALE%20Apps/indepth/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/docs/manual/SCALE%20Apps/indepth/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 + attrs: + - variable: cpu + label: CPU + description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/docs/manual/SCALE%20Apps/indepth/validation" + schema: + type: string + default: 10m + 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/docs/manual/SCALE%20Apps/indepth/validation" + schema: + type: string + default: 50Mi + 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: hostPath + 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" + # Specify GPU configuration + - variable: scaleGPU + label: GPU Configuration + group: Resources and Devices + schema: + type: dict + $ref: + - "definitions/gpuConfiguration" + attrs: [] + - 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: git + label: Git Settings + schema: + additional_attrs: true + type: dict + attrs: + - variable: deployKey + description: Raw SSH Private Key + label: Deploy Key + schema: + type: string + - variable: deployKeyBase64 + description: Base64-encoded SSH private key. When both variables are set, the raw SSH key takes precedence + label: Deploy Key Base64 + schema: + type: string + - 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: 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: 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: nodePort + description: Leave Empty to Disable + label: nodePort DEPRECATED + 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: promtail + label: Promtail + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: Enabled + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: loki + label: Loki URL + schema: + type: string + required: true + - variable: logs + label: Log Paths + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + required: true + - variable: path + label: Path + schema: + type: string + required: true + - variable: args + label: Promtail Command Line Arguments + schema: + type: list + show_if: [["type", "!=", "disabled"]] + default: [] + items: + - variable: arg + label: Arg + schema: + type: string + required: true + - variable: envList + label: Promtail 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: openvpn + description: OpenVPN + - value: wireguard + description: Wireguard + - value: tailscale + description: Tailscale + - variable: openvpn + label: OpenVPN Settings + schema: + 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 + default: "" + required: true + - variable: tailscale + label: Tailscale Settings + schema: + 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: 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: Sock5 Server + 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: dict + show_if: [["type", "!=", "disabled"]] + attrs: + - variable: enabled + label: Enabled + schema: + type: boolean + default: true + hidden: true + - variable: type + label: Type + schema: + type: string + default: hostPath + hidden: true + - variable: hostPathType + label: hostPathType + schema: + type: string + default: File + hidden: true + - variable: noMount + label: noMount + schema: + type: boolean + default: true + hidden: true + - variable: hostPath + label: Full Path to File + description: "Path to your local VPN config file for example: /mnt/tank/vpn.conf or /mnt/tank/vpn.ovpn" + schema: + type: string + 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 + - 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/incubator/meshcentral/5.0.0/templates/_secret.tpl b/incubator/meshcentral/5.0.0/templates/_secret.tpl new file mode 100644 index 00000000000..31094ccfd9f --- /dev/null +++ b/incubator/meshcentral/5.0.0/templates/_secret.tpl @@ -0,0 +1,117 @@ +{{/* Define the secret */}} +{{- define "meshcentral.secret" -}} + +{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }} +{{- $config := .Values.meshcentral }} + +{{- $isScale := false }} +{{- if hasKey .Values.global "isScale" }} + {{- $isScale = .Values.global.isScale }} +{{- else }} + {{- $isScale = false }} +{{- end }} + +{{- $sessionKey := "" }} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }} + {{- $sessionKey = (index .data "session_key") }} +{{- else }} + {{- $sessionKey = randAlphaNum 32 }} +{{- end }} + +{{/* Inject some values */}} +{{- $_ := set $config "$schema" "http://info.meshcentral.com/downloads/meshcentral-config-schema.json" }} +{{- $_ := set $config "__comment__" "This file is generated dynamically at install time, do not attempt to modify it. On next start it will be re-generated" }} + +{{- if not (hasKey $config "settings") }} + {{- $_ := set $config "settings" dict }} +{{- end }} + +{{- $_ := set $config.settings "mongoDB" (.Values.mongodb.url.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 "prune.keys.scale" $config) }} +{{- else }} + {{- $config = (include "prune.keys" $config) }} +{{- end }} +--- + +apiVersion: v1 +kind: Secret +type: Opaque +metadata: + name: {{ $secretName }} + labels: + {{- include "tc.common.labels" . | nindent 4 }} +data: + {{/* Store session_key to reuse */}} + session_key: {{ $sessionKey | b64enc }} + {{/* The actual config */}} + config.json: | + {{- toPrettyJson (fromYaml $config) | b64enc | nindent 4 }} +{{- 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 _ */}} + +{{- define "prune.keys.scale" }} + {{- $values := . }} + {{- range $k, $v := $values }} + {{- if eq (kindOf $v) "string" }} + {{- if not $v }} + {{- $_ := unset $values $k }} + {{- 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 }} diff --git a/incubator/meshcentral/5.0.0/templates/common.yaml b/incubator/meshcentral/5.0.0/templates/common.yaml new file mode 100644 index 00000000000..70e8b2dd97d --- /dev/null +++ b/incubator/meshcentral/5.0.0/templates/common.yaml @@ -0,0 +1,8 @@ +{{/* Make sure all variables are set properly */}} +{{- include "tc.common.loader.init" . }} + +{{/* Render secret */}} +{{- include "meshcentral.secret" . }} + +{{/* Render the templates */}} +{{ include "tc.common.loader.apply" . }} diff --git a/incubator/meshcentral/5.0.0/values.yaml b/incubator/meshcentral/5.0.0/values.yaml new file mode 100644 index 00000000000..e69de29bb2d