|
@@ -0,0 +1,36 @@
|
|
|
+apiVersion: apps/v1
|
|
|
+kind: Deployment
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"api-client-jobs:latest"},"fieldPath":"spec.template.spec.containers[?(@.name==\"api-client-jobs\")].image"}]'
|
|
|
+ labels:
|
|
|
+ app: api-client-jobs
|
|
|
+ app.kubernetes.io/component: api-client-jobs
|
|
|
+ app.kubernetes.io/instance: api-client-jobs
|
|
|
+ name: api-client-jobs
|
|
|
+spec:
|
|
|
+ progressDeadlineSeconds: 600
|
|
|
+ replicas: 1
|
|
|
+ revisionHistoryLimit: 10
|
|
|
+ selector:
|
|
|
+ matchLabels:
|
|
|
+ deployment: api-client-jobs
|
|
|
+ strategy:
|
|
|
+ type: RollingUpdate
|
|
|
+ template:
|
|
|
+ metadata:
|
|
|
+ labels:
|
|
|
+ deployment: api-client-jobs
|
|
|
+ spec:
|
|
|
+ containers:
|
|
|
+ - env:
|
|
|
+ - name: QUARKUS_TLS_TRUST_STORE_PEM_CERTS
|
|
|
+ value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
|
|
|
+ image: ' '
|
|
|
+ imagePullPolicy: IfNotPresent
|
|
|
+ name: api-client-jobs
|
|
|
+ ports:
|
|
|
+ - containerPort: 8080
|
|
|
+ protocol: TCP
|
|
|
+ restartPolicy: Always
|
|
|
+ serviceAccountName: api-client
|