add 0x76.yaml
This commit is contained in:
parent
9d3648cc18
commit
63232630f9
|
@ -1,3 +1,4 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources: []
|
resources:
|
||||||
|
- websites
|
||||||
|
|
52
flux/olympus/apps/websites/0x76.yaml
Normal file
52
flux/olympus/apps/websites/0x76.yaml
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: x76dev
|
||||||
|
namespace: websites
|
||||||
|
labels:
|
||||||
|
app: x76dev
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: x76dev
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: x76dev
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: x76dev
|
||||||
|
image: git.0x76.dev/v/0x76.dev:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: x76dev-service
|
||||||
|
namespace: websites
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: x76dev
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: x76dev-ingress
|
||||||
|
namespace: websites
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: "0x76.dev"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: x76dev-service
|
||||||
|
port:
|
||||||
|
number: 80
|
4
flux/olympus/apps/websites/kustomization.yaml
Normal file
4
flux/olympus/apps/websites/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- 0x76.yaml
|
Loading…
Reference in a new issue