linkerd2/cli/cmd/testdata/inject_contour.input.yml

63 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: contour
name: contour
namespace: heptio-contour
spec:
replicas: 2
selector:
matchLabels:
app: contour
template:
metadata:
annotations:
prometheus.io/format: prometheus
prometheus.io/path: /stats
prometheus.io/port: "9001"
prometheus.io/scrape: "true"
labels:
app: contour
spec:
containers:
- args:
- serve
- --incluster
command:
- contour
image: gcr.io/heptio-images/contour:master
imagePullPolicy: Always
name: contour
- args:
- --config-path /config/contour.yaml
- --service-cluster cluster0
- --service-node node0
- --log-level info
- --v2-config-only
command:
- envoy
image: docker.io/envoyproxy/envoy-alpine:v1.6.0
name: envoy
ports:
- containerPort: 8080
name: http
- containerPort: 8443
name: https
volumeMounts:
- mountPath: /config
name: contour-config
initContainers:
- args:
- bootstrap
- /config/contour.yaml
command:
- contour
image: gcr.io/heptio-images/contour:master
imagePullPolicy: Always
name: envoy-initconfig
volumeMounts:
- mountPath: /config
name: contour-config
---