feat(stable): BREAKING CHANGE migrate to new common part 6 (#8664)

**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-05-01 11:16:44 +02:00
committed by GitHub
parent 8398d3adf8
commit 5b1583fcb4
39 changed files with 708 additions and 563 deletions
+3 -7
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
appVersion: "1.8.0" appVersion: "1.8.0"
version: 12.0.22 version: 13.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: firefox-syncserver name: firefox-syncserver
description: This is an all-in-one package for running a self-hosted Firefox Sync server. description: This is an all-in-one package for running a self-hosted Firefox Sync server.
@@ -18,11 +18,8 @@ sources:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
- condition: postgresql.enabled
name: postgresql
repository: https://deps.truecharts.org/
version: 11.0.31
maintainers: maintainers:
- email: info@truecharts.org - email: info@truecharts.org
name: TrueCharts name: TrueCharts
@@ -31,4 +28,3 @@ annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
@@ -10,12 +10,10 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv - variable: env
group: "App Configuration" group: "App Configuration"
label: "Image Secrets" label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -26,13 +24,6 @@ questions:
schema: schema:
type: string type: string
default: "changeme" default: "changeme"
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: FF_SYNCSERVER_PUBLIC_URL - variable: FF_SYNCSERVER_PUBLIC_URL
label: "FF_SYNCSERVER_PUBLIC_URL" label: "FF_SYNCSERVER_PUBLIC_URL"
description: "Sets the FF_SYNCSERVER_PUBLIC_URL env var" description: "Sets the FF_SYNCSERVER_PUBLIC_URL env var"
@@ -69,7 +60,11 @@ questions:
schema: schema:
type: string type: string
default: "*" default: "*"
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -128,7 +123,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}
+24 -12
View File
@@ -4,19 +4,27 @@ image:
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: v1.8.0@sha256:13d5d1beae0e7ea4298224abbc415de837200b8402d676e856601a63dc8432ed tag: v1.8.0@sha256:13d5d1beae0e7ea4298224abbc415de837200b8402d676e856601a63dc8432ed
secretEnv:
FF_SYNCSERVER_SECRET: "changeme"
securityContext: securityContext:
container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
allowPrivilegeEscalation: true allowPrivilegeEscalation: true
runAsNonRoot: false runAsNonRoot: false
podSecurityContext:
runAsUser: 0 runAsUser: 0
runAsGroup: 0 runAsGroup: 0
env: workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
FF_SYNCSERVER_PUBLIC_URL: "firefox-syncserver.192.168.1.189.nip.io" FF_SYNCSERVER_PUBLIC_URL: "firefox-syncserver.192.168.1.189.nip.io"
FF_SYNCSERVER_FORCE_WSGI_ENVIRON: true FF_SYNCSERVER_FORCE_WSGI_ENVIRON: true
FF_SYNCSERVER_ACCESSLOG: false FF_SYNCSERVER_ACCESSLOG: false
@@ -25,8 +33,9 @@ env:
FF_SYNCSERVER_FORWARDED_ALLOW_IPS: "*" FF_SYNCSERVER_FORWARDED_ALLOW_IPS: "*"
FF_SYNCSERVER_SQLURI: FF_SYNCSERVER_SQLURI:
secretKeyRef: secretKeyRef:
name: dbcreds name: cnpg-main-urls
key: url key: std
FF_SYNCSERVER_SECRET: "changeme"
service: service:
main: main:
@@ -34,16 +43,19 @@ service:
main: main:
port: 10051 port: 10051
targetPort: 5000 targetPort: 5000
persistence: persistence:
config: config:
enabled: true enabled: true
mountPath: "/config" mountPath: "/config"
# Enabled postgres # Enabled postgres
postgresql: cnpg:
main:
enabled: true enabled: true
existingSecret: "dbcreds" user: firefox-syncserver
postgresqlUsername: firefox-syncserver database: firefox-syncserver
postgresqlDatabase: firefox-syncserver
portal: portal:
open:
enabled: true enabled: true
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "1.0.0"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
description: A self-hosted vehicle expense tracking system with support for multiple users. description: A self-hosted vehicle expense tracking system with support for multiple users.
home: https://truecharts.org/charts/stable/hammond home: https://truecharts.org/charts/stable/hammond
icon: https://truecharts.org/img/hotlink-ok/chart-icons/hammond.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/hammond.png
@@ -18,9 +18,8 @@ name: hammond
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/hammond - https://github.com/truecharts/charts/tree/master/charts/stable/hammond
- https://github.com/akhilrex/hammond - https://github.com/akhilrex/hammond
version: 4.0.9 version: 5.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- productivity - productivity
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+2 -2
View File
@@ -12,8 +12,8 @@ questions:
# Include{containerMain} # Include{containerMain}
# Include{containerBasic} # Include{containerBasic}
# Include{containerAdvanced} # Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -80,7 +80,7 @@ questions:
default: 568 default: 568
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 568 default: 568
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+3 -8
View File
@@ -1,14 +1,9 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "hammond.secrets" -}} {{- define "hammond.secrets" -}}
--- {{- $secretName := printf "%s-secrets" (include "tc.v1.common.lib.chart.names.fullname" .) }}
{{- $hammondprevious := lookup "v1" "Secret" .Release.Namespace $secretName }}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: hammond-secrets
{{- $hammondprevious := lookup "v1" "Secret" .Release.Namespace "hammond-secrets" }}
{{- $jwt_secret := "" }} {{- $jwt_secret := "" }}
enabled: true
data: data:
{{- if $hammondprevious}} {{- if $hammondprevious}}
JWT_SECRET: {{ index $hammondprevious.data "JWT_SECRET" }} JWT_SECRET: {{ index $hammondprevious.data "JWT_SECRET" }}
+6 -3
View File
@@ -1,8 +1,11 @@
{{/* Make sure all variables are set properly */}} {{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }} {{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for hammond */}} {{/* Render secrets for hammond */}}
{{- include "hammond.secrets" . }} {{- $secrets := include "hammond.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}} {{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }} {{ include "tc.v1.common.loader.apply" . }}
+19 -9
View File
@@ -2,20 +2,12 @@ image:
repository: tccr.io/truecharts/hammond repository: tccr.io/truecharts/hammond
tag: 1.0.0@sha256:c8df8ddfb95c7b836f5022052ec9ea2c515803d6b3787b7725828a47e5f70b14 tag: 1.0.0@sha256:c8df8ddfb95c7b836f5022052ec9ea2c515803d6b3787b7725828a47e5f70b14
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env:
JWT_SECRET:
secretKeyRef:
name: hammond-secrets
key: JWT_SECRET
service: service:
main: main:
ports: ports:
main: main:
port: 10186 port: 10186
targetPort: 3000 targetPort: 3000
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -23,6 +15,24 @@ persistence:
assets: assets:
enabled: true enabled: true
mountPath: "/assets" mountPath: "/assets"
portal: portal:
open:
enabled: true enabled: true
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
JWT_SECRET:
secretKeyRef:
name: secrets
key: JWT_SECRET
+2 -3
View File
@@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
name: lancache-monolithic name: lancache-monolithic
version: 3.0.11 version: 4.0.0
appVersion: "latest" appVersion: "latest"
description: A monolithic lancache service capable of caching all CDNs in a single instance. description: A monolithic lancache service capable of caching all CDNs in a single instance.
type: application type: application
@@ -17,7 +17,7 @@ sources:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
maintainers: maintainers:
- email: info@truecharts.org - email: info@truecharts.org
name: TrueCharts name: TrueCharts
@@ -26,4 +26,3 @@ annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- gaming - gaming
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
@@ -8,8 +8,7 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env - variable: env
group: "App Configuration" group: "App Configuration"
@@ -60,7 +59,10 @@ questions:
schema: schema:
type: string type: string
default: "500m" default: "500m"
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -149,7 +151,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}
+29 -22
View File
@@ -2,31 +2,13 @@ image:
repository: tccr.io/truecharts/lancache-monolithic repository: tccr.io/truecharts/lancache-monolithic
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: latest@sha256:2a4bc774b45400ef97bf6e4c13262f6c96f78821b3857f86a0c8ccef47c1290d tag: latest@sha256:2a4bc774b45400ef97bf6e4c13262f6c96f78821b3857f86a0c8ccef47c1290d
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
CACHE_DOMAINS_REPO: "https://github.com/uklans/cache-domains.git"
CACHE_DOMAINS_BRANCH: "master"
UPSTREAM_DNS: "1.1.1.1 1.0.0.1"
CACHE_DISK_SIZE: "1000000m"
CACHE_MAX_AGE: "3560d"
CACHE_INDEX_SIZE: "500m"
NOFETCH: false
service: service:
main: main:
ports: ports:
main: main:
port: 10279 port: 10279
targetPort: 80 targetPort: 80
protocol: HTTP protocol: http
https: https:
enabled: true enabled: true
ports: ports:
@@ -34,8 +16,7 @@ service:
enabled: true enabled: true
port: 10280 port: 10280
targetPort: 443 targetPort: 443
protocol: HTTPS protocol: https
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -43,6 +24,32 @@ persistence:
logs: logs:
enabled: true enabled: true
mountPath: "/data/logs" mountPath: "/data/logs"
portal: portal:
open:
enabled: false enabled: false
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:
CACHE_DOMAINS_REPO: "https://github.com/uklans/cache-domains.git"
CACHE_DOMAINS_BRANCH: "master"
UPSTREAM_DNS: "1.1.1.1 1.0.0.1"
CACHE_DISK_SIZE: "1000000m"
CACHE_MAX_AGE: "3560d"
CACHE_INDEX_SIZE: "500m"
NOFETCH: false
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "23.02.5"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
description: MakeMKV is your one-click solution to convert video that you own into free and patents-unencumbered format that can be played everywhere. description: MakeMKV is your one-click solution to convert video that you own into free and patents-unencumbered format that can be played everywhere.
home: https://truecharts.org/charts/stable/makemkv home: https://truecharts.org/charts/stable/makemkv
icon: https://truecharts.org/img/hotlink-ok/chart-icons/makemkv.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/makemkv.png
@@ -18,9 +18,8 @@ name: makemkv
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/makemkv - https://github.com/truecharts/charts/tree/master/charts/stable/makemkv
- https://github.com/jlesage/docker-makemkv - https://github.com/jlesage/docker-makemkv
version: 4.0.15 version: 5.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+8 -5
View File
@@ -10,12 +10,11 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv
- variable: env
group: "App Configuration" group: "App Configuration"
label: "Image Secrets" label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -27,6 +26,8 @@ questions:
type: string type: string
private: true private: true
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: makemkv - variable: makemkv
group: "App Configuration" group: "App Configuration"
label: "MakeMKV Configuration" label: "MakeMKV Configuration"
@@ -129,7 +130,9 @@ questions:
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -226,7 +229,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
@@ -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" . }}
+29 -20
View File
@@ -2,22 +2,6 @@ image:
repository: tccr.io/truecharts/makemkv repository: tccr.io/truecharts/makemkv
tag: 23.02.5@sha256:b6d3eab777a35cd117919ede4a74e33cd3586e57760c98aaec349875eb4ae863 tag: 23.02.5@sha256:b6d3eab777a35cd117919ede4a74e33cd3586e57760c98aaec349875eb4ae863
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
secretEnv:
VNC_PASSWORD: ""
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-makemkv'
makemkv: makemkv:
# General Settings # General Settings
KEEP_APP_RUNNING: false KEEP_APP_RUNNING: false
@@ -37,7 +21,6 @@ makemkv:
AUTO_DISC_RIPPER_PARALLEL_RIP: false AUTO_DISC_RIPPER_PARALLEL_RIP: false
AUTO_DISC_RIPPER_NO_GUI_PROGRESS: false AUTO_DISC_RIPPER_NO_GUI_PROGRESS: false
AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR: false AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR: false
service: service:
main: main:
ports: ports:
@@ -51,7 +34,6 @@ service:
enabled: true enabled: true
port: 10181 port: 10181
targetPort: 5900 targetPort: 5900
configmap: configmap:
makemkv: makemkv:
enabled: true enabled: true
@@ -71,7 +53,6 @@ configmap:
AUTO_DISC_RIPPER_PARALLEL_RIP: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_PARALLEL_RIP }}' AUTO_DISC_RIPPER_PARALLEL_RIP: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_PARALLEL_RIP }}'
AUTO_DISC_RIPPER_NO_GUI_PROGRESS: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_NO_GUI_PROGRESS }}' AUTO_DISC_RIPPER_NO_GUI_PROGRESS: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_NO_GUI_PROGRESS }}'
AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR }}' AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR: '{{ ternary "1" "0" .Values.makemkv.AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR }}'
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -82,6 +63,34 @@ persistence:
output: output:
enabled: true enabled: true
mountPath: "/output" mountPath: "/output"
portal: portal:
open:
enabled: true enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
- KILL
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
VNC_PASSWORD: ""
envFrom:
- configMapRef:
name: "makemkv"
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "23.02.2"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
deprecated: false deprecated: false
description: MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files. description: MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files.
home: https://truecharts.org/charts/stable/mediainfo home: https://truecharts.org/charts/stable/mediainfo
@@ -21,9 +21,8 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/mediainfo - https://github.com/truecharts/charts/tree/master/charts/stable/mediainfo
- https://github.com/jlesage/docker-mediainfo - https://github.com/jlesage/docker-mediainfo
type: application type: application
version: 3.0.14 version: 4.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+8 -5
View File
@@ -11,12 +11,11 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv
- variable: env
group: "App Configuration" group: "App Configuration"
label: "Image Secrets" label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -28,6 +27,8 @@ questions:
type: string type: string
private: true private: true
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: mediainfo - variable: mediainfo
group: "App Configuration" group: "App Configuration"
label: "Media Info Configuration" label: "Media Info Configuration"
@@ -75,7 +76,9 @@ questions:
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -164,7 +167,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}
+29 -20
View File
@@ -2,15 +2,6 @@ image:
repository: tccr.io/truecharts/mediainfo repository: tccr.io/truecharts/mediainfo
tag: 23.02.2@sha256:f2b4e4d9d3c908dbc7a2e6235e77ac0bba22ba00c3be06c340442eaada8b3a30 tag: 23.02.2@sha256:f2b4e4d9d3c908dbc7a2e6235e77ac0bba22ba00c3be06c340442eaada8b3a30
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service: service:
main: main:
ports: ports:
@@ -24,21 +15,12 @@ service:
enabled: true enabled: true
port: 10265 port: 10265
targetPort: 5900 targetPort: 5900
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-mediainfo'
secretEnv:
VNC_PASSWORD: ""
mediainfo: mediainfo:
KEEP_APP_RUNNING: false KEEP_APP_RUNNING: false
DISPLAY_WIDTH: 1280 DISPLAY_WIDTH: 1280
DISPLAY_HEIGHT: 768 DISPLAY_HEIGHT: 768
SECURE_CONNECTION: false SECURE_CONNECTION: false
ENABLE_CJK_FONT: false ENABLE_CJK_FONT: false
configmap: configmap:
mediainfo: mediainfo:
enabled: true enabled: true
@@ -48,7 +30,6 @@ configmap:
SECURE_CONNECTION: '{{ ternary "1" "0" .Values.mediainfo.SECURE_CONNECTION }}' SECURE_CONNECTION: '{{ ternary "1" "0" .Values.mediainfo.SECURE_CONNECTION }}'
DISPLAY_WIDTH: "{{ .Values.mediainfo.DISPLAY_WIDTH }}" DISPLAY_WIDTH: "{{ .Values.mediainfo.DISPLAY_WIDTH }}"
DISPLAY_HEIGHT: "{{ .Values.mediainfo.DISPLAY_HEIGHT }}" DISPLAY_HEIGHT: "{{ .Values.mediainfo.DISPLAY_HEIGHT }}"
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -56,6 +37,34 @@ persistence:
storage: storage:
enabled: true enabled: true
mountPath: "/storage" mountPath: "/storage"
portal: portal:
open:
enabled: true enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
- KILL
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
VNC_PASSWORD: ""
envFrom:
- configMapRef:
name: "mediainfo"
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "23.02.5"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
deprecated: false deprecated: false
description: MKVToolNix is a set of tools to create, alter and inspect Matroska files. description: MKVToolNix is a set of tools to create, alter and inspect Matroska files.
home: https://truecharts.org/charts/stable/mkvtoolnix home: https://truecharts.org/charts/stable/mkvtoolnix
@@ -23,9 +23,8 @@ sources:
- https://github.com/jlesage/docker-mkvtoolnix - https://github.com/jlesage/docker-mkvtoolnix
- https://mkvtoolnix.download/ - https://mkvtoolnix.download/
type: application type: application
version: 4.0.16 version: 5.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+7 -5
View File
@@ -11,12 +11,11 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv
- variable: env
group: "App Configuration" group: "App Configuration"
label: "Image Secrets" label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -28,6 +27,8 @@ questions:
type: string type: string
private: true private: true
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: mkvtoolnix - variable: mkvtoolnix
group: "App Configuration" group: "App Configuration"
label: "MKVToolNix Configuration" label: "MKVToolNix Configuration"
@@ -82,6 +83,7 @@ questions:
type: boolean type: boolean
default: false default: false
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -170,7 +172,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1 +1 @@
{{ include "tc.common.loader.all" . }} {{ include "tc.v1.common.loader.all" . }}
+29 -20
View File
@@ -2,15 +2,6 @@ image:
repository: tccr.io/truecharts/mkvtoolnix repository: tccr.io/truecharts/mkvtoolnix
tag: 23.02.5@sha256:2b0919d180998713a6c1f1cc2cea53d60b58e3d21d824c5bf2bb3325432ebe4e tag: 23.02.5@sha256:2b0919d180998713a6c1f1cc2cea53d60b58e3d21d824c5bf2bb3325432ebe4e
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service: service:
main: main:
ports: ports:
@@ -24,14 +15,6 @@ service:
enabled: true enabled: true
port: 10237 port: 10237
targetPort: 5900 targetPort: 5900
envFrom:
- configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-mkvtoolnix'
secretEnv:
VNC_PASSWORD: ""
mkvtoolnix: mkvtoolnix:
# General Settings # General Settings
KEEP_APP_RUNNING: false KEEP_APP_RUNNING: false
@@ -42,7 +25,6 @@ mkvtoolnix:
# App Settings # App Settings
SECURE_CONNECTION: false SECURE_CONNECTION: false
ENABLE_CJK_FONT: false ENABLE_CJK_FONT: false
configmap: configmap:
mkvtoolnix: mkvtoolnix:
enabled: true enabled: true
@@ -53,7 +35,6 @@ configmap:
DISPLAY_WIDTH: "{{ .Values.mkvtoolnix.DISPLAY_WIDTH }}" DISPLAY_WIDTH: "{{ .Values.mkvtoolnix.DISPLAY_WIDTH }}"
DISPLAY_HEIGHT: "{{ .Values.mkvtoolnix.DISPLAY_HEIGHT }}" DISPLAY_HEIGHT: "{{ .Values.mkvtoolnix.DISPLAY_HEIGHT }}"
DARK_MODE: '{{ ternary "1" "0" .Values.mkvtoolnix.DARK_MODE }}' DARK_MODE: '{{ ternary "1" "0" .Values.mkvtoolnix.DARK_MODE }}'
persistence: persistence:
config: config:
enabled: true enabled: true
@@ -61,6 +42,34 @@ persistence:
storage: storage:
enabled: true enabled: true
mountPath: "/storage" mountPath: "/storage"
portal: portal:
open:
enabled: true enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
- KILL
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
VNC_PASSWORD: ""
envFrom:
- configMapRef:
name: "mkvtoolnix"
+4 -8
View File
@@ -3,15 +3,12 @@ appVersion: "0.105.3"
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.truecharts.org repository: https://library-charts.truecharts.org
version: 11.1.2 version: 12.6.1
- condition: postgresql.enabled
name: postgresql
repository: https://deps.truecharts.org/
version: 11.0.31
- condition: redis.enabled - condition: redis.enabled
name: redis name: redis
repository: https://deps.truecharts.org repository: https://deps.truecharts.org
version: 5.0.33 version: 6.0.21
description: Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadsheet. description: Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadsheet.
home: https://truecharts.org/charts/stable/nocodb home: https://truecharts.org/charts/stable/nocodb
icon: https://truecharts.org/img/hotlink-ok/chart-icons/nocodb.png icon: https://truecharts.org/img/hotlink-ok/chart-icons/nocodb.png
@@ -26,9 +23,8 @@ name: nocodb
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/nocodb - https://github.com/truecharts/charts/tree/master/charts/stable/nocodb
- https://github.com/nocodb/nocodb - https://github.com/nocodb/nocodb
version: 6.0.34 version: 7.0.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- productivity - productivity
truecharts.org/SCALE-support: "true" truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+106
View File
@@ -0,0 +1,106 @@
Business Source License 1.1
Parameters
Licensor: The TrueCharts Project, it's owner and it's contributors
Licensed Work: The TrueCharts "Blocky" Helm Chart
Additional Use Grant: You may use the licensed work in production, as long
as it is directly sourced from a TrueCharts provided
official repository, catalog or source. You may also make private
modification to the directly sourced licenced work,
when used in production.
The following cases are, due to their nature, also
defined as 'production use' and explicitly prohibited:
- Bundling, including or displaying the licensed work
with(in) another work intended for production use,
with the apparent intend of facilitating and/or
promoting production use by third parties in
violation of this license.
Change Date: 2050-01-01
Change License: 3-clause BSD license
For information about alternative licensing arrangements for the Software,
please contact: legal@truecharts.org
Notice
The Business Source License (this document, or the “License”) is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
“Business Source License” is a trademark of MariaDB Corporation Ab.
-----------------------------------------------------------------------------
Business Source License 1.1
Terms
The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.
Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.
If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.
All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.
You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.
Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.
This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.
MariaDB hereby grants you permission to use this Licenses text to license
your works, and to refer to it using the trademark “Business Source License”,
as long as you comply with the Covenants of Licensor below.
Covenants of Licensor
In consideration of the right to use this Licenses text and the “Business
Source License” name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:
1. To specify as the Change License the GPL Version 2.0 or any later version,
or a license that is compatible with GPL Version 2.0 or a later version,
where “compatible” means that software provided under the Change License can
be included in a program with software provided under GPL Version 2.0 or a
later version. Licensor may specify additional Change Licenses without
limitation.
2. To either: (a) specify an additional grant of rights to use that does not
impose any additional restriction on the right granted in this License, as
the Additional Use Grant; or (b) insert the text “None”.
3. To specify a Change Date.
4. Not to modify this License in any other way.
+6 -13
View File
@@ -11,12 +11,9 @@ questions:
# Include{replicas1} # Include{replicas1}
# Include{podSpec} # Include{podSpec}
# Include{containerMain} # Include{containerMain}
# Include{containerBasic} - variable: env
# Include{containerAdvanced}
- variable: secretEnv
group: "App Configuration" group: "App Configuration"
label: "Image Secrets" label: "Image Environment"
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -59,13 +56,6 @@ questions:
schema: schema:
type: string type: string
default: "" default: ""
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: NC_PUBLIC_URL - variable: NC_PUBLIC_URL
label: "Public URL" label: "Public URL"
description: "Used for sending Email invitations." description: "Used for sending Email invitations."
@@ -126,7 +116,10 @@ questions:
schema: schema:
type: string type: string
default: "" default: ""
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig} # Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: "Main Service"
@@ -185,7 +178,7 @@ questions:
default: 0 default: 0
- variable: runAsGroup - variable: runAsGroup
label: "runAsGroup" label: "runAsGroup"
description: "The groupID this App of the user running the application" description: "The groupID of the user running the application"
schema: schema:
type: int type: int
default: 0 default: 0
+1
View File
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
+8 -10
View File
@@ -1,14 +1,12 @@
{{/* Define the configmap */}}
{{- define "nocodb.configmap" -}} {{- define "nocodb.configmap" -}}
{{- $pgPass := .Values.postgresql.postgresqlPassword | trimAll "\"" }} {{- $pgPass := .Values.cnpg.main.creds.password | trimAll "\"" }}
{{- $pgUser := .Values.postgresql.postgresqlUsername }} {{- $pgUser := .Values.cnpg.main.user }}
{{- $pgDB := .Values.postgresql.postgresqlDatabase }} {{- $pgDB := .Values.cnpg.main.database }}
--- {{- $pgHost := printf "%v-cnpg-main-rw" (include "tc.v1.common.lib.chart.names.fullname" $) }}
apiVersion: v1 enabled: true
kind: ConfigMap
metadata:
name: nocodb-configmap
data: data:
NC_DB: "{{ printf "pg://%v-postgresql:5432?u=%v&p=%v&d=%v" .Release.Name $pgUser $pgPass $pgDB }}" NC_DB: "{{ printf "pg://%v:5432?u=%v&p=%v&d=%v" $pgHost $pgUser $pgPass $pgDB }}"
NC_MIN: "{{ ternary "true" "" .Values.env.DISABLE_SPLASH_SCREEN }}" NC_MIN: "{{ ternary "true" "" .Values.workload.main.podSpec.containers.main.env.DISABLE_SPLASH_SCREEN }}"
{{- end -}} {{- end -}}
+3 -9
View File
@@ -1,20 +1,14 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "nocodb.secrets" -}} {{- define "nocodb.secrets" -}}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: nocodb-secrets
{{- $nocodbprevious := lookup "v1" "Secret" .Release.Namespace "nocodb-secrets" }} {{- $nocodbprevious := lookup "v1" "Secret" .Release.Namespace "nocodb-secrets" }}
{{- $auth_jwt_token := "" }} {{- $auth_jwt_token := "" }}
enabled: true
data: data:
{{- if $nocodbprevious}} {{- if $nocodbprevious}}
NC_AUTH_JWT_SECRET: {{ index $nocodbprevious.data "NC_AUTH_JWT_SECRET" }} NC_AUTH_JWT_SECRET: {{ index $nocodbprevious.data "NC_AUTH_JWT_SECRET" | b64dec }}
{{- else }} {{- else }}
{{- $auth_jwt_token := randAlphaNum 32 }} {{- $auth_jwt_token := randAlphaNum 32 }}
NC_AUTH_JWT_SECRET: {{ $auth_jwt_token | b64enc }} NC_AUTH_JWT_SECRET: {{ $auth_jwt_token }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
+11 -5
View File
@@ -1,11 +1,17 @@
{{/* Make sure all variables are set properly */}} {{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }} {{- include "tc.v1.common.loader.init" . }}
{{/* Render configmap for nocodb */}} {{/* Render configmap for nocodb */}}
{{- include "nocodb.configmap" . }} {{- $configmap := include "nocodb.configmap" . | fromYaml -}}
{{- if $configmap -}}
{{- $_ := set .Values.configmap "configmap" $configmap -}}
{{- end -}}
{{/* Render secrets for nocodb */}} {{/* Render secret for nocodb */}}
{{- include "nocodb.secrets" . }} {{- $secret := include "nocodb.secrets" . | fromYaml -}}
{{- if $secret -}}
{{- $_ := set .Values.secret "secrets" $secret -}}
{{- end -}}
{{/* Render the templates */}} {{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }} {{ include "tc.v1.common.loader.apply" . }}
+46 -51
View File
@@ -2,25 +2,49 @@ image:
repository: tccr.io/truecharts/nocodb repository: tccr.io/truecharts/nocodb
tag: 0.105.3@sha256:cb70326f19d1d89688f61e70c383553cfaac62e24904f881268a5036609a694d tag: 0.105.3@sha256:cb70326f19d1d89688f61e70c383553cfaac62e24904f881268a5036609a694d
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10226
persistence:
data:
enabled: true
mountPath: "/usr/app/data"
cnpg:
main:
enabled: true
user: nocodb
database: nocodb
redis:
enabled: true
portal:
open:
enabled: true
securityContext: securityContext:
container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: false runAsNonRoot: false
podSecurityContext:
runAsUser: 0 runAsUser: 0
runAsGroup: 0 runAsGroup: 0
workload:
secretEnv: main:
AWS_ACCESS_KEY_ID: "" podSpec:
AWS_SECRET_ACCESS_KEY: "" containers:
AWS_BUCKET: "" main:
AWS_BUCKET_PATH: "" probes:
NC_GOOGLE_CLIENT_ID: "" liveness:
NC_GOOGLE_CLIENT_SECRET: "" path: "/dashboard"
readiness:
env: path: "/dashboard"
NC_MIN: "" startup:
path: "/dashboard"
envFrom:
- configMapRef:
name: configmap
env:
PORT: "{{ .Values.service.main.ports.main.port }}" PORT: "{{ .Values.service.main.ports.main.port }}"
# User Defined # User Defined
NC_PUBLIC_URL: "http://localhost:10226" NC_PUBLIC_URL: "http://localhost:10226"
@@ -35,45 +59,16 @@ env:
NC_SENTRY_DSN: "" NC_SENTRY_DSN: ""
NC_REDIS_URL: NC_REDIS_URL:
secretKeyRef: secretKeyRef:
name: rediscreds expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: url key: url
NC_AUTH_JWT_SECRET: NC_AUTH_JWT_SECRET:
secretKeyRef: secretKeyRef:
name: nocodb-secrets name: secrets
key: NC_AUTH_JWT_SECRET key: NC_AUTH_JWT_SECRET
AWS_ACCESS_KEY_ID: ""
envFrom: AWS_SECRET_ACCESS_KEY: ""
- configMapRef: AWS_BUCKET: ""
name: nocodb-configmap AWS_BUCKET_PATH: ""
NC_GOOGLE_CLIENT_ID: ""
probes: NC_GOOGLE_CLIENT_SECRET: ""
liveness:
path: "/dashboard"
readiness:
path: "/dashboard"
startup:
path: "/dashboard"
service:
main:
ports:
main:
port: 10226
persistence:
data:
enabled: true
mountPath: "/usr/app/data"
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: nocodb
postgresqlDatabase: nocodb
redis:
enabled: true
existingSecret: "rediscreds"
portal:
enabled: true