Merge pull request #874 from 3dwardch3ng/infra/argo-events
add eventbus example for argo events
This commit is contained in:
24
infrastructures/argo-events/base/examples/eventbus.yaml
Normal file
24
infrastructures/argo-events/base/examples/eventbus.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: EventBus
|
||||
metadata:
|
||||
name: default
|
||||
spec:
|
||||
nats:
|
||||
native:
|
||||
# Optional, defaults to 3. If it is < 3, set it to 3, that is the minimal requirement.
|
||||
replicas: 3
|
||||
# Optional, authen strategy, "none" or "token", defaults to "none"
|
||||
auth: token
|
||||
# containerTemplate:
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "10m"
|
||||
# metricsContainerTemplate:
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "10m"
|
||||
# antiAffinity: false
|
||||
# persistence:
|
||||
# storageClassName: standard
|
||||
# accessMode: ReadWriteOnce
|
||||
# volumeSize: 10Gi
|
||||
@@ -7,4 +7,5 @@ resources:
|
||||
- ./cluster-role-binding.yaml
|
||||
- ./configmap.yaml
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
- ./service.yaml
|
||||
- ./examples/eventbus.yaml
|
||||
Reference in New Issue
Block a user