chore(ci): lint files (#15238)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->

Run-ed pre-commit on all files

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Stavros Kois
2023-11-22 10:24:05 +02:00
committed by GitHub
parent 807e52636f
commit f1ee39bac0
16 changed files with 157 additions and 160 deletions
+18 -19
View File
@@ -14,14 +14,14 @@ We also document which versions of TrueNAS will receive TrueCharts updates and f
### Supported Versions of TrueNAS SCALE ### Supported Versions of TrueNAS SCALE
| TrueNAS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes | | TrueNAS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | | ------------------ | -------- | ---------------------- | ------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| 22.12.4.1 or prior| `master` | :x: | :x: | :x: | Update to 23.10.X Supported Version [TrueNAS SCALE](https://www.truenas.com/docs/scale/23.10/) | | 22.12.4.1 or prior | `master` | :x: | :x: | :x: | Update to 23.10.X Supported Version [TrueNAS SCALE](https://www.truenas.com/docs/scale/23.10/) |
| 22.12.4.2 | `master` | :white_check_mark: | :white_check_mark: | :x: | Stable Release as of 2023-10-13 Recommended to update to 23.10.x [TrueNAS SCALE](https://www.truenas.com/docs/scale/23.10/) | | 22.12.4.2 | `master` | :white_check_mark: | :white_check_mark: | :x: | Stable Release as of 2023-10-13 Recommended to update to 23.10.x [TrueNAS SCALE](https://www.truenas.com/docs/scale/23.10/) |
| 23.10.0 | `master` | :white_check_mark: | :white_check_mark: | :white_check_mark: | Stable Release as of 2023-10-24 | | 23.10.0 | `master` | :white_check_mark: | :white_check_mark: | :white_check_mark: | Stable Release as of 2023-10-24 |
| 23.10.0.1 | `master` | :white_check_mark: | :white_check_mark: | :white_check_mark: | Stable Release as of 2023-10-31 | | 23.10.0.1 | `master` | :white_check_mark: | :white_check_mark: | :white_check_mark: | Stable Release as of 2023-10-31 |
| Nightly | `master` | :white_check_mark: | :x: | :white_check_mark: | Please only submit bug reports during codefreeze | | Nightly | `master` | :white_check_mark: | :x: | :white_check_mark: | Please only submit bug reports during codefreeze |
| 23.10.1 | `master` | :white_check_mark: | :x: | :x: | To Be Released | | 23.10.1 | `master` | :white_check_mark: | :x: | :x: | To Be Released |
## TrueCharts on Talos-OS ## TrueCharts on Talos-OS
@@ -29,23 +29,22 @@ Support for Talos-OS with either Rancher or FluxCD are in early alpha.
### Supported Versions of Talos-OS ### Supported Versions of Talos-OS
| Talos-OS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes | | Talos-OS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | | ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | ----- |
| 1.5 | `master` | :white_check_mark: | :x: | :x: | | | 1.5 | `master` | :white_check_mark: | :x: | :x: | |
| 1.6 | `master` | :white_check_mark: | :x: | :x: | | | 1.6 | `master` | :white_check_mark: | :x: | :x: | |
### Supported Versions of FluxCD ### Supported Versions of FluxCD
| FluxCD version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes | | FluxCD version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | | -------------- | -------- | ---------------------- | ------------------------- | --------------------- | ----- |
| 1.2.1 or prior | `master` | :white_check_mark: | :x: | :x: | | | 1.2.1 or prior | `master` | :white_check_mark: | :x: | :x: | |
### Rancher Versions of Rancher ### Rancher Versions of Rancher
| TrueNAS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes | | TrueNAS version | Branch | Supported with updates | Accepting Support tickets | Accepting Bug Reports | Notes |
| ---------------- | -------- | ---------------------- | ------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | | --------------- | -------- | ---------------------- | ------------------------- | --------------------- | ----- |
| v2.7.9 or prior | `master` | :white_check_mark: | :x: | :x: | | | v2.7.9 or prior | `master` | :white_check_mark: | :x: | :x: | |
:::warning Support Guidelines :::warning Support Guidelines
@@ -31,7 +31,7 @@ After creating the cluster certificate, verify it is working by checking the `Ap
After you have verified the certificate was created successfully, edit the settings of the app you wish to use it for and go to the _Ingress_ section. After you have verified the certificate was created successfully, edit the settings of the app you wish to use it for and go to the _Ingress_ section.
If you have previously used a single domain certificate from clusterissuer, remove the specified issuer name. Then, click on _Show Advanced Settings_ and add a _TLS_ entry. Enter the name of your cluster certificate, and the certificate host(s) which it will be used for. These are usually the same as your app host(s), unless you wish to use more than one certificate. Save the chart. If you have previously used a single domain certificate from clusterissuer, remove the specified issuer name. Then, click on _Show Advanced Settings_ and add a _TLS_ entry. Enter the name of your cluster certificate, and the certificate host(s) which it will be used for. These are usually the same as your app host(s), unless you wish to use more than one certificate. Save the chart.
:::note :::note
@@ -33,4 +33,3 @@
{{- include "tc.v1.common.spawner.certificate" . | nindent 0 -}} {{- include "tc.v1.common.spawner.certificate" . | nindent 0 -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@@ -8,8 +8,8 @@ Inspired by Kubernetes DNS, Kubernetes' cluster-internal DNS server, ExternalDNS
### Prerequisites (required for Support on TrueCharts Discord) ### Prerequisites (required for Support on TrueCharts Discord)
- Traefik - Traefik
- Clusterissuer / Cert-manager installed (vital if exposed externally) - Clusterissuer / Cert-manager installed (vital if exposed externally)
Please follow the [Getting Started](https://truecharts.org/manual/SCALE/guides/getting-started) guide on the [Truecharts](https://truecharts.org) website. Please follow the [Getting Started](https://truecharts.org/manual/SCALE/guides/getting-started) guide on the [Truecharts](https://truecharts.org) website.
@@ -29,7 +29,7 @@ Enter `CF_API_TOKEN` (preferred) or `CF_API_EMAIL`/`CF_API_KEY`
#### Step 2: #### Step 2:
Enter preferences for Logs and DNS updates (I suggest >5m to prevent log spam) and select `cloudflare` as provider and select sources. I find `ingress` and `service` covers everything. If you want to filter by multiple domains add your `Domain Filter Entry` Enter preferences for Logs and DNS updates (I suggest >5m to prevent log spam) and select `cloudflare` as provider and select sources. I find `ingress` and `service` covers everything. If you want to filter by multiple domains add your `Domain Filter Entry`
![Cloudflare App Config 1](img/Cloudflare-App-Config-1.png) ![Cloudflare App Config 1](img/Cloudflare-App-Config-1.png)
@@ -49,7 +49,7 @@ workload:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true
env: env:
ES_Serilog__MinimumLevel__Default: '{{ .Values.kubernetesReflector.logLevel }}' ES_Serilog__MinimumLevel__Default: "{{ .Values.kubernetesReflector.logLevel }}"
ES_Reflector__Watcher__Timeout: "" ES_Reflector__Watcher__Timeout: ""
ES_Reflector__Kubernetes__SkipTlsVerify: "false" ES_Reflector__Kubernetes__SkipTlsVerify: "false"
probes: probes:
-1
View File
@@ -3,7 +3,6 @@ image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v1.2.0@sha256:70a578170bca4a7a1040d44cb5ff143d5e9c2c2f32f9d48f1ad4519d61c35451 tag: v1.2.0@sha256:70a578170bca4a7a1040d44cb5ff143d5e9c2c2f32f9d48f1ad4519d61c35451
service: service:
main: main:
ports: ports:
-1
View File
@@ -26,7 +26,6 @@ workload:
BORG_UID: "{{ .Values.securityContext.container.PUID }}" BORG_UID: "{{ .Values.securityContext.container.PUID }}"
BORG_GID: "{{ .Values.securityContext.pod.fsGroup }}" BORG_GID: "{{ .Values.securityContext.pod.fsGroup }}"
persistence: persistence:
borg: borg:
enabled: true enabled: true
-1
View File
@@ -31,7 +31,6 @@ cs2:
- +game_mode 1 - +game_mode 1
- -usercon - -usercon
workload: workload:
main: main:
podSpec: podSpec:
+1 -1
View File
@@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
appVersion: ""2023.11.2" appVersion: "2023.11.2"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
+3 -1
View File
@@ -70,7 +70,9 @@ workload:
# - Touch `/tmp/healty` to use with the readiness, liveness and startup probes # - Touch `/tmp/healty` to use with the readiness, liveness and startup probes
# - Start socat in proxy mode # - Start socat in proxy mode
# - On exit remove `/tmp/healthy` # - On exit remove `/tmp/healthy`
args: ["-c", 'export TARGET_IP=$(getent hosts ''{{ printf "%v-autodiscovery" (include "tc.v1.common.lib.chart.names.fullname" $) }}'' | awk ''{ print $1 }'') && [[ ! -z $TARGET_IP ]] && touch /tmp/healthy && socat UDP-LISTEN:7359,fork,reuseaddr,rcvbuf=8096 UDP4-SENDTO:${TARGET_IP}:7359,rcvbuf=8096 ; rm -rf /tmp/healthy'] args:
- "-c"
- 'export TARGET_IP=$(getent hosts ''{{ printf "%v-autodiscovery" (include "tc.v1.common.lib.chart.names.fullname" $) }}'' | awk ''{ print $1 }'') && [[ ! -z $TARGET_IP ]] && touch /tmp/healthy && socat UDP-LISTEN:7359,fork,reuseaddr,rcvbuf=8096 UDP4-SENDTO:${TARGET_IP}:7359,rcvbuf=8096 ; rm -rf /tmp/healthy'
probes: probes:
readiness: readiness:
enabled: true enabled: true