File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments