forked from manifoldco/kubernetes-credentials
-
Notifications
You must be signed in to change notification settings - Fork 1
/
credentials-controller.yml
47 lines (43 loc) · 1.03 KB
/
credentials-controller.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: v1
kind: Namespace
metadata:
name: manifold-system
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: manifold-credentials
namespace: manifold-system
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: credentials-controller
namespace: manifold-system
spec:
replicas: 1
template:
metadata:
labels:
app: "manifold-k8s-credentials-controller"
spec:
serviceAccountName: manifold-credentials
containers:
- name: credentials-controller
image: manifoldco/kubernetes-credentials:v0.1.3
env:
- name: MANIFOLD_API_TOKEN
valueFrom:
secretKeyRef:
name: manifold-api-secrets
key: api_token
- name: MANIFOLD_TEAM
valueFrom:
secretKeyRef:
name: manifold-api-secrets
key: team
optional: true
resources:
requests:
cpu: 100m
memory: 10Mi