36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: quay-enterprise
|
|
name: quay-enterprise-app
|
|
labels:
|
|
quay-enterprise-component: app # TODO: change to config tool selector
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
quay-enterprise-component: app # TODO: change to config tool selector
|
|
template:
|
|
metadata:
|
|
namespace: quay-enterprise
|
|
labels:
|
|
quay-enterprise-component: app # TODO: change to config tool selector
|
|
spec:
|
|
serviceAccountName: qe-config-tool-serviceaccount
|
|
volumes:
|
|
- name: configvolume
|
|
secret:
|
|
secretName: quay-enterprise-config-secret
|
|
containers:
|
|
- name: quay-enterprise-app
|
|
image: config-app:latest # TODO: change to reference to quay image?
|
|
imagePullPolicy: IfNotPresent # enable when testing with minikube
|
|
args: ["config"]
|
|
ports:
|
|
- containerPort: 80
|
|
volumeMounts:
|
|
- name: configvolume
|
|
readOnly: false
|
|
mountPath: /conf/stack
|
|
imagePullSecrets:
|
|
- name: blueish-pull-secret
|