File tree 4 files changed +100
-0
lines changed
4 files changed +100
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : aws-ecr-http-proxy-aws-credentials
5
+ namespace : kube-system
6
+ type : Opaque
7
+ data :
8
+ aws_access_key_id : __base64_encoded_access_key_id__
9
+ aws_secret_access_key : __base64_encoded_secret_access_key__
10
+
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Secret
3
+ metadata :
4
+ name : aws-ecr-http-proxy-ssl-certs
5
+ namespace : kube-system
6
+ type : Opaque
7
+ data :
8
+ ssl.cert : __base64_encoded_cert__
9
+ ssl.key : __base64_encoded_key__
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : aws-ecr-http-proxy
5
+ namespace : kube-system
6
+ labels :
7
+ app : aws-ecr-http-proxy
8
+ spec :
9
+ replicas : 1
10
+ selector :
11
+ matchLabels :
12
+ app : aws-ecr-http-proxy
13
+ template :
14
+ metadata :
15
+ labels :
16
+ app : aws-ecr-http-proxy
17
+ spec :
18
+ containers :
19
+ - name : aws-ecr-http-proxy
20
+ image : kwarunek/aws-ecr-http-proxy:2.0.1
21
+ resources :
22
+ limits :
23
+ cpu : " 500m"
24
+ memory : " 512Mi"
25
+ requests :
26
+ cpu : " 250m"
27
+ memory : " 256Mi"
28
+ ports :
29
+ - containerPort : 5000
30
+ env :
31
+ - name : PORT
32
+ value : " 5000"
33
+ - name : RESOLVER
34
+ value : " 8.8.8.8"
35
+ - name : ECR
36
+ value : " https://_____ACCOUNT_ID______.dkr.ecr.eu-central-1.amazonaws.com"
37
+ - name : CACHE_MAX_SIZE
38
+ value : " 75g"
39
+ - name : ENABLE_SSL
40
+ value : " true"
41
+ - name : SSL_KEY
42
+ value : " /opt/ssl/ssl.key"
43
+ - name : SSL_CERTIFICATE
44
+ value : " /opt/ssl/ssl.cert"
45
+ - name : AWS_ACCESS_KEY_ID
46
+ valueFrom :
47
+ secretKeyRef :
48
+ name : aws-ecr-http-proxy-aws-credentials
49
+ key : AWS_ACCESS_KEY_ID
50
+ - name : AWS_SECRET_ACCESS_KEY
51
+ valueFrom :
52
+ secretKeyRef :
53
+ name : aws-ecr-http-proxy-aws-credentials
54
+ key : AWS_SECRET_ACCESS_KEY
55
+ volumeMounts :
56
+ - name : ssl-certs
57
+ mountPath : /opt/ssl
58
+ readOnly : true
59
+ - name : cache-volume
60
+ mountPath : /cache
61
+ volumes :
62
+ - name : cache-volume
63
+ emptyDir : {}
64
+ - name : ssl-certs
65
+ secret :
66
+ secretName : aws-ecr-http-proxy-ssl-certs
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : aws-ecr-http-proxy
5
+ namespace : kube-system
6
+ labels :
7
+ app : aws-ecr-http-proxy
8
+ spec :
9
+ type : ClusterIP
10
+ ports :
11
+ - port : 5000
12
+ targetPort : 5000
13
+ protocol : TCP
14
+ selector :
15
+ app : aws-ecr-http-proxy
You can’t perform that action at this time.
0 commit comments