diff --git a/apps/obsidian/base/deployment.yaml b/apps/obsidian/base/deployment.yaml deleted file mode 100644 index 8f66b9a..0000000 --- a/apps/obsidian/base/deployment.yaml +++ /dev/null @@ -1,61 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: obsidian - namespace: obsidian - labels: - app.kubernetes.io/name: obsidian -spec: - selector: - matchLabels: - app.kubernetes.io/name: obsidian - template: - metadata: - labels: - app.kubernetes.io/name: obsidian - spec: - containers: - - name: obsidian - image: ghcr.io/sytone/obsidian-remote:0.1.1 - securityContext: - allowPrivilegeEscalation: true - env: - - name: TZ - value: "Australia/Sydney" - - name: DOCKER_MODS - value: "linuxserver/mods:universal-git" - - name: CUSTOM_PORT - value: "8080" - - name: CUSTOM_HTTPS_PORT - value: "8443" - - name: KEYBOARD - value: "en-us-qwerty" - - name: TITLE - value: "Obsidian" - - name: CUSTOM_USER - value: "" - - name: PASSWORD - value: "" - - name: SUBFOLDER - value: "" - ports: - - protocol: TCP - containerPort: 8080 - name: http - - protocol: TCP - containerPort: 8443 - name: https - volumeMounts: - - name: obsidian-config - mountPath: /config - - name: obsidian-vaults - mountPath: /vaults - volumes: - - name: obsidian-config - hostPath: - path: /mnt/nfs/AppData/obsidian/config - type: Directory - - name: obsidian-vaults - hostPath: - path: /mnt/nfs/AppData/obsidian/vaults - type: Directory diff --git a/apps/obsidian/base/kustomization.yaml b/apps/obsidian/base/kustomization.yaml deleted file mode 100644 index 87b09a3..0000000 --- a/apps/obsidian/base/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ./deployment.yaml - - ./service.yaml \ No newline at end of file diff --git a/apps/obsidian/base/service.yaml b/apps/obsidian/base/service.yaml deleted file mode 100644 index ee950da..0000000 --- a/apps/obsidian/base/service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: obsidian - namespace: obsidian - labels: - app.kubernetes.io/name: obsidian -spec: - selector: - app.kubernetes.io/name: obsidian - type: ClusterIP - internalTrafficPolicy: Cluster - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - name: http diff --git a/apps/obsidian/env/k3s-cluster/config.json b/apps/obsidian/env/k3s-cluster/config.json deleted file mode 100644 index b3ec9c2..0000000 --- a/apps/obsidian/env/k3s-cluster/config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "appName": "obsidian", - "userGivenName": "obsidian", - "namespace": "obsidian", - "destNamespace": "obsidian", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/obsidian/env/k3s-cluster", - "srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git", - "srcTargetRevision": "", - "labels": null, - "annotations": null -} \ No newline at end of file diff --git a/apps/obsidian/env/k3s-cluster/ingress.yaml b/apps/obsidian/env/k3s-cluster/ingress.yaml deleted file mode 100644 index cd2be23..0000000 --- a/apps/obsidian/env/k3s-cluster/ingress.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: obsidian-ingress - namespace: obsidian - annotations: - nginx.ingress.kubernetes.io/ssl-redirect: "false" - nginx.ingress.kubernetes.io/use-regex: "true" -spec: - ingressClassName: nginx - rules: - - host: "obsidian.cluster.edward.sydney" - http: - paths: - - pathType: Prefix - path: "/" - backend: - service: - name: obsidian - port: - number: 8080 \ No newline at end of file diff --git a/apps/obsidian/env/k3s-cluster/kustomization.yaml b/apps/obsidian/env/k3s-cluster/kustomization.yaml deleted file mode 100644 index 3ea3085..0000000 --- a/apps/obsidian/env/k3s-cluster/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: - - ../../base - - ./ingress.yaml \ No newline at end of file