75 lines
1.2 KiB
YAML
75 lines
1.2 KiB
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: nocodb
|
|
labels:
|
|
app: nocodb
|
|
|
|
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nocodb
|
|
namespace: nocodb
|
|
labels:
|
|
app: nocodb
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nocodb
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nocodb
|
|
spec:
|
|
containers:
|
|
- name: nocodb
|
|
image: nocodb/nocodb
|
|
tty: true
|
|
ports:
|
|
- containerPort: 8080
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nocodb
|
|
namespace: nocodb
|
|
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
selector:
|
|
app: nocodb
|
|
|
|
---
|
|
|
|
kind: Ingress
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
namespace: nocodb
|
|
name: nocodb-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
cert-manager.io/cluster-issuer: cloudflare-letsencrypt-prod
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- nocodb.kluster.moll.re
|
|
secretName: cloudflare-letsencrypt-issuer-account-key
|
|
rules:
|
|
- host: nocodb.kluster.moll.re
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: nocodb
|
|
port:
|
|
number: 8080
|
|
path: /
|
|
pathType: Prefix |