namesny-com: Add website
This commit is contained in:
parent
246da87bda
commit
d04aa12c4a
|
@ -0,0 +1,24 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: namesny-com
|
||||
namespace: namesny-com
|
||||
labels:
|
||||
app: namesny-com
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: namesny-com
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: namesny-com
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-regcred
|
||||
containers:
|
||||
- name: namesny-com
|
||||
image: git.namesny.com/mathis/namesny-com:2023-11-22
|
||||
ports:
|
||||
- containerPort: 80
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: namesny-com-ingress
|
||||
namespace: namesny-com
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`namesny.com`, `www.namesny.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: namesny-com-svc
|
||||
port: 80
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: namesny-com
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: namesny-com
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: namesny-com-svc
|
||||
namespace: namesny-com
|
||||
spec:
|
||||
selector:
|
||||
app: namesny-com
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
Loading…
Reference in New Issue