feat(argo-events): Support ability to set .Values.namespaceOverride (#2594)

* feat(argo-events): Support ability to set .Values.namespaceOverride

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-events): update README

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
Aikawa 2024-03-23 20:06:54 +09:00 committed by GitHub
parent 8a4c875295
commit 393402cb1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 29 additions and 17 deletions

View file

@ -4,7 +4,7 @@ kind: {{ .Values.controller.rbac.namespaced | ternary "Role" "ClusterRole" }}
metadata:
name: {{ include "argo-events.controller.fullname" . }}
{{- if .Values.controller.rbac.namespaced }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ include "argo-events.namespace" . | quote }}
{{- end }}
labels:
{{- include "argo-events.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
@ -122,5 +122,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "argo-events.controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ include "argo-events.namespace" . | quote }}
{{- end }}