
* 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>
15 lines
495 B
YAML
15 lines
495 B
YAML
{{- if and .Values.webhook.enabled (not .Values.controller.rbac.namespaced) }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: events-webhook
|
|
namespace: {{ include "argo-events.namespace" . | quote }}
|
|
labels:
|
|
{{- include "argo-events.labels" (dict "context" . "name" .Values.webhook.name) | nindent 4 }}
|
|
spec:
|
|
ports:
|
|
- port: 443
|
|
targetPort: webhook
|
|
selector:
|
|
{{- include "argo-events.selectorLabels" (dict "context" $ "name" $.Values.webhook.name) | nindent 4 }}
|
|
{{- end }}
|