fix(argo-events): add managed namespace configuration
Signed-off-by: Carlos Oliveira <ceguimaraes@gmail.com>
This commit is contained in:
parent
f06f9f6e24
commit
7f9c98d6e6
3 changed files with 7 additions and 0 deletions
|
@ -127,6 +127,7 @@ done
|
||||||
| controller.podLabels | object | `{}` | Labels to be added to events controller pods |
|
| controller.podLabels | object | `{}` | Labels to be added to events controller pods |
|
||||||
| controller.priorityClassName | string | `""` | Priority class for the events controller pods |
|
| controller.priorityClassName | string | `""` | Priority class for the events controller pods |
|
||||||
| controller.rbac.enabled | bool | `true` | Create events controller RBAC |
|
| controller.rbac.enabled | bool | `true` | Create events controller RBAC |
|
||||||
|
| controller.rbac.managedNamespace | string | `""` | Additional namespace to be monitored by the controller |
|
||||||
| controller.rbac.namespaced | bool | `false` | Restrict events controller to operate only in a single namespace instead of cluster-wide scope. |
|
| controller.rbac.namespaced | bool | `false` | Restrict events controller to operate only in a single namespace instead of cluster-wide scope. |
|
||||||
| controller.rbac.rules | list | `[]` | Additional user rules for event controller's rbac |
|
| controller.rbac.rules | list | `[]` | Additional user rules for event controller's rbac |
|
||||||
| controller.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| controller.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
|
|
@ -48,6 +48,10 @@ spec:
|
||||||
{{- if .Values.controller.rbac.namespaced }}
|
{{- if .Values.controller.rbac.namespaced }}
|
||||||
- --namespaced
|
- --namespaced
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.controller.rbac.managedNamespace }}
|
||||||
|
- --managed-namespace
|
||||||
|
- {{ .Values.controller.rbac.managedNamespace }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.controller.containerSecurityContext }}
|
{{- with .Values.controller.containerSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
|
|
@ -138,6 +138,8 @@ controller:
|
||||||
enabled: true
|
enabled: true
|
||||||
# -- Restrict events controller to operate only in a single namespace instead of cluster-wide scope.
|
# -- Restrict events controller to operate only in a single namespace instead of cluster-wide scope.
|
||||||
namespaced: false
|
namespaced: false
|
||||||
|
# -- Additional namespace to be monitored by the controller
|
||||||
|
managedNamespace: ""
|
||||||
# -- Additional user rules for event controller's rbac
|
# -- Additional user rules for event controller's rbac
|
||||||
rules: []
|
rules: []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue