feat(stable): BREAKING CHANGE migrate to new common part 3 (#8151)

**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-04-29 08:44:01 +02:00
committed by GitHub
parent 030fcbb41e
commit 28f1a3e341
84 changed files with 1070 additions and 961 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: domoticz
version: 4.0.20
version: 5.0.0
appVersion: "2023.1.202"
description: "Domoticz is a Home Automation System that lets you monitor and configure various devices like Lights, Switches and much more."
type: application
@@ -15,7 +15,7 @@ sources:
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.6.1
# condition:
maintainers:
- email: info@truecharts.org
@@ -25,4 +25,3 @@ annotations:
truecharts.org/catagories: |
- incubator
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+22 -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: WEBROOT
label: "WEBROOT"
description: "WEBROOT"
schema:
type: string
default: "domoticz"
# Include{containerBasic}
# Include{containerAdvanced}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: WEBROOT
label: "WEBROOT"
description: "WEBROOT"
schema:
type: string
default: "domoticz"
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
- variable: main
label: "Main Service"
@@ -127,16 +128,16 @@ 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}
- variable: fsGroup
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
@@ -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" . }}
+23 -13
View File
@@ -4,15 +4,11 @@ image:
tag: 2023.1.20230220@sha256:17a4a304da063f445f0b46ca79e4b8827d885b4754b664f8026e11608ea25062
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env:
WEBROOT: "domoticz"
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
service:
main:
@@ -35,12 +31,26 @@ service:
targetPort: 1443
port: 1443
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
WEBROOT: "domoticz"
persistence:
config:
enabled: true
mountPath: "/config"
varrun:
enabled: true
mountPath: /config
portal:
enabled: true
open:
enabled: true