File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed
kubernetes/namespaces/codejam-winners/monsteras Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : monsteras
5
+ namespace : codejam-winners
6
+ spec :
7
+ replicas : 1
8
+ selector :
9
+ matchLabels :
10
+ app : monsteras
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : monsteras
15
+ spec :
16
+ containers :
17
+ - name : monsteras
18
+ image : ghcr.io/python-discord/cj-monsteras
19
+ imagePullPolicy : Always
20
+ ports :
21
+ - containerPort : 80
22
+ name : http
23
+ securityContext :
24
+ readOnlyRootFilesystem : true
25
+ securityContext :
26
+ fsGroup : 2000
27
+ runAsUser : 1000
28
+ runAsNonRoot : true
Original file line number Diff line number Diff line change
1
+ apiVersion : networking.k8s.io/v1
2
+ kind : Ingress
3
+ metadata :
4
+ annotations :
5
+ nginx.ingress.kubernetes.io/auth-tls-verify-client : " on"
6
+ nginx.ingress.kubernetes.io/auth-tls-secret : " kube-system/mtls-client-crt-bundle"
7
+ nginx.ingress.kubernetes.io/auth-tls-error-page : " https://maintenance.python-discord.workers.dev/"
8
+ name : monsteras
9
+ namespace : codejam-winners
10
+ spec :
11
+ tls :
12
+ - hosts :
13
+ - " *.pythondiscord.com"
14
+ secretName : pythondiscord.com-tls
15
+ rules :
16
+ - host : monsteras.pythondiscord.com
17
+ http :
18
+ paths :
19
+ - path : /
20
+ pathType : Prefix
21
+ backend :
22
+ service :
23
+ name : monsteras
24
+ port :
25
+ number : 80
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : monsteras
5
+ namespace : codejam-winners
6
+ spec :
7
+ selector :
8
+ app : monsteras
9
+ ports :
10
+ - protocol : TCP
11
+ port : 80
12
+ targetPort : 8080
You can’t perform that action at this time.
0 commit comments