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
+2 -3
View File
@@ -3,7 +3,7 @@ appVersion: "23.02.5"
dependencies:
- name: common
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.
home: https://truecharts.org/charts/stable/makemkv
icon: https://truecharts.org/img/hotlink-ok/chart-icons/makemkv.png
@@ -18,9 +18,8 @@ name: makemkv
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/makemkv
- https://github.com/jlesage/docker-makemkv
version: 4.0.15
version: 5.0.0
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+24 -21
View File
@@ -10,23 +10,24 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: VNC_PASSWORD
label: "VNC_PASSWORD"
description: "Password needed to connect to the application's GUI. See the VNC Password section for more details."
schema:
type: string
private: true
default: ""
# Include{containerBasic}
# Include{containerAdvanced}
- variable: secretEnv
group: "App Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: VNC_PASSWORD
label: "VNC_PASSWORD"
description: "Password needed to connect to the application's GUI. See the VNC Password section for more details."
schema:
type: string
private: true
default: ""
- variable: makemkv
group: "App Configuration"
label: "MakeMKV Configuration"
@@ -129,7 +130,9 @@ questions:
schema:
type: boolean
default: false
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
@@ -224,12 +227,12 @@ 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}
@@ -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" . }}
+30 -21
View File
@@ -2,22 +2,6 @@ image:
repository: tccr.io/truecharts/makemkv
tag: 23.02.5@sha256:b6d3eab777a35cd117919ede4a74e33cd3586e57760c98aaec349875eb4ae863
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:
# General Settings
KEEP_APP_RUNNING: false
@@ -37,7 +21,6 @@ makemkv:
AUTO_DISC_RIPPER_PARALLEL_RIP: false
AUTO_DISC_RIPPER_NO_GUI_PROGRESS: false
AUTO_DISC_RIPPER_FORCE_UNIQUE_OUTPUT_DIR: false
service:
main:
ports:
@@ -51,7 +34,6 @@ service:
enabled: true
port: 10181
targetPort: 5900
configmap:
makemkv:
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_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 }}'
persistence:
config:
enabled: true
@@ -82,6 +63,34 @@ persistence:
output:
enabled: true
mountPath: "/output"
portal:
enabled: true
open:
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"