-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
controller.yaml
39 lines (39 loc) · 853 Bytes
/
controller.yaml
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
apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: registry-creds-controller
name: system
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: registry-creds-controller
namespace: system
labels:
control-plane: registry-creds-controller
spec:
selector:
matchLabels:
control-plane: registry-creds-controller
replicas: 1
template:
metadata:
labels:
control-plane: registry-creds-controller
spec:
containers:
- command:
- /controller
args:
- --enable-leader-election
image: ghcr.io/alexellis/registry-creds-controller:0.1.1
name: controller
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10