Chore(stable): BREAKING CHANGE migrate to new common part 2 (#7992)

**Description**
See: https://github.com/truecharts/charts/pull/7900

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 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
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 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.

- [x] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [x] 🖼️ 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-14 18:11:04 +02:00
committed by GitHub
parent ad3c093b8a
commit 278904bff0
299 changed files with 4603 additions and 4665 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: syslog-ng
version: 4.0.10
version: 5.0.0
appVersion: "4.0.1"
description: syslog-ng allows you to flexibly collect, parse, classify, rewrite and correlate logs.
type: application
@@ -15,7 +15,7 @@ sources:
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 12.4.9
maintainers:
- email: info@truecharts.org
name: TrueCharts
@@ -24,4 +24,3 @@ annotations:
truecharts.org/catagories: |
- incubator
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+9 -8
View File
@@ -8,9 +8,10 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@@ -112,16 +113,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 @@
{{ include "tc.common.loader.all" . }}
{{ include "tc.v1.common.loader.all" . }}
+21 -15
View File
@@ -2,17 +2,6 @@ image:
repository: tccr.io/truecharts/syslog-ng
pullPolicy: IfNotPresent
tag: 4.0.1@sha256:e3157f1638eb2c107fec3d6fa28bcece53571db19f314c6eb57c9182a8bc0658
securityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
env: {}
service:
main:
ports:
@@ -24,7 +13,7 @@ service:
ports:
syslog-udp:
enabled: true
protocol: UDP
protocol: udp
targetPort: 514
port: 5514
syslog-tls:
@@ -34,13 +23,30 @@ service:
enabled: true
targetPort: 6514
port: 6514
persistence:
varrun:
enabled: true
config:
enabled: true
mountPath: "/config"
portal:
enabled: false
open:
enabled: false
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp