Skip to content

Commit 174e2c7

Browse files
Add client manifest
1 parent 2f9f044 commit 174e2c7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

test/e2e/manifests/client.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: app-example
5+
spec:
6+
selector:
7+
matchLabels:
8+
app: app-example
9+
template:
10+
metadata:
11+
annotations:
12+
operator.1password.io/inject: "app-example"
13+
labels:
14+
app: app-example
15+
spec:
16+
containers:
17+
- name: app-example
18+
image: app-example:latest
19+
imagePullPolicy: Never
20+
resources:
21+
limits:
22+
memory: "128Mi"
23+
cpu: "0.2"
24+
ports:
25+
- containerPort: 5000
26+
command: [ "npm" ]
27+
args: [ "start" ]
28+
env:
29+
- name: OP_SERVICE_ACCOUNT_TOKEN
30+
valueFrom:
31+
secretKeyRef:
32+
name: onepassword-service-account-token
33+
key: token
34+
- name: USER_NAME
35+
value: op://A/Login/username
36+
- name: PASSWORD
37+
value: op://A/Login/password

0 commit comments

Comments
 (0)