Commit released Helm Chart and docs for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot
2022-01-14 08:39:44 +00:00
parent b4845312ae
commit 72b3b5b4d7
16 changed files with 1951 additions and 6 deletions
-1
View File
@@ -7,4 +7,3 @@
#### Feat
* Add Frigate ([#1639](https://github.com/truecharts/apps/issues/1639))
-1
View File
@@ -22,4 +22,3 @@ hide:
##### Scan Results
@@ -0,0 +1,10 @@
# Changelog<br>
<a name="guacamole-client-0.0.1"></a>
### guacamole-client-0.0.1 (2022-01-14)
#### Feat
* Add guacamole-client ([#1696](https://github.com/truecharts/apps/issues/1696))
@@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.
@@ -0,0 +1,96 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| api | object | `{}` | |
| cas | object | `{}` | |
| duo | object | `{}` | |
| env.GUACD_HOSTNAME | string | `"localhost"` | |
| env.GUACD_PORT | int | `4822` | |
| env.POSTGRES_DATABASE | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| env.POSTGRES_PORT | int | `5432` | |
| env.POSTGRES_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| envValueFrom.POSTGRES_HOSTNAME.secretKeyRef.key | string | `"plainhost"` | |
| envValueFrom.POSTGRES_HOSTNAME.secretKeyRef.name | string | `"dbcreds"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
| header.HEADER_ENABLED | bool | `false` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/guacamole-client"` | |
| image.tag | string | `"v1.4.0@sha256:43f7b0575173f509b5215a89170dfea80ea07f0b2bfed405882a4bc7ec9dfa52"` | |
| initContainers.1-creat-initdb-file.args[0] | string | `"echo \"Creating initdb.sql file...\"; /opt/guacamole/bin/initdb.sh --postgres > /initdbdata/initdb.sql; if [ -e /initdbdata/initdb.sql ]; then\n echo \"Init file created successfully!\";\n exit 0;\nelse\n echo \"Init file failed to create.\";\n exit 1;\nfi;\n"` | |
| initContainers.1-creat-initdb-file.command[0] | string | `"/bin/sh"` | |
| initContainers.1-creat-initdb-file.command[1] | string | `"-c"` | |
| initContainers.1-creat-initdb-file.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| initContainers.1-creat-initdb-file.volumeMounts[0].mountPath | string | `"/initdbdata"` | |
| initContainers.1-creat-initdb-file.volumeMounts[0].name | string | `"initdbdata"` | |
| initContainers.2-initdb.args[0] | string | `"echo \"Waiting for DB to be ready...\"; DBREADY=0; for i in {1..10}; do pg_isready -t 5 -h $POSTGRES_HOSTNAME -d $POSTGRES_DATABASE -U $POSTGRES_USER -p $POSTGRES_PORT;\n if [ $? -eq 0 ];\n then echo \"DB is ready!\";\n DBREADY=1;\n break;\n else echo \"DB not ready yet.\";\n fi;\n echo \"Waiting...\";\n sleep 5;\ndone; if [ $DBREADY -eq 1 ]; then echo \"Initializing DB's schema...\";\n psql -h $POSTGRES_HOSTNAME -d $POSTGRES_DATABASE -U $POSTGRES_USER -p $POSTGRES_PORT -a -w -f /initdbdata/initdb.sql;\n if [ $? -eq 0 ];\n then echo \"DB's schema initialized successfully!\";\n exit 0;\n else echo \"DB's schema failed to initialize.\";\n exit 1;\n fi;\nelse echo \"DB failed to start.\"; fi;\n"` | |
| initContainers.2-initdb.command[0] | string | `"/bin/sh"` | |
| initContainers.2-initdb.command[1] | string | `"-c"` | |
| initContainers.2-initdb.env[0].name | string | `"POSTGRES_DATABASE"` | |
| initContainers.2-initdb.env[0].value | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
| initContainers.2-initdb.env[1].name | string | `"POSTGRES_USER"` | |
| initContainers.2-initdb.env[1].value | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
| initContainers.2-initdb.env[2].name | string | `"POSTGRES_PORT"` | |
| initContainers.2-initdb.env[2].value | string | `"5432"` | |
| initContainers.2-initdb.env[3].name | string | `"POSTGRES_HOSTNAME"` | |
| initContainers.2-initdb.env[3].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
| initContainers.2-initdb.env[3].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| initContainers.2-initdb.env[4].name | string | `"PGPASSWORD"` | |
| initContainers.2-initdb.env[4].valueFrom.secretKeyRef.key | string | `"postgresql-password"` | |
| initContainers.2-initdb.env[4].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
| initContainers.2-initdb.image | string | `"{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"` | |
| initContainers.2-initdb.volumeMounts[0].mountPath | string | `"/initdbdata"` | |
| initContainers.2-initdb.volumeMounts[0].name | string | `"initdbdata"` | |
| initContainers.3-temp-hack.args[0] | string | `"echo \"Checing postgresql driver version...\"; if [ -e /opt/guacamole/postgresql/postgresql-42.2.24.jre7.jar ];\n then echo \"Version found is correct.\";\n exit 0;\n else echo \"Old version found. Will try to download a known-to-work version.\";\n echo \"Downloading (postgresql-42.2.24.jre7.jar)...\";\n curl -L \"https://jdbc.postgresql.org/download/postgresql-42.2.24.jre7.jar\" > \"/opt/guacamole/postgresql-hack/postgresql-42.2.24.jre7.jar\";\n if [ -e /opt/guacamole/postgresql-hack/postgresql-42.2.24.jre7.jar ];\n then echo \"Downloaded successfully!\";\n cp -r /opt/guacamole/postgresql/* /opt/guacamole/postgresql-hack/;\n if [ -e /opt/guacamole/postgresql-hack/postgresql-9.4-1201.jdbc41.jar ];\n then echo \"Removing old version... (postgresql-9.4-1201.jdbc41.jar)\";\n rm \"/opt/guacamole/postgresql-hack/postgresql-9.4-1201.jdbc41.jar\";\n if [ $? -eq 0 ];\n then echo \"Removed successfully!\";\n else \"Failed to remove.\";\n exit 1;\n fi;\n fi;\n else echo \"Failed to download.\";\n exit 1;\n fi;\nfi;\n"` | |
| initContainers.3-temp-hack.command[0] | string | `"/bin/sh"` | |
| initContainers.3-temp-hack.command[1] | string | `"-c"` | |
| initContainers.3-temp-hack.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| initContainers.3-temp-hack.securityContext.runAsGroup | int | `1001` | |
| initContainers.3-temp-hack.securityContext.runAsUser | int | `1001` | |
| initContainers.3-temp-hack.volumeMounts[0].mountPath | string | `"/opt/guacamole/postgresql-hack"` | |
| initContainers.3-temp-hack.volumeMounts[0].name | string | `"temphack"` | |
| initContainers.4-temp-hack.args[0] | string | `"echo \"Copying postgres driver into the final destination.\"; cp -r /opt/guacamole/postgresql-hack/* /opt/guacamole/postgresql/; if [ -e /opt/guacamole/postgresql/postgresql-42.2.24.jre7.jar ];\n then echo \"Driver copied successfully!\";\n else echo \"Failed to copy the driver\";\nfi;\n"` | |
| initContainers.4-temp-hack.command[0] | string | `"/bin/sh"` | |
| initContainers.4-temp-hack.command[1] | string | `"-c"` | |
| initContainers.4-temp-hack.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
| initContainers.4-temp-hack.securityContext.runAsGroup | int | `1001` | |
| initContainers.4-temp-hack.securityContext.runAsUser | int | `1001` | |
| initContainers.4-temp-hack.volumeMounts[0].mountPath | string | `"/opt/guacamole/postgresql-hack"` | |
| initContainers.4-temp-hack.volumeMounts[0].name | string | `"temphack"` | |
| initContainers.4-temp-hack.volumeMounts[1].mountPath | string | `"/opt/guacamole/postgresql"` | |
| initContainers.4-temp-hack.volumeMounts[1].name | string | `"temphackalso"` | |
| json | object | `{}` | |
| ldap | object | `{}` | |
| openid | object | `{}` | |
| persistence.initdbdata.enabled | bool | `true` | |
| persistence.initdbdata.mountPath | string | `"/initdbdata"` | |
| persistence.temphack.enabled | bool | `true` | |
| persistence.temphack.mountPath | string | `"/opt/guacamole/postgresql-hack"` | |
| persistence.temphackalso.enabled | bool | `true` | |
| persistence.temphackalso.mountPath | string | `"/opt/guacamole/postgresql"` | |
| podSecurityContext.runAsGroup | int | `1001` | |
| podSecurityContext.runAsUser | int | `1001` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `"dbcreds"` | |
| postgresql.postgresqlDatabase | string | `"guacamole"` | |
| postgresql.postgresqlUsername | string | `"guacamole"` | |
| probes.liveness.path | string | `"/guacamole"` | |
| probes.readiness.path | string | `"/guacamole"` | |
| probes.startup.path | string | `"/guacamole"` | |
| radius | object | `{}` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| service.main.ports.main.port | int | `10080` | |
| service.main.ports.main.targetPort | int | `8080` | |
| totp.TOTP_ENABLED | bool | `false` | |
All Rights Reserved - The TrueCharts Project
@@ -0,0 +1,40 @@
# Introduction
Apache Guacamole is a clientless remote desktop gateway.
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/apache/guacamole-client>
* <https://hub.docker.com/r/guacamole/guacamole>
* <http://guacamole.incubator.apache.org/doc/gug/introduction.html>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | postgresql | 6.0.49 |
| https://truecharts.org | common | 8.13.0 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project
File diff suppressed because one or more lines are too long