diff --git a/src/main/resources/shynet/certificate.yaml b/src/main/resources/shynet/certificate.yaml deleted file mode 100644 index 9e13958..0000000 --- a/src/main/resources/shynet/certificate.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/src/main/resources/shynet/deployments.yaml b/src/main/resources/shynet/deployments.yaml deleted file mode 100644 index 137bb16..0000000 --- a/src/main/resources/shynet/deployments.yaml +++ /dev/null @@ -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 diff --git a/src/main/resources/shynet/ingress.yaml b/src/main/resources/shynet/ingress.yaml deleted file mode 100644 index 87f023a..0000000 --- a/src/main/resources/shynet/ingress.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/src/main/resources/shynet/secret.yaml b/src/main/resources/shynet/secret.yaml deleted file mode 100644 index 3ac7b61..0000000 --- a/src/main/resources/shynet/secret.yaml +++ /dev/null @@ -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 " \ No newline at end of file diff --git a/src/main/resources/shynet/service-redis.yaml b/src/main/resources/shynet/service-redis.yaml deleted file mode 100644 index f8fe44f..0000000 --- a/src/main/resources/shynet/service-redis.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: jitsi-redis -spec: - ports: - - port: 6379 - name: redis - clusterIP: None - selector: - app: jitsi-redis \ No newline at end of file diff --git a/src/main/resources/shynet/service-webserver.yaml b/src/main/resources/shynet/service-webserver.yaml deleted file mode 100644 index 08662e8..0000000 --- a/src/main/resources/shynet/service-webserver.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: jitsi-webserver-service -spec: - type: ClusterIP - ports: - - port: 8080 - selector: - app: jitsi-webserver \ No newline at end of file diff --git a/src/main/resources/shynet/statefulset.yaml b/src/main/resources/shynet/statefulset.yaml deleted file mode 100644 index 8382cd2..0000000 --- a/src/main/resources/shynet/statefulset.yaml +++ /dev/null @@ -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 \ No newline at end of file