Chore(stable): BREAKING CHANGE migrate to new common part 2 (#7992)

**Description**
See: https://github.com/truecharts/charts/pull/7900

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 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
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 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.

- [x] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [x] 🖼️ 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-14 18:11:04 +02:00
committed by GitHub
parent ad3c093b8a
commit 278904bff0
299 changed files with 4603 additions and 4665 deletions
+3 -7
View File
@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "1.2.26"
description: Kanboard is a free and open source Kanban project management software.
name: kanboard
version: 11.0.24
version: 12.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- kanboard
@@ -15,11 +15,8 @@ sources:
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.4.9
maintainers:
- email: info@truecharts.org
name: TrueCharts
@@ -28,4 +25,3 @@ annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+27 -27
View File
@@ -10,28 +10,28 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: MAIL_CONFIGURATION
label: "MAIL_CONFIGURATION"
description: "Sets the MAIL_CONFIGURATION env var"
schema:
type: boolean
default: false
- variable: LOG_DRIVER
label: "LOG_DRIVER"
description: "Sets the LOG_DRIVER env var"
schema:
type: string
default: "stdout"
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: MAIL_CONFIGURATION
label: "MAIL_CONFIGURATION"
description: "Sets the MAIL_CONFIGURATION env var"
schema:
type: boolean
default: false
- variable: LOG_DRIVER
label: "LOG_DRIVER"
description: "Sets the LOG_DRIVER env var"
schema:
type: string
default: "stdout"
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@@ -97,16 +97,16 @@ questions:
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
- 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
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+1 -1
View File
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+33 -33
View File
@@ -2,38 +2,12 @@ image:
repository: tccr.io/truecharts/kanboard
tag: 1.2.26@sha256:d266d93b0e1047db83e3a324d9757eaa0b00efeee920fa12b82fbe0482344275
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
MAIL_CONFIGURATION: false
LOG_DRIVER: stdout
DB_DRIVER: "postgres"
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
DB_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
DB_PORT: "5432"
DB_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
DB_HOSTNAME:
secretKeyRef:
name: dbcreds
key: plainhost
service:
main:
ports:
main:
port: 10015
targetPort: 80
persistence:
data:
enabled: true
@@ -41,12 +15,38 @@ persistence:
ssl:
enabled: true
mountPath: "/etc/nginx/ssl"
cnpg:
main:
enabled: true
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: kanboard
postgresqlDatabase: kanboard
user: kanboard
database: kanboard
portal:
enabled: true
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
env:
MAIL_CONFIGURATION: false
LOG_DRIVER: stdout
DB_DRIVER: "postgres"
DB_NAME: "{{ .Values.cnpg.main.database }}"
DB_USERNAME: "{{ .Values.cnpg.main.user }}"
DB_PORT: "5432"
DB_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
DB_HOSTNAME:
secretKeyRef:
name: cnpg-main-urls
key: host