add service argo events
This commit is contained in:
52
infrastructures/argo-events/base/deployment.yaml
Normal file
52
infrastructures/argo-events/base/deployment.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: controller-manager
|
||||
namespace: argo-events
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: controller-manager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: controller-manager
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- controller
|
||||
env:
|
||||
- name: ARGO_EVENTS_IMAGE
|
||||
value: quay.io/argoproj/argo-events:v1.9.2
|
||||
- name: NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: quay.io/argoproj/argo-events:v1.9.2
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8081
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 3
|
||||
name: controller-manager
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: 8081
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 3
|
||||
volumeMounts:
|
||||
- mountPath: /etc/argo-events
|
||||
name: controller-config-volume
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 9731
|
||||
serviceAccountName: argo-events-sa
|
||||
volumes:
|
||||
- configMap:
|
||||
name: argo-events-controller-config
|
||||
name: controller-config-volume
|
||||
Reference in New Issue
Block a user