fix(argo-events): add managed namespace configuration (#2121)

This commit is contained in:
ceguimaraes 2023-06-21 22:41:34 +10:00 committed by GitHub
parent db0484fe51
commit c44f10eb37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View file

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v1.7.6
appVersion: v1.8.0
description: A Helm chart for Argo Events, the event-driven workflow automation framework
name: argo-events
version: 2.3.3
version: 2.4.0
home: https://github.com/argoproj/argo-helm
icon: https://avatars.githubusercontent.com/u/30269780?s=200&v=4
keywords:
@ -18,5 +18,7 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo Events to v1.8.0
- kind: added
description: Introduce chart signing
description: Add managed namespace configuration

View file

@ -127,6 +127,7 @@ done
| controller.podLabels | object | `{}` | Labels to be added to events controller pods |
| controller.priorityClassName | string | `""` | Priority class for the events controller pods |
| 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.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 |

View file

@ -48,6 +48,10 @@ spec:
{{- if .Values.controller.rbac.namespaced }}
- --namespaced
{{- end }}
{{- if .Values.controller.rbac.managedNamespace }}
- --managed-namespace
- {{ .Values.controller.rbac.managedNamespace }}
{{- end }}
{{- with .Values.controller.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}

View file

@ -138,6 +138,8 @@ controller:
enabled: true
# -- Restrict events controller to operate only in a single namespace instead of cluster-wide scope.
namespaced: false
# -- Additional namespace to be monitored by the controller
managedNamespace: ""
# -- Additional user rules for event controller's rbac
rules: []