chore(argo-events): update argo-events to 1.2.3 (#553)

Co-authored-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
smcavallo 2021-02-23 02:19:13 -05:00 committed by GitHub
parent 9e6d1134e8
commit 03cd06d6ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 117 additions and 19 deletions

View file

@ -37,7 +37,31 @@ spec:
value: {{ .Values.eventbusController.natsStreamingImage }}
- name: NATS_METRICS_EXPORTER_IMAGE
value: {{ .Values.eventbusController.natsMetricsExporterImage }}
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
{{- with .Values.securityContext }}
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.eventbusController.nodeSelector }}
nodeSelector: {{ toYaml .Values.eventbusController.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.eventbusController.tolerations }}
tolerations: {{ toYaml .Values.eventbusController.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.eventbusController.affinity }}
affinity: {{ toYaml .Values.eventbusController.affinity | nindent 8 }}
{{- end }}

View file

@ -1,5 +1,5 @@
{{- if .Values.installCRD }}
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: eventbus.argoproj.io
@ -16,7 +16,6 @@ spec:
- eb
singular: eventbus
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true

View file

@ -35,7 +35,31 @@ spec:
fieldPath: metadata.namespace
- name: EVENTSOURCE_IMAGE
value: "{{ .Values.registry }}/{{ .Values.eventsourceController.eventsourceImage }}:{{ .Values.eventsourceController.tag }}"
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
{{- with .Values.securityContext }}
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.eventsourceController.nodeSelector }}
nodeSelector: {{ toYaml .Values.eventsourceController.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.eventsourceController.tolerations }}
tolerations: {{ toYaml .Values.eventsourceController.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.eventsourceController.affinity }}
affinity: {{ toYaml .Values.eventsourceController.affinity | nindent 8 }}
{{- end }}

View file

@ -1,5 +1,5 @@
{{- if .Values.installCRD }}
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: eventsources.argoproj.io
@ -16,5 +16,8 @@ spec:
listKind: EventSourceList
shortNames:
- es
version: "v1alpha1"
versions:
- name: v1alpha1
served: true
storage: true
{{- end }}

View file

@ -35,7 +35,31 @@ spec:
fieldPath: metadata.namespace
- name: SENSOR_IMAGE
value: "{{ .Values.registry }}/{{ .Values.sensorController.sensorImage }}:{{ .Values.sensorController.tag }}"
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
{{- with .Values.securityContext }}
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.sensorController.nodeSelector }}
nodeSelector: {{ toYaml .Values.sensorController.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.sensorController.tolerations }}
tolerations: {{ toYaml .Values.sensorController.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.sensorController.affinity }}
affinity: {{ toYaml .Values.sensorController.affinity | nindent 8 }}
{{- end }}

View file

@ -1,6 +1,6 @@
{{- if .Values.installCRD }}
# Define a "sensor" custom resource definition
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: sensors.argoproj.io
@ -17,5 +17,8 @@ spec:
shortNames:
- sn
scope: Namespaced
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
{{- end }}