Browse Source

Helm pod spec extra (#2930)

* extra pod spec option added to helm deployment

Signed-off-by: Adrian Robotka <robotka.adrian@gmail.com>

* output of make helm.docs

Signed-off-by: Adrian Robotka <robotka.adrian@gmail.com>

---------

Signed-off-by: Adrian Robotka <robotka.adrian@gmail.com>
Adrián Robotka 2 years ago
parent
commit
25b217a60f

+ 1 - 0
deploy/charts/external-secrets/README.md

@@ -114,6 +114,7 @@ The command removes all the Kubernetes components associated with the chart and
 | podDisruptionBudget | object | `{"enabled":false,"minAvailable":1}` | Pod disruption budget - for more details see https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ |
 | podLabels | object | `{}` |  |
 | podSecurityContext | object | `{}` |  |
+| podSpecExtra | object | `{}` | Any extra pod spec on the deployment |
 | priorityClassName | string | `""` | Pod priority class name. |
 | processClusterExternalSecret | bool | `true` | if true, the operator will process cluster external secret. Else, it will ignore them. |
 | processClusterStore | bool | `true` | if true, the operator will process cluster store. Else, it will ignore them. |

+ 3 - 0
deploy/charts/external-secrets/templates/deployment.yaml

@@ -133,4 +133,7 @@ spec:
       {{- if .Values.priorityClassName }}
       priorityClassName: {{ .Values.priorityClassName }}
       {{- end }}
+      {{- if .Values.podSpecExtra }}
+      {{- toYaml .Values.podSpecExtra | nindent 6 }}
+      {{- end }}
 {{- end }}

+ 3 - 0
deploy/charts/external-secrets/values.yaml

@@ -476,3 +476,6 @@ certController:
 
 # -- Specifies `dnsOptions` to deployment
 dnsConfig: {}
+
+# -- Any extra pod spec on the deployment
+podSpecExtra: {}