add profanity
This commit is contained in:
parent
0075f3a7f3
commit
f604c7ae84
24
profanity/deployment.yaml
Normal file
24
profanity/deployment.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: profanity
|
||||
name: profanity
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: profanity
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: profanity
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: HOST
|
||||
value: 0.0.0.0
|
||||
image: ghcr.io/jamesandariese/profanity:main
|
||||
name: profanity
|
||||
restartPolicy: Always
|
24
profanity/ingress.yaml
Normal file
24
profanity/ingress.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: profanity
|
||||
namespace: profanity
|
||||
annotations:
|
||||
haproxy-ingress.github.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: haproxy
|
||||
rules:
|
||||
- host: profanity.strudelline.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: profanity
|
||||
port:
|
||||
number: 5000
|
||||
tls:
|
||||
- hosts:
|
||||
- profanity.strudelline.net
|
||||
secretName: wildcard-tls
|
4
profanity/ns.yaml
Normal file
4
profanity/ns.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: profanity
|
17
profanity/svc.yaml
Normal file
17
profanity/svc.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: profanity
|
||||
name: profanity
|
||||
namespace: profanity
|
||||
spec:
|
||||
selector:
|
||||
app: profanity
|
||||
ports:
|
||||
- name: http
|
||||
port: 5000
|
||||
protocol: TCP
|
||||
targetPort: 5000
|
||||
clusterIP: None
|
||||
type: ClusterIP
|
Loading…
Reference in New Issue
Block a user