openscanhub: clean up resalloc-server deployment
... config. Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
78623f3d7b
commit
a271ca1c7b
1 changed files with 1 additions and 26 deletions
|
@ -1,14 +1,6 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
alpha.image.policy.openshift.io/resolve-names: '*'
|
|
||||||
app.openshift.io/route-disabled: "false"
|
|
||||||
deployment.kubernetes.io/revision: "2"
|
|
||||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"resalloc-server:staging","namespace":"openscanhub"},"fieldPath":"spec.template.spec.containers[?(@.name==\"resalloc-server\")].image","pause":"false"}]'
|
|
||||||
openshift.io/generated-by: OpenShiftWebConsole
|
|
||||||
creationTimestamp: "2024-03-11T09:30:15Z"
|
|
||||||
generation: 6
|
|
||||||
labels:
|
labels:
|
||||||
app: resalloc-server
|
app: resalloc-server
|
||||||
app.kubernetes.io/component: resalloc-server
|
app.kubernetes.io/component: resalloc-server
|
||||||
|
@ -19,25 +11,15 @@ metadata:
|
||||||
app.openshift.io/runtime-namespace: openscanhub
|
app.openshift.io/runtime-namespace: openscanhub
|
||||||
name: resalloc-server
|
name: resalloc-server
|
||||||
namespace: openscanhub
|
namespace: openscanhub
|
||||||
resourceVersion: "776292887"
|
|
||||||
uid: c66b473a-87e1-47bf-afbd-51ea8a13bbd3
|
|
||||||
spec:
|
spec:
|
||||||
progressDeadlineSeconds: 600
|
|
||||||
replicas: 1
|
replicas: 1
|
||||||
revisionHistoryLimit: 10
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: resalloc-server
|
app: resalloc-server
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
type: Recreate
|
||||||
maxSurge: 25%
|
|
||||||
maxUnavailable: 25%
|
|
||||||
type: RollingUpdate
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
openshift.io/generated-by: OpenShiftWebConsole
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
labels:
|
||||||
app: resalloc-server
|
app: resalloc-server
|
||||||
deployment: resalloc-server
|
deployment: resalloc-server
|
||||||
|
@ -49,9 +31,6 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 49100
|
- containerPort: 49100
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {}
|
|
||||||
terminationMessagePath: /dev/termination-log
|
|
||||||
terminationMessagePolicy: File
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /etc/resallocserver/server.yaml
|
- mountPath: /etc/resallocserver/server.yaml
|
||||||
name: etc-resallocserver-server-configmap
|
name: etc-resallocserver-server-configmap
|
||||||
|
@ -68,11 +47,7 @@ spec:
|
||||||
- mountPath: /var/lib/resallocserver/.ssh/id_rsa.pub
|
- mountPath: /var/lib/resallocserver/.ssh/id_rsa.pub
|
||||||
name: aws-openscanhub-key
|
name: aws-openscanhub-key
|
||||||
subPath: id_rsa.pub
|
subPath: id_rsa.pub
|
||||||
dnsPolicy: ClusterFirst
|
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
schedulerName: default-scheduler
|
|
||||||
securityContext: {}
|
|
||||||
terminationGracePeriodSeconds: 30
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc-resallocserver-server-configmap
|
- name: etc-resallocserver-server-configmap
|
||||||
configMap:
|
configMap:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue