fix(apps): link non-primary ingress - add port to non-ingress gitea's url (#16336)

**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.
-->
⚒️ Fixes  #11205
⚒️ Fixes  #9635
⚒️ Fixes  #8080
⚒️ Fixes  #6609

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 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:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 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
- [x] ⬆️ 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._

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois 2023-12-21 10:57:01 +02:00 committed by GitHub
parent 159ecc8c99
commit b684d2d5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 20 additions and 12 deletions

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: emulatorjs
version: 7.0.1
version: 7.0.2
appVersion: 1.7.3
description: Emulatorjs - In browser web based emulation portable to nearly any device for many retro consoles.
home: https://truecharts.org/charts/stable/emulatorjs

View File

@ -30,7 +30,8 @@ service:
port: 10138
ingress:
front:
autoLink: true
targetSelector:
front: front
workload:
main:
podSpec:

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: gitea
version: 15.0.1
version: 15.0.2
appVersion: 1.21.2-rootless
description: Self hosted GIT repositories
home: https://truecharts.org/charts/stable/gitea

View File

@ -1,3 +1,8 @@
ingress:
main:
enabled: true
hosts:
- host: gitea.example.com
paths:
- path: /
pathType: Prefix

View File

@ -2,7 +2,7 @@
{{- define "gitea.secrets" -}}
{{ $DOMAIN := .Values.config.nodeIP | quote -}}
{{ $URL := (printf "http://%s/" .Values.config.nodeIP) }}
{{ $URL := (printf "http://%s:%v/" .Values.config.nodeIP .Values.service.main.ports.main.port) }}
{{- $pgHost := printf "%v-cnpg-main-rw" (include "tc.v1.common.lib.chart.names.fullname" $) -}}
{{- if and (.Values.ingress.main.enabled) (gt (len .Values.ingress.main.hosts) 0) -}}

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: minio
version: 8.0.1
version: 8.0.2
appVersion: 2023.12.14
description: Minio is a self-hosted S3 storage server
home: https://truecharts.org/charts/stable/minio

View File

@ -17,7 +17,8 @@ service:
port: 10106
ingress:
api:
autoLink: true
targetSelector:
api: api
persistence:
config:
enabled: true

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: mosquitto
version: 12.0.1
version: 12.0.2
appVersion: 2.0.18
description: Eclipse Mosquitto - An open source MQTT broker
home: https://truecharts.org/charts/stable/mosquitto

View File

@ -35,7 +35,8 @@ workload:
port: 1883
ingress:
websockets:
autoLink: true
targetSelector:
websockets: websockets
auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false

View File

@ -1,8 +1,8 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: wg-easy
version: 6.0.1
appVersion: latest
version: 6.0.2
appVersion: "8"
description: The easiest way to run WireGuard VPN + Web-based Admin UI.
home: https://truecharts.org/charts/stable/wg-easy
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wg-easy.png

View File

@ -1,7 +1,7 @@
image:
repository: docker.io/weejewel/wg-easy
repository: ghcr.io/wg-easy/wg-easy
pullPolicy: IfNotPresent
tag: latest@sha256:ea65f283dfeb62628ce942ce38974f9db05177aa27ab69b787115b78591552f3
tag: 8@sha256:f185fec28bf4a811e62d5791b7f05351113d3fe3c5ed9582e368e978625e6685
securityContext:
container:
PUID: 0