diff --git a/README.md b/README.md index c0ed31d..0977145 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ See values.yaml for full documentation | `nodeSelector` | Node selector | `{}` | | `tolerations` | Tolerations | `[]` | | `affinity` | Affinity or Anti-Affinity | `{}` | +| `topologySpreadConstraints` | Topology Spread Constraints | `[]` | | `configs` | Optional Privatebin configuration file | `{}` | | `podAnnotations` | Additional annotations to add to the pods | `{}` | | `additionalLabels` | Additional labels to add to resources | `{}` | diff --git a/charts/privatebin/Chart.yaml b/charts/privatebin/Chart.yaml index 223b422..39dd05d 100644 --- a/charts/privatebin/Chart.yaml +++ b/charts/privatebin/Chart.yaml @@ -6,7 +6,7 @@ name: privatebin home: https://privatebin.info/ icon: https://raw.githubusercontent.com/PrivateBin/assets/master/images/preview/icon.png type: application -version: 0.21.2 +version: 0.22.0 maintainers: - name: bdashrad email: bdashrad@gmail.com diff --git a/charts/privatebin/templates/deployment.yaml b/charts/privatebin/templates/deployment.yaml index 063fcd6..c0e998f 100644 --- a/charts/privatebin/templates/deployment.yaml +++ b/charts/privatebin/templates/deployment.yaml @@ -97,6 +97,10 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} {{- end }} volumes: - name: configs diff --git a/charts/privatebin/values.yaml b/charts/privatebin/values.yaml index acea891..40d855f 100644 --- a/charts/privatebin/values.yaml +++ b/charts/privatebin/values.yaml @@ -111,6 +111,8 @@ tolerations: [] affinity: {} +topologySpreadConstraints: [] + configs: {} # conf.php: |- # ; see https://github.com/PrivateBin/PrivateBin/blob/master/cfg/conf.sample.php for config