diff --git a/charts/library/common/CHANGELOG.md b/charts/library/common/CHANGELOG.md
index 5c385cd7a0e..a078f27fc7a 100644
--- a/charts/library/common/CHANGELOG.md
+++ b/charts/library/common/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [common-7.0.0](https://github.com/truecharts/apps/compare/common-6.14.0...common-7.0.0) (2021-09-09)
+
+#### Refactor
+
+* Restructure common init and additional container layout to dicts ([#950](https://github.com/truecharts/apps/issues/950))
+
+
+
### [common-6.14.0](https://github.com/truecharts/apps/compare/common-6.13.11...common-6.14.0) (2021-09-09)
diff --git a/charts/library/common/SCALE/CHANGELOG.md b/charts/library/common/SCALE/CHANGELOG.md
index fe16126ab9e..5a59ab44568 100644
--- a/charts/library/common/SCALE/CHANGELOG.md
+++ b/charts/library/common/SCALE/CHANGELOG.md
@@ -1,7 +1,7 @@
-
-### [common-6.14.0](https://github.com/truecharts/apps/compare/common-6.13.11...common-6.14.0) (2021-09-09)
+
+### [common-7.0.0](https://github.com/truecharts/apps/compare/common-6.14.0...common-7.0.0) (2021-09-09)
-#### Feat
+#### Refactor
-* port addons from k8s-at-home to common ([#948](https://github.com/truecharts/apps/issues/948))
+* Restructure common init and additional container layout to dicts ([#950](https://github.com/truecharts/apps/issues/950))
diff --git a/charts/library/common/helm-values.md b/charts/library/common/helm-values.md
index 21e3aea391f..26aba8d22c4 100644
--- a/charts/library/common/helm-values.md
+++ b/charts/library/common/helm-values.md
@@ -8,7 +8,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
-| additionalContainers | list | `[]` | Specify any additional containers here. Yaml will be passed in to the Pod as-is. |
+| additionalContainers | object | `{}` | Specify any additional containers here as dictionary items. Each additional container should have its own key. Helm templates can be used. |
| addons | object | See below | The common chart supports several add-ons. These can be configured under this key. |
| addons.codeserver | object | See values.yaml | The common library supports adding a code-server add-on to access files. It can be configured under this key. For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server) |
| addons.codeserver.args | list | `["--auth","none"]` | Set codeserver command line arguments. Consider setting --user-data-dir to a persistent location to preserve code-server setting changes |
@@ -106,7 +106,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| ingress.main.primary | bool | `true` | Make this the primary ingress (used in probes, notes, etc...). If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. |
| ingress.main.tls | list | `[]` | Configure TLS for the ingress. Both secretName and hosts can process a Helm template. |
| ingressList | list | [] | Configure ingressList for the chart here. Additional items can be added by adding a items similar to ingress |
-| initContainers | list | `[]` | Specify any initContainers here. Yaml will be passed in to the Pod as-is. |
+| initContainers | object | `{}` | Specify any initContainers here as dictionary items. Each initContainer should have its own key. The dictionary item key will determine the order. Helm templates can be used. |
| lifecycle | object | `{}` | Configure the lifecycle for the main container |
| networkPolicy | object | See below | Configure networkPolicy for the chart here. |
| networkPolicy.egress | list | `[]` | add or remove egress policies |
@@ -197,6 +197,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| termination.messagePath | string | `nil` | Configure the path at which the file to which the main container's termination message will be written. -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
| termination.messagePolicy | string | `nil` | Indicate how the main container's termination message should be populated. Valid options are `File` and `FallbackToLogsOnError`. -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
| tolerations | list | `[]` | Specify taint tolerations [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
+| topologySpreadConstraints | list | `[]` | Defines topologySpreadConstraint rules. [[ref]](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) |
| volumeClaimTemplates | list | `[]` | Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. |
All Rights Reserved - The TrueCharts Project
diff --git a/docs/apps/common/helm-values.md b/docs/apps/common/helm-values.md
index 21e3aea391f..26aba8d22c4 100644
--- a/docs/apps/common/helm-values.md
+++ b/docs/apps/common/helm-values.md
@@ -8,7 +8,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
-| additionalContainers | list | `[]` | Specify any additional containers here. Yaml will be passed in to the Pod as-is. |
+| additionalContainers | object | `{}` | Specify any additional containers here as dictionary items. Each additional container should have its own key. Helm templates can be used. |
| addons | object | See below | The common chart supports several add-ons. These can be configured under this key. |
| addons.codeserver | object | See values.yaml | The common library supports adding a code-server add-on to access files. It can be configured under this key. For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server) |
| addons.codeserver.args | list | `["--auth","none"]` | Set codeserver command line arguments. Consider setting --user-data-dir to a persistent location to preserve code-server setting changes |
@@ -106,7 +106,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| ingress.main.primary | bool | `true` | Make this the primary ingress (used in probes, notes, etc...). If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. |
| ingress.main.tls | list | `[]` | Configure TLS for the ingress. Both secretName and hosts can process a Helm template. |
| ingressList | list | [] | Configure ingressList for the chart here. Additional items can be added by adding a items similar to ingress |
-| initContainers | list | `[]` | Specify any initContainers here. Yaml will be passed in to the Pod as-is. |
+| initContainers | object | `{}` | Specify any initContainers here as dictionary items. Each initContainer should have its own key. The dictionary item key will determine the order. Helm templates can be used. |
| lifecycle | object | `{}` | Configure the lifecycle for the main container |
| networkPolicy | object | See below | Configure networkPolicy for the chart here. |
| networkPolicy.egress | list | `[]` | add or remove egress policies |
@@ -197,6 +197,7 @@ This chart is used by a lot of our Apps to provide sane defaults and logic.
| termination.messagePath | string | `nil` | Configure the path at which the file to which the main container's termination message will be written. -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
| termination.messagePolicy | string | `nil` | Indicate how the main container's termination message should be populated. Valid options are `File` and `FallbackToLogsOnError`. -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
| tolerations | list | `[]` | Specify taint tolerations [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
+| topologySpreadConstraints | list | `[]` | Defines topologySpreadConstraint rules. [[ref]](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) |
| volumeClaimTemplates | list | `[]` | Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. |
All Rights Reserved - The TrueCharts Project
diff --git a/docs/index.yaml b/docs/index.yaml
index 96c2b244970..908c28f2e1f 100644
--- a/docs/index.yaml
+++ b/docs/index.yaml
@@ -16643,6 +16643,30 @@ entries:
- https://github.com/truecharts/apps/releases/download/collabora-online-3.1.5/collabora-online-3.1.5.tgz
version: 3.1.5
common:
+ - apiVersion: v2
+ appVersion: auto
+ created: "2021-09-09T19:50:30.308299971Z"
+ description: Function library for TrueCharts
+ digest: d85323847df1731f0a59289ba60ea2e5aacf0a351b557d18af2f2d9d06478b47
+ home: https://github.com/truecharts/apps/tree/master/charts/common
+ icon: https://avatars.githubusercontent.com/u/76400755
+ keywords:
+ - truecharts
+ - library-chart
+ - common
+ kubeVersion: '>=1.16.0-0'
+ maintainers:
+ - email: info@truecharts.org
+ name: TrueCharts
+ url: truecharts.org
+ - email: kjeld@schouten-lebbing.nl
+ name: Ornias1993
+ url: truecharts.org
+ name: common
+ type: library
+ urls:
+ - https://github.com/truecharts/apps/releases/download/common-7.0.0/common-7.0.0.tgz
+ version: 7.0.0
- apiVersion: v2
appVersion: auto
created: "2021-09-09T18:57:06.903954178Z"
@@ -177899,4 +177923,4 @@ entries:
urls:
- https://github.com/truecharts/apps/releases/download/zwavejs2mqtt-3.1.5/zwavejs2mqtt-3.1.5.tgz
version: 3.1.5
-generated: "2021-09-09T18:57:06.950721967Z"
+generated: "2021-09-09T19:50:30.365451464Z"