migrate(cups-server): migrate to new common (#15829)

**Description**
Migrates cups-server to new common

⚒️ Fixes  # 

**⚙️ Type of change**

- [X] ⚙️ 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?**

**📃 Notes:**

**✔️ 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
- [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.

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

---------

Signed-off-by: kqmaverick <121722567+kqmaverick@users.noreply.github.com>
Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
This commit is contained in:
kqmaverick 2023-12-06 18:54:59 -08:00 committed by GitHub
parent dacaf0695e
commit 9208a3ffae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 11 deletions

View File

@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0"
apiVersion: v2
name: cups-server
version: 3.0.24
version: 4.0.0
appVersion: latest
description: CUPS printing server
home: https://truecharts.org/charts/incubator/cups-server
@ -19,7 +19,7 @@ keywords:
- cups
dependencies:
- name: common
version: 11.1.2
version: 16.0.0
repository: https://library-charts.truecharts.org
condition: ""
alias: ""

View File

@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

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

View File

@ -3,18 +3,24 @@ image:
tag: latest@sha256:a5501987937cf8c726e04878ff77d5f15f01070979f40c1a2cec60834bc77c70
pullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
secretEnv:
ADMIN_PASSWORD: "secretpass"
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
env:
ADMIN_PASSWORD: "secretpass"
service:
main:
ports:
main:
port: 631
protocol: http
targetPort: 631
persistence:
config:
@ -27,4 +33,5 @@ persistence:
mountPath: "/var/run/dbus"
readOnly: false
portal:
enabled: true
open:
enabled: true