feat(argo-events): add priorityClassName and podLabels options (#610)
Signed-off-by: t3mi <t3mi@users.noreply.github.com>
This commit is contained in:
parent
3ba4cdb1ca
commit
72f71923f2
5 changed files with 28 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
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: 1.3.2
|
version: 1.3.3
|
||||||
keywords:
|
keywords:
|
||||||
- argo-events
|
- argo-events
|
||||||
- sensor-controller
|
- sensor-controller
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: {{ .Release.Name }}-{{ .Values.eventbusController.name }}
|
app: {{ .Release.Name }}-{{ .Values.eventbusController.name }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
{{- with .Values.eventbusController.podLabels }}
|
||||||
|
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.eventbusController.podAnnotations }}
|
{{- with .Values.eventbusController.podAnnotations }}
|
||||||
annotations: {{- toYaml . | nindent 8 }}
|
annotations: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -52,6 +55,9 @@ spec:
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
|
{{- with .Values.eventbusController.priorityClassName }}
|
||||||
|
priorityClassName: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: {{ .Release.Name }}-{{ .Values.eventsourceController.name }}
|
app: {{ .Release.Name }}-{{ .Values.eventsourceController.name }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
{{- with .Values.eventsourceController.podLabels }}
|
||||||
|
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.eventsourceController.podAnnotations }}
|
{{- with .Values.eventsourceController.podAnnotations }}
|
||||||
annotations: {{- toYaml . | nindent 8 }}
|
annotations: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -50,6 +53,9 @@ spec:
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
|
{{- with .Values.eventsourceController.priorityClassName }}
|
||||||
|
priorityClassName: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -18,6 +18,9 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: {{ .Release.Name }}-{{ .Values.sensorController.name }}
|
app: {{ .Release.Name }}-{{ .Values.sensorController.name }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
{{- with .Values.sensorController.podLabels }}
|
||||||
|
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.sensorController.podAnnotations }}
|
{{- with .Values.sensorController.podAnnotations }}
|
||||||
annotations: {{- toYaml . | nindent 8 }}
|
annotations: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -50,6 +53,9 @@ spec:
|
||||||
port: 8081
|
port: 8081
|
||||||
initialDelaySeconds: 3
|
initialDelaySeconds: 3
|
||||||
periodSeconds: 3
|
periodSeconds: 3
|
||||||
|
{{- with .Values.sensorController.priorityClassName }}
|
||||||
|
priorityClassName: {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.securityContext }}
|
{{- with .Values.securityContext }}
|
||||||
securityContext: {{- toYaml . | nindent 8 }}
|
securityContext: {{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -50,7 +50,9 @@ sensorController:
|
||||||
sensorImage: sensor
|
sensorImage: sensor
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: {}
|
podLabels: {}
|
||||||
|
priorityClassName: ""
|
||||||
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
eventsourceController:
|
eventsourceController:
|
||||||
|
@ -61,7 +63,9 @@ eventsourceController:
|
||||||
eventsourceImage: eventsource
|
eventsourceImage: eventsource
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: {}
|
podLabels: {}
|
||||||
|
priorityClassName: ""
|
||||||
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
eventbusController:
|
eventbusController:
|
||||||
|
@ -71,7 +75,9 @@ eventbusController:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: {}
|
podLabels: {}
|
||||||
|
priorityClassName: ""
|
||||||
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
natsStreamingImage: nats-streaming:0.17.0
|
natsStreamingImage: nats-streaming:0.17.0
|
||||||
natsMetricsExporterImage: synadia/prometheus-nats-exporter:0.6.2
|
natsMetricsExporterImage: synadia/prometheus-nats-exporter:0.6.2
|
||||||
|
|
Loading…
Reference in a new issue