VPN: rm apps/nebula
diff --git a/.gitmodules b/.gitmodules
index 80679cc..24cb3f3 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
[submodule "apps/maddy"]
path = apps/maddy/maddy
url = https://github.com/foxcpp/maddy.git
-[submodule "apps/nebula/nebula"]
- path = apps/nebula/nebula
- url = https://github.com/slackhq/nebula.git
diff --git a/apps/nebula/install.yaml b/apps/nebula/install.yaml
deleted file mode 100644
index 16a22ca..0000000
--- a/apps/nebula/install.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
----
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app-nebula
----
-apiVersion: v1
-kind: Service
-metadata:
- name: nebula
- namespace: app-nebula
-spec:
- type: LoadBalancer
- selector:
- app: nebula
- ports:
- - name: nebula
- port: 4242
- targetPort: nebula
- protocol: UDP
-# ---
-# apiVersion: networking.k8s.io/v1
-# kind: Ingress
-# metadata:
-# name: ingress
-# namespace: app-nebula
-# annotations:
-# cert-manager.io/cluster-issuer: "letsencrypt-prod"
-# acme.cert-manager.io/http01-edit-in-place: "true"
-# spec:
-# ingressClassName: nginx
-# tls:
-# - hosts:
-# - woof.lekva.me
-# secretName: cert-woof.lekva.me
-# rules:
-# - host: woof.lekva.me
-# http:
-# paths:
-# - path: /
-# pathType: Prefix
-# backend:
-# service:
-# name: nebula
-# port:
-# name: http
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: nebula
- namespace: app-nebula
-spec:
- selector:
- matchLabels:
- app: nebula
- replicas: 1
- template:
- metadata:
- labels:
- app: nebula
- spec:
- volumes:
- - name: lighthouse-cert
- configMap:
- name: lighthouse-cert
- - name: ca-cert
- configMap:
- name: ca-cert
- - name: config
- configMap:
- name: lighthouse-config
- containers:
- - name: nebula
- image: giolekva/nebula:latest
- imagePullPolicy: IfNotPresent
- securityContext:
- capabilities:
- add:
- - NET_ADMIN
- privileged: true
- ports:
- - name: nebula
- containerPort: 4242
- protocol: UDP
- command: ["nebula", "--config=/etc/nebula/config/lighthouse.yaml"]
- volumeMounts:
- - name: lighthouse-cert
- mountPath: /etc/nebula/lighthouse
- - name: ca-cert
- mountPath: /etc/nebula/ca
- - name: config
- mountPath: /etc/nebula/config
diff --git a/apps/nebula/nebula b/apps/nebula/nebula
deleted file mode 160000
index 9f34c5e..0000000
--- a/apps/nebula/nebula
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 9f34c5e2baa7b05b34bcbb13b62beb1bafd92530