31 lines
702 B
YAML
31 lines
702 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: well-known-werts
|
|
name: well-known-werts
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: well-known-werts
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: well-known-werts
|
|
spec:
|
|
restartPolicy: Always
|
|
containers:
|
|
- image: httpd:latest
|
|
name: well-known-werts
|
|
ports:
|
|
- containerPort: 80
|
|
volumeMounts:
|
|
- name: well-known-werts-matrix
|
|
mountPath: /usr/local/apache2/htdocs/.well-known/matrix
|
|
volumes:
|
|
- name: well-known-werts-matrix
|
|
configMap:
|
|
name: well-known-werts-matrix
|