forked from ExpediaGroup/kubernetes-sidecar-injector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
28 lines (28 loc) · 794 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ .Chart.Name }}
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: {{ .Chart.Name }}
template:
metadata:
annotations:
sidecar-injector.expedia.com/inject: "haystack-agent-sidecar"
sidecar-injector.expedia.com/some-api-key: "6feab492-fc9b-4c38-b50d-3791718c8203"
labels:
app.kubernetes.io/name: {{ .Chart.Name }}
spec:
serviceAccountName: {{ .Chart.Name }}
containers:
- name: echo-server
image: hashicorp/http-echo:0.2.3
imagePullPolicy: IfNotPresent
args:
- -listen=:8080
- -text="hello world"