forked from argoproj/argo-helm
[argo-events] v0.11 update (#162)
* Updating for events 0.11 * Adding note to the README about how to install CRDs from github * Fixing handling of serviceAccount variable inside of loopsmain
parent
ca5d1d7078
commit
6457037391
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
description: A Helm chart to install Argo-Events in k8s Cluster
|
description: A Helm chart to install Argo-Events in k8s Cluster
|
||||||
name: argo-events
|
name: argo-events
|
||||||
version: 0.5.2
|
version: 0.6.0
|
||||||
keywords:
|
keywords:
|
||||||
- argo-events
|
- argo-events
|
||||||
- sensor-controller
|
- sensor-controller
|
||||||
|
@ -11,6 +11,6 @@ sources:
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: VaibhavPage
|
- name: VaibhavPage
|
||||||
- name: magaldima
|
- name: magaldima
|
||||||
appVersion: 0.10
|
appVersion: 0.11
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
|
|
@ -14,3 +14,10 @@ This is a **community maintained** chart. It installs the [argo-events](https://
|
||||||
## Notes on CRD Installation
|
## Notes on CRD Installation
|
||||||
|
|
||||||
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set installCRD=false` when installing the chart.
|
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set installCRD=false` when installing the chart.
|
||||||
|
|
||||||
|
You can install the CRDs manually like so:
|
||||||
|
|
||||||
|
```
|
||||||
|
kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/sensor-crd.yaml
|
||||||
|
kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/gateway-crd.yaml
|
||||||
|
```
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
serviceAccount: argo-events-sa-test
|
||||||
|
additionalSaNamespaces:
|
||||||
|
- nsone
|
||||||
|
- nstwo
|
||||||
|
instanceID: test-argo-events
|
||||||
|
singleNamespace: false
|
|
@ -11,9 +11,10 @@ subjects:
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ .Values.serviceAccount }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.additionalSaNamespaces }}
|
{{- if .Values.additionalSaNamespaces }}
|
||||||
|
{{ $sa := .Values.serviceAccount }}
|
||||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ $sa }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -51,6 +52,8 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- workflows
|
- workflows
|
||||||
- workflows/finalizers
|
- workflows/finalizers
|
||||||
|
- workflowtemplates
|
||||||
|
- workflowtemplates/finalizers
|
||||||
- gateways
|
- gateways
|
||||||
- gateways/finalizers
|
- gateways/finalizers
|
||||||
- sensors
|
- sensors
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# All argo-events services are bound to the "argo-events" service account.
|
# All argo-events services are bound to the "argo-events" service account.
|
||||||
# In RBAC enabled setups, this SA is bound to specific roles.
|
# In RBAC enabled setups, this SA is bound to specific roles.
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
|
@ -6,12 +6,13 @@ metadata:
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ .Values.serviceAccount }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{- if .Values.additionalSaNamespaces }}
|
{{- if .Values.additionalSaNamespaces }}
|
||||||
|
{{ $sa := .Values.serviceAccount }}
|
||||||
{{- range $namespace := .Values.additionalSaNamespaces }}
|
{{- range $namespace := .Values.additionalSaNamespaces }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.serviceAccount }}
|
name: {{ $sa }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -26,11 +26,11 @@ singleNamespace: true
|
||||||
sensorController:
|
sensorController:
|
||||||
name: sensor-controller
|
name: sensor-controller
|
||||||
image: sensor-controller
|
image: sensor-controller
|
||||||
tag: v0.10
|
tag: v0.11
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
gatewayController:
|
gatewayController:
|
||||||
name: gateway-controller
|
name: gateway-controller
|
||||||
image: gateway-controller
|
image: gateway-controller
|
||||||
tag: v0.10
|
tag: v0.11
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
Loading…
Reference in New Issue