feat(stable): BREAKING CHANGE migrate to new common part 3 (#8151)

**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  # <!--(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:
Kjeld Schouten-Lebbing
2023-04-29 08:44:01 +02:00
committed by GitHub
parent 030fcbb41e
commit 28f1a3e341
84 changed files with 1070 additions and 961 deletions
+3 -7
View File
@@ -3,11 +3,8 @@ appVersion: "2.0.9113"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
- condition: postgresql.enabled
name: postgresql
repository: https://deps.truecharts.org/
version: 11.0.31
version: 12.6.1
deprecated: false
description: Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator.
home: https://truecharts.org/charts/stable/tt-rss
@@ -25,9 +22,8 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/tt-rss
- https://git.tt-rss.org/fox/tt-rss
type: application
version: 10.0.23
version: 11.0.0
annotations:
truecharts.org/catagories: |
- rss
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
@@ -2,5 +2,5 @@
- Set `TTRSS Self URL Path` to **http://scale_ip:APP_PORT/** and then login using the default [credentials](./credentials.md).
- If you plan to use ingress and a domain you need to:
- Set `TTRSS Self URL Path` to **https://app.mydomain.tld/**
- Set `TTRSS Self URL Path` to **https://app.mydomain.tld/**
- Configure ingress on the app
+35 -33
View File
@@ -10,23 +10,25 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: TTRSS_SELF_URL_PATH
label: TTRSS Self URL Path
description: Sets the URL for the app.
schema:
type: string
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: App Configuration
label: Image Environment
schema:
additional_attrs: true
type: dict
attrs:
- variable: TTRSS_SELF_URL_PATH
label: TTRSS Self URL Path
description: Sets the URL for the app.
schema:
type: string
default: ""
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: Main Service
@@ -92,28 +94,28 @@ questions:
# Include{ingressTraefik}
# Include{ingressList}
# Include{podSecurityContextRoot}
- 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
# Include{securityContextRoot}
- 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 of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
+1
View File
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+1 -1
View File
@@ -1,2 +1,2 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.all" . }}
{{- include "tc.v1.common.loader.all" . }}
+38 -31
View File
@@ -2,36 +2,12 @@ image:
repository: tccr.io/truecharts/tt-rss
pullPolicy: IfNotPresent
tag: v2.0.9113@sha256:ef3e084ba91d3e9ed32af6b948e17c88e33223fa80ffe5c8bb4d5dac9aa0e9b9
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
TTRSS_SELF_URL_PATH: ""
TTRSS_DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
TTRSS_DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
TTRSS_DB_PORT: "5432"
TTRSS_DB_PASS:
secretKeyRef:
name: dbcreds
key: postgresql-password
TTRSS_DB_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
service:
main:
ports:
main:
port: 10104
targetPort: 8080
persistence:
config:
enabled: true
@@ -42,12 +18,43 @@ persistence:
themes:
enabled: true
mountPath: /app/themes.local
cnpg:
main:
enabled: true
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: tt-rss
postgresqlDatabase: tt-rss
user: tt-rss
database: tt-rss
portal:
enabled: true
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
TTRSS_SELF_URL_PATH: ""
TTRSS_DB_NAME: "{{ .Values.cnpg.main.database }}"
TTRSS_DB_USER: "{{ .Values.cnpg.main.user }}"
TTRSS_DB_PORT: "5432"
TTRSS_DB_PASS:
secretKeyRef:
name: cnpg-main-user
key: password
TTRSS_DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host