migrate(obs-ndi-migration): Miigrate to new common (#11772)

**Description**

Let's see how this reacts

⚒️ 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:
StevenMcElligott 2023-08-22 02:50:45 -04:00 committed by GitHub
parent ce8edf1557
commit f293089647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 18 deletions

View File

@ -10,7 +10,7 @@ appVersion: "latest"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 14.0.1
deprecated: false
description: "This container is based on bb12489/gui-Chart &amp;amp;amp; bb12489/Chart-obs. The OBS with NDI is incorporated into the container and can be used to stream your desktop. The main reason for this fork is to update the Chart and add it to the TrueNAS app store.&amp;#xD;"
home: https://truecharts.org/charts/incubator/obs-ndi
@ -31,4 +31,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/obs-ndi
- https://github.com/patrickstigler/docker-obs-ndi
type: application
version: 2.0.15
version: 3.0.0

View File

@ -21,8 +21,8 @@ questions:
type: dict
attrs:
- variable: VNC_PASSWD
label: "VNC_PASSWD"
description: "Container Variable VNCPASSWD"
label: "VNC Password to login"
description: "Enter your VNC password to login"
schema:
type: string
default: "123456"

View File

@ -1,2 +1,2 @@
{{/* Render the templates */}}
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}

View File

@ -1,26 +1,47 @@
env:
VNC_PASSWD: "123456"
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/obs-ndi
tag: latest@sha256:321eb11d40c21fbf90a1eba09e88b9e641a9473cc5c689f289775080164be156
persistence:
configpath:
enabled: true
mountPath: /config/obs-studio
podSecurityContext:
runAsGroup: 0
runAsUser: 0
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
container:
runAsGroup: 0
runAsUser: 0
readOnlyRootFilesystem: false
runAsNonRoot: false
workload:
main:
podSpec:
containers:
main:
securityContext:
capabilities:
add:
- NET_BIND_SERVICE
- KILL
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
VNC_PASSWD: "123456"
service:
main:
ports:
main:
port: 5901
protocol: TCP
protocol: http
targetPort: 5901
persistence:
configpath:
enabled: true
mountPath: /config/obs-studio
portal:
enabled: true
open:
enabled: true