migrate(piwigo) migrate piwigo to new common **BREAKING CHANGES** (#10376)

**Description**
Migrate new common
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [X] ⚠️ 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
- [ ] ⚠️ 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._
This commit is contained in:
Xstar97TheNoob
2023-07-13 03:53:18 -04:00
committed by GitHub
parent e82b95d6d1
commit bbb6fcdd14
5 changed files with 51 additions and 43 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
apiVersion: v2
appVersion: "11.5.0"
appVersion: "13.7.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
description: A is photo gallery software for the web, built by an active community of users and developers.
version: 12.14.6
description: A photo gallery software for the web.
home: https://truecharts.org/charts/incubator/piwigo
icon: https://truecharts.org/img/hotlink-ok/chart-icons/piwigo.png
keywords:
@@ -23,7 +23,7 @@ sources:
- http://piwigo.org/
- https://github.com/linuxserver/docker-piwigo
type: application
version: 5.0.8
version: 6.0.0
annotations:
truecharts.org/catagories: |
- media
+30 -29
View File
@@ -10,14 +10,15 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
label: Main Service
description: The Primary service on which the healthcheck runs, often the webUI
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
@@ -25,14 +26,14 @@ questions:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: Port
description: This port exposes the container port on the service
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10027
@@ -42,16 +43,16 @@ questions:
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: App Config Storage
description: Stores the Application Configuration.
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
- variable: gallery
label: App Image/Plugin Storage
description: Image, plugin & theme storage for Piwigo
label: "App Gallery Storage"
description: "Stores the Application Gallery."
schema:
additional_attrs: true
type: dict
@@ -60,7 +61,7 @@ questions:
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: Main Ingress
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
@@ -70,29 +71,29 @@ questions:
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}
# Include{podSecurityContextRoot}
- variable: runAsUser
label: runAsUser
description: The UserID of the user running the application
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: runAsUser
label: "runAsUser"
description: "The UserID 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}
- variable: fsGroup
label: fsGroup
description: The group that should own ALL storage.
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -1,2 +1 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+15 -8
View File
@@ -1,15 +1,14 @@
image:
repository: tccr.io/truecharts/piwigo
pullPolicy: IfNotPresent
tag: version-11.5.0@sha256:8f8bb5d28b930edfded154d71dd2eab4ffe5631d2e4f21773bf33b220ab76f05
tag: v13.7.0@sha256:9f8bd8ae06a7dfcdb209af444f49119680ce74e58a53df4ac5ed56d9878292f4
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
@@ -18,6 +17,13 @@ service:
targetPort: 80
port: 10027
workload:
main:
podSpec:
containers:
main:
env: {}
persistence:
config:
enabled: true
@@ -31,4 +37,5 @@ persistence:
enabled: true
portal:
enabled: true
open:
enabled: true