fix(nextcloud): fix gpu allocation (#19409)

**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
- [x] 🪛 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:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 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
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 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
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ 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._

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2024-03-23 10:04:05 +02:00
committed by GitHub
parent 016775b996
commit cb17431e99
5 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -50,4 +50,4 @@ sources:
- https://github.com/truecharts/containers/tree/master/apps/nextcloud-imaginary - https://github.com/truecharts/containers/tree/master/apps/nextcloud-imaginary
- https://github.com/truecharts/containers/tree/master/apps/nextcloud-push-notify - https://github.com/truecharts/containers/tree/master/apps/nextcloud-push-notify
type: application type: application
version: 29.8.0 version: 29.8.1
@@ -14,6 +14,8 @@
enabled: true enabled: true
primary: true primary: true
imageSelector: image imageSelector: image
resources:
excludeExtra: true
command: command:
- /bin/bash - /bin/bash
- -c - -c
@@ -5,6 +5,8 @@
enabled: true enabled: true
type: install type: install
imageSelector: alpineImage imageSelector: alpineImage
resources:
excludeExtra: true
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
runAsGroup: 0 runAsGroup: 0
@@ -4,6 +4,8 @@
enabled: true enabled: true
type: init type: init
imageSelector: image imageSelector: image
resources:
excludeExtra: true
securityContext: securityContext:
command: /bin/sh command: /bin/sh
args: args:
+11
View File
@@ -22,6 +22,7 @@ collaboraImage:
repository: collabora/code repository: collabora/code
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: 23.05.9.4.1@sha256:18768e665a817a06d17a608bcb0744dd0275e72d805644cad5ad1923f7d623b5 tag: 23.05.9.4.1@sha256:18768e665a817a06d17a608bcb0744dd0275e72d805644cad5ad1923f7d623b5
nextcloud: nextcloud:
# Initial Credentials # Initial Credentials
credentials: credentials:
@@ -167,6 +168,8 @@ workload:
enabled: true enabled: true
primary: true primary: true
imageSelector: nginxImage imageSelector: nginxImage
resources:
excludeExtra: true
probes: probes:
readiness: readiness:
enabled: true enabled: true
@@ -195,6 +198,8 @@ workload:
primary: true primary: true
enabled: true enabled: true
imageSelector: hpbImage imageSelector: hpbImage
resources:
excludeExtra: true
envFrom: envFrom:
- configMapRef: - configMapRef:
name: hpb-config name: hpb-config
@@ -226,6 +231,8 @@ workload:
primary: true primary: true
enabled: true enabled: true
imageSelector: imaginaryImage imageSelector: imaginaryImage
resources:
excludeExtra: true
command: imaginary command: imaginary
args: args:
- -p - -p
@@ -260,6 +267,8 @@ workload:
primary: true primary: true
enabled: true enabled: true
imageSelector: clamavImage imageSelector: clamavImage
resources:
excludeExtra: true
# FIXME: https://github.com/Cisco-Talos/clamav/issues/478 # FIXME: https://github.com/Cisco-Talos/clamav/issues/478
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@@ -293,6 +302,8 @@ workload:
primary: true primary: true
enabled: true enabled: true
imageSelector: collaboraImage imageSelector: collaboraImage
resources:
excludeExtra: true
securityContext: securityContext:
runAsUser: 100 runAsUser: 100
runAsGroup: 102 runAsGroup: 102