41 lines
971 B
YAML
41 lines
971 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
namespace: quay-enterprise
|
||
|
name: quay-enterprise-app
|
||
|
labels:
|
||
|
quay-enterprise-component: app
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
quay-enterprise-component: app
|
||
|
template:
|
||
|
metadata:
|
||
|
namespace: quay-enterprise
|
||
|
labels:
|
||
|
quay-enterprise-component: app
|
||
|
spec:
|
||
|
volumes:
|
||
|
- name: configvolume
|
||
|
secret:
|
||
|
secretName: quay-enterprise-config-secret
|
||
|
containers:
|
||
|
- name: quay-enterprise-app
|
||
|
image: quay.io/coreos/quay:v2.9.3
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
readinessProbe:
|
||
|
failureThreshold: 3
|
||
|
httpGet:
|
||
|
path: /health
|
||
|
port: 80
|
||
|
initialDelaySeconds: 10
|
||
|
periodSeconds: 5
|
||
|
volumeMounts:
|
||
|
- name: configvolume
|
||
|
readOnly: false
|
||
|
mountPath: /conf/stack
|
||
|
imagePullSecrets:
|
||
|
- name: coreos-pull-secret
|