github.com/telepresenceio/telepresence/v2@v2.20.0-pro.6.0.20240517030216-236ea954e789/integration_test/testdata/k8s/echo_with_env.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Service 4 metadata: 5 name: "echo-easy" 6 spec: 7 type: ClusterIP 8 selector: 9 app: echo-easy 10 ports: 11 - name: proxied 12 port: 80 13 targetPort: http 14 --- 15 apiVersion: apps/v1 16 kind: Deployment 17 metadata: 18 name: "echo-easy" 19 labels: 20 app: echo-easy 21 spec: 22 replicas: 1 23 selector: 24 matchLabels: 25 app: echo-easy 26 template: 27 metadata: 28 labels: 29 app: echo-easy 30 spec: 31 containers: 32 - name: echo-easy 33 image: jmalloc/echo-server 34 env: 35 - name: TEST 36 value: "DATA" 37 - name: INTERCEPT 38 value: "ENV" 39 - name: DATABASE_HOST 40 value: "HOST_NAME" 41 - name: DATABASE_PASSWORD 42 value: "SUPER_SECRET_PASSWORD" 43 ports: 44 - containerPort: 8080 45 name: http 46 resources: 47 limits: 48 cpu: 50m 49 memory: 128Mi