Skip to content

Commit 58df90b

Browse files
committed
wip
1 parent 63d8780 commit 58df90b

File tree

9 files changed

+273
-120
lines changed

9 files changed

+273
-120
lines changed
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
# This is an auto-generated file. DO NOT EDIT
2-
apiVersion: apiextensions.k8s.io/v1
3-
kind: CustomResourceDefinition
4-
metadata:
5-
name: eventbus.argoproj.io
6-
spec:
7-
group: argoproj.io
8-
names:
9-
kind: EventBus
10-
listKind: EventBusList
11-
plural: eventbus
12-
shortNames:
13-
- eb
14-
singular: eventbus
15-
scope: Namespaced
16-
versions:
17-
- name: v1alpha1
18-
schema:
19-
openAPIV3Schema:
20-
properties:
21-
apiVersion:
22-
type: string
23-
kind:
24-
type: string
25-
metadata:
26-
type: object
27-
spec:
28-
type: object
29-
x-kubernetes-preserve-unknown-fields: true
30-
status:
31-
type: object
32-
x-kubernetes-preserve-unknown-fields: true
33-
required:
34-
- metadata
35-
- spec
36-
type: object
37-
served: true
38-
storage: true
39-
subresources:
40-
status: {}
1+
# # This is an auto-generated file. DO NOT EDIT
2+
# apiVersion: apiextensions.k8s.io/v1
3+
# kind: CustomResourceDefinition
4+
# metadata:
5+
# name: eventbus.argoproj.io
6+
# spec:
7+
# group: argoproj.io
8+
# names:
9+
# kind: EventBus
10+
# listKind: EventBusList
11+
# plural: eventbus
12+
# shortNames:
13+
# - eb
14+
# singular: eventbus
15+
# scope: Namespaced
16+
# versions:
17+
# - name: v1alpha1
18+
# schema:
19+
# openAPIV3Schema:
20+
# properties:
21+
# apiVersion:
22+
# type: string
23+
# kind:
24+
# type: string
25+
# metadata:
26+
# type: object
27+
# spec:
28+
# type: object
29+
# x-kubernetes-preserve-unknown-fields: true
30+
# status:
31+
# type: object
32+
# x-kubernetes-preserve-unknown-fields: true
33+
# required:
34+
# - metadata
35+
# - spec
36+
# type: object
37+
# served: true
38+
# storage: true
39+
# subresources:
40+
# status: {}
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
# This is an auto-generated file. DO NOT EDIT
2-
apiVersion: apiextensions.k8s.io/v1
3-
kind: CustomResourceDefinition
4-
metadata:
5-
name: eventsources.argoproj.io
6-
spec:
7-
group: argoproj.io
8-
names:
9-
kind: EventSource
10-
listKind: EventSourceList
11-
plural: eventsources
12-
shortNames:
13-
- es
14-
singular: eventsource
15-
scope: Namespaced
16-
versions:
17-
- name: v1alpha1
18-
schema:
19-
openAPIV3Schema:
20-
properties:
21-
apiVersion:
22-
type: string
23-
kind:
24-
type: string
25-
metadata:
26-
type: object
27-
spec:
28-
type: object
29-
x-kubernetes-preserve-unknown-fields: true
30-
status:
31-
type: object
32-
x-kubernetes-preserve-unknown-fields: true
33-
required:
34-
- metadata
35-
- spec
36-
type: object
37-
served: true
38-
storage: true
39-
subresources:
40-
status: {}
1+
# # This is an auto-generated file. DO NOT EDIT
2+
# apiVersion: apiextensions.k8s.io/v1
3+
# kind: CustomResourceDefinition
4+
# metadata:
5+
# name: eventsources.argoproj.io
6+
# spec:
7+
# group: argoproj.io
8+
# names:
9+
# kind: EventSource
10+
# listKind: EventSourceList
11+
# plural: eventsources
12+
# shortNames:
13+
# - es
14+
# singular: eventsource
15+
# scope: Namespaced
16+
# versions:
17+
# - name: v1alpha1
18+
# schema:
19+
# openAPIV3Schema:
20+
# properties:
21+
# apiVersion:
22+
# type: string
23+
# kind:
24+
# type: string
25+
# metadata:
26+
# type: object
27+
# spec:
28+
# type: object
29+
# x-kubernetes-preserve-unknown-fields: true
30+
# status:
31+
# type: object
32+
# x-kubernetes-preserve-unknown-fields: true
33+
# required:
34+
# - metadata
35+
# - spec
36+
# type: object
37+
# served: true
38+
# storage: true
39+
# subresources:
40+
# status: {}
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
# This is an auto-generated file. DO NOT EDIT
2-
apiVersion: apiextensions.k8s.io/v1
3-
kind: CustomResourceDefinition
4-
metadata:
5-
name: sensors.argoproj.io
6-
spec:
7-
group: argoproj.io
8-
names:
9-
kind: Sensor
10-
listKind: SensorList
11-
plural: sensors
12-
shortNames:
13-
- sn
14-
singular: sensor
15-
scope: Namespaced
16-
versions:
17-
- name: v1alpha1
18-
schema:
19-
openAPIV3Schema:
20-
properties:
21-
apiVersion:
22-
type: string
23-
kind:
24-
type: string
25-
metadata:
26-
type: object
27-
spec:
28-
type: object
29-
x-kubernetes-preserve-unknown-fields: true
30-
status:
31-
type: object
32-
x-kubernetes-preserve-unknown-fields: true
33-
required:
34-
- metadata
35-
- spec
36-
type: object
37-
served: true
38-
storage: true
39-
subresources:
40-
status: {}
1+
# # This is an auto-generated file. DO NOT EDIT
2+
# apiVersion: apiextensions.k8s.io/v1
3+
# kind: CustomResourceDefinition
4+
# metadata:
5+
# name: sensors.argoproj.io
6+
# spec:
7+
# group: argoproj.io
8+
# names:
9+
# kind: Sensor
10+
# listKind: SensorList
11+
# plural: sensors
12+
# shortNames:
13+
# - sn
14+
# singular: sensor
15+
# scope: Namespaced
16+
# versions:
17+
# - name: v1alpha1
18+
# schema:
19+
# openAPIV3Schema:
20+
# properties:
21+
# apiVersion:
22+
# type: string
23+
# kind:
24+
# type: string
25+
# metadata:
26+
# type: object
27+
# spec:
28+
# type: object
29+
# x-kubernetes-preserve-unknown-fields: true
30+
# status:
31+
# type: object
32+
# x-kubernetes-preserve-unknown-fields: true
33+
# required:
34+
# - metadata
35+
# - spec
36+
# type: object
37+
# served: true
38+
# storage: true
39+
# subresources:
40+
# status: {}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{- define "argo-events.crds" }}
2+
3+
{{- $context := deepCopy . }}
4+
5+
{{- $defaultVals := include "argo-events.default-values" . | fromYaml }}
6+
{{- $vals := mergeOverwrite $defaultVals (get .Values "argo-events") }}
7+
8+
{{- $_ := set $context "Values" $vals }}
9+
{{- $_ := set $context.Values "global" (deepCopy (get .Values "global")) }}
10+
11+
{{- include "argo-events.crds.event-bus" $context }}
12+
---
13+
{{- include "argo-events.crds.event-source" $context }}
14+
---
15+
{{- include "argo-events.crds.sensor" $context }}
16+
{{- end }}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This is an auto-generated file. DO NOT EDIT
2+
{{- define "argo-events.crds.event-bus" }}
3+
{{- if .Values.crds.install }}
4+
apiVersion: apiextensions.k8s.io/v1
5+
kind: CustomResourceDefinition
6+
metadata:
7+
name: eventbus.argoproj.io
8+
spec:
9+
group: argoproj.io
10+
names:
11+
kind: EventBus
12+
listKind: EventBusList
13+
plural: eventbus
14+
shortNames:
15+
- eb
16+
singular: eventbus
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
properties:
23+
apiVersion:
24+
type: string
25+
kind:
26+
type: string
27+
metadata:
28+
type: object
29+
spec:
30+
type: object
31+
x-kubernetes-preserve-unknown-fields: true
32+
status:
33+
type: object
34+
x-kubernetes-preserve-unknown-fields: true
35+
required:
36+
- metadata
37+
- spec
38+
type: object
39+
served: true
40+
storage: true
41+
subresources:
42+
status: {}
43+
{{- end }}
44+
{{- end }}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This is an auto-generated file. DO NOT EDIT
2+
{{- define "argo-events.crds.event-source" }}
3+
{{- if .Values.crds.install }}
4+
apiVersion: apiextensions.k8s.io/v1
5+
kind: CustomResourceDefinition
6+
metadata:
7+
name: eventsources.argoproj.io
8+
spec:
9+
group: argoproj.io
10+
names:
11+
kind: EventSource
12+
listKind: EventSourceList
13+
plural: eventsources
14+
shortNames:
15+
- es
16+
singular: eventsource
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
properties:
23+
apiVersion:
24+
type: string
25+
kind:
26+
type: string
27+
metadata:
28+
type: object
29+
spec:
30+
type: object
31+
x-kubernetes-preserve-unknown-fields: true
32+
status:
33+
type: object
34+
x-kubernetes-preserve-unknown-fields: true
35+
required:
36+
- metadata
37+
- spec
38+
type: object
39+
served: true
40+
storage: true
41+
subresources:
42+
status: {}
43+
{{- end }}
44+
{{- end }}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# This is an auto-generated file. DO NOT EDIT
2+
{{- define "argo-events.crds.sensor" }}
3+
{{- if .Values.crds.install }}
4+
apiVersion: apiextensions.k8s.io/v1
5+
kind: CustomResourceDefinition
6+
metadata:
7+
name: sensors.argoproj.io
8+
spec:
9+
group: argoproj.io
10+
names:
11+
kind: Sensor
12+
listKind: SensorList
13+
plural: sensors
14+
shortNames:
15+
- sn
16+
singular: sensor
17+
scope: Namespaced
18+
versions:
19+
- name: v1alpha1
20+
schema:
21+
openAPIV3Schema:
22+
properties:
23+
apiVersion:
24+
type: string
25+
kind:
26+
type: string
27+
metadata:
28+
type: object
29+
spec:
30+
type: object
31+
x-kubernetes-preserve-unknown-fields: true
32+
status:
33+
type: object
34+
x-kubernetes-preserve-unknown-fields: true
35+
required:
36+
- metadata
37+
- spec
38+
type: object
39+
served: true
40+
storage: true
41+
subresources:
42+
status: {}
43+
{{- end }}
44+
{{- end }}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{- if and (index .Values "argo-events" "enabled") }}
2+
{{- include "argo-events.crds" . }}
3+
{{- end }}

0 commit comments

Comments
 (0)