removed shynet resources

This commit is contained in:
bom 2022-02-09 10:53:20 +01:00
parent ff58d70f0d
commit 529abf4d46
7 changed files with 0 additions and 143 deletions

View file

@ -1,13 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: jitsi-cert
namespace: default
spec:
secretName: jitsi-secret
commonName: fqdn
dnsNames:
- fqdn
issuerRef:
name: letsencrypt-staging-issuer
kind: ClusterIssuer

View file

@ -1,27 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: jitsi-application
namespace: default
labels:
app: jitsi-application
spec:
selector:
matchLabels:
app: jitsi-application
strategy:
type: Recreate
replicas: 1
template:
metadata:
labels:
app: jitsi-application
spec:
containers:
- name: jitsi-application
image: milesmcc/jitsi:v0.12.0
imagePullPolicy: IfNotPresent
command: ["./celeryworker.sh"]
envFrom:
- secretRef:
name: jitsi-settings

View file

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jitsi-webserver-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging-issuer
nginx.ingress.kubernetes.io/proxy-body-size: "256m"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
spec:
tls:
- hosts:
- fqdn
secretName: jitsi-secret
rules:
- host: fqdn
http:
paths:
- backend:
service:
name: jitsi-webserver-service
port:
number: 8080
path: /
pathType: Prefix

View file

@ -1,32 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: jitsi-settings
type: Opaque
stringData:
# Django settings
DEBUG: "False"
# This is hidden behind ingress and (presumably) only works if it has access to
# all jitsi pods and services
# If this is not set to '*' there is 404 on every webpage
ALLOWED_HOSTS: "*" # For better security, set this to your deployment's domain. Comma separated.
DJANGO_SECRET_KEY: django-secret-key
ACCOUNT_SIGNUPS_ENABLED: "False"
TIME_ZONE: "America/New_York"
# Redis configuration (if you use the default Kubernetes config, this will work)
REDIS_CACHE_LOCATION: "redis://jitsi-redis.default.svc.cluster.local/0"
CELERY_BROKER_URL: "redis://jitsi-redis.default.svc.cluster.local/1"
# PostgreSQL settings
DB_NAME: "jitsi"
DB_USER: postgres-db-user
DB_PASSWORD: postgres-db-password
DB_HOST: "postgresql-service"
# Email settings
EMAIL_HOST_USER: ""
EMAIL_HOST_PASSWORD: ""
EMAIL_HOST: ""
SERVER_EMAIL: "jitsi <noreply@jitsi.example.com>"

View file

@ -1,11 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: jitsi-redis
spec:
ports:
- port: 6379
name: redis
clusterIP: None
selector:
app: jitsi-redis

View file

@ -1,10 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: jitsi-webserver-service
spec:
type: ClusterIP
ports:
- port: 8080
selector:
app: jitsi-webserver

View file

@ -1,22 +0,0 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: jitsi-redis
spec:
selector:
matchLabels:
app: jitsi-redis
serviceName: jitsi-redis
replicas: 1
template:
metadata:
labels:
app: jitsi-redis
spec:
containers:
- name: jitsi-redis
image: redis:6.2.6
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
name: redis