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
11 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: emulatorjs name: emulatorjs
version: 7.0.1 version: 7.0.2
appVersion: 1.7.3 appVersion: 1.7.3
description: Emulatorjs - In browser web based emulation portable to nearly any device for many retro consoles. description: Emulatorjs - In browser web based emulation portable to nearly any device for many retro consoles.
home: https://truecharts.org/charts/stable/emulatorjs home: https://truecharts.org/charts/stable/emulatorjs
+2 -1
View File
@@ -30,7 +30,8 @@ service:
port: 10138 port: 10138
ingress: ingress:
front: front:
autoLink: true targetSelector:
front: front
workload: workload:
main: main:
podSpec: podSpec:
+1 -1
View File
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: gitea name: gitea
version: 15.0.1 version: 15.0.2
appVersion: 1.21.2-rootless appVersion: 1.21.2-rootless
description: Self hosted GIT repositories description: Self hosted GIT repositories
home: https://truecharts.org/charts/stable/gitea home: https://truecharts.org/charts/stable/gitea
@@ -1,3 +1,8 @@
ingress: ingress:
main: main:
enabled: true enabled: true
hosts:
- host: gitea.example.com
paths:
- path: /
pathType: Prefix
+1 -1
View File
@@ -2,7 +2,7 @@
{{- define "gitea.secrets" -}} {{- define "gitea.secrets" -}}
{{ $DOMAIN := .Values.config.nodeIP | quote -}} {{ $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" $) -}} {{- $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) -}} {{- if and (.Values.ingress.main.enabled) (gt (len .Values.ingress.main.hosts) 0) -}}
+1 -1
View File
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: minio name: minio
version: 8.0.1 version: 8.0.2
appVersion: 2023.12.14 appVersion: 2023.12.14
description: Minio is a self-hosted S3 storage server description: Minio is a self-hosted S3 storage server
home: https://truecharts.org/charts/stable/minio home: https://truecharts.org/charts/stable/minio
+2 -1
View File
@@ -17,7 +17,8 @@ service:
port: 10106 port: 10106
ingress: ingress:
api: api:
autoLink: true targetSelector:
api: api
persistence: persistence:
config: config:
enabled: true enabled: true
+1 -1
View File
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: mosquitto name: mosquitto
version: 12.0.1 version: 12.0.2
appVersion: 2.0.18 appVersion: 2.0.18
description: Eclipse Mosquitto - An open source MQTT broker description: Eclipse Mosquitto - An open source MQTT broker
home: https://truecharts.org/charts/stable/mosquitto home: https://truecharts.org/charts/stable/mosquitto
+2 -1
View File
@@ -35,7 +35,8 @@ workload:
port: 1883 port: 1883
ingress: ingress:
websockets: websockets:
autoLink: true targetSelector:
websockets: websockets
auth: auth:
# -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config. # -- By enabling this, `allow_anonymous` gets set to `false` in the mosquitto config.
enabled: false enabled: false
+2 -2
View File
@@ -1,8 +1,8 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: wg-easy name: wg-easy
version: 6.0.1 version: 6.0.2
appVersion: latest appVersion: "8"
description: The easiest way to run WireGuard VPN + Web-based Admin UI. description: The easiest way to run WireGuard VPN + Web-based Admin UI.
home: https://truecharts.org/charts/stable/wg-easy home: https://truecharts.org/charts/stable/wg-easy
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wg-easy.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/wg-easy.png
+2 -2
View File
@@ -1,7 +1,7 @@
image: image:
repository: docker.io/weejewel/wg-easy repository: ghcr.io/wg-easy/wg-easy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: latest@sha256:ea65f283dfeb62628ce942ce38974f9db05177aa27ab69b787115b78591552f3 tag: 8@sha256:f185fec28bf4a811e62d5791b7f05351113d3fe3c5ed9582e368e978625e6685
securityContext: securityContext:
container: container:
PUID: 0 PUID: 0