Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 7c7a8f0

Browse files
committed
Add example env vars to operator deployment
1 parent c255491 commit 7c7a8f0

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

operator/config/manager/manager.yaml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,26 @@ spec:
2323
control-plane: controller-manager
2424
spec:
2525
containers:
26-
- command:
27-
- /manager
28-
args:
29-
- --enable-leader-election
30-
image: controller:latest
31-
name: manager
32-
resources:
33-
limits:
34-
cpu: 100m
35-
memory: 30Mi
36-
requests:
37-
cpu: 100m
38-
memory: 20Mi
26+
- command:
27+
- /manager
28+
args:
29+
- --enable-leader-election
30+
image: controller:latest
31+
name: manager
32+
env:
33+
- name: S3_ENDPOINT
34+
value: "fra1.digitaloceanspaces.com"
35+
- name: S3_ACCESS_KEY
36+
value: "ACCECC_KEY_HERE"
37+
- name: S3_SECRET_KEY
38+
value: "SECRET_KEY_HERE"
39+
- name: S3_BUCKET
40+
value: "securecodebox"
41+
resources:
42+
limits:
43+
cpu: 100m
44+
memory: 30Mi
45+
requests:
46+
cpu: 100m
47+
memory: 20Mi
3948
terminationGracePeriodSeconds: 10

0 commit comments

Comments
 (0)