diff --git a/k8s/app/kustomization.yaml b/k8s/app/kustomization.yaml index 35a5ce2..5a0009f 100644 --- a/k8s/app/kustomization.yaml +++ b/k8s/app/kustomization.yaml @@ -6,6 +6,5 @@ resources: - deployment.yaml - service.yaml - obsidian.yaml - - obsidian-ui.yaml # Secret managed separately (SealedSecret in homelab) # - secrets.yaml diff --git a/k8s/app/obsidian-ui.yaml b/k8s/app/obsidian-ui.yaml deleted file mode 100644 index aa369d7..0000000 --- a/k8s/app/obsidian-ui.yaml +++ /dev/null @@ -1,78 +0,0 @@ ---- -# Obsidian Remote — Full Obsidian Desktop UI in browser via noVNC -# Access at obsidian.riotpiao.com -# Shares vault PVC with obsidian-server (REST API) -apiVersion: apps/v1 -kind: Deployment -metadata: - name: obsidian-ui - namespace: poimen - labels: - app.kubernetes.io/name: obsidian-ui - app.kubernetes.io/part-of: poimen-memory -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: obsidian-ui - template: - metadata: - labels: - app.kubernetes.io/name: obsidian-ui - app.kubernetes.io/part-of: poimen-memory - spec: - containers: - - name: obsidian-ui - image: ghcr.io/sytone/obsidian-remote:latest - ports: - - name: http - containerPort: 8080 - protocol: TCP - volumeMounts: - - name: vault - mountPath: /vaults/poimen-vault - - name: config - mountPath: /config - resources: - requests: - cpu: 200m - memory: 512Mi - limits: - cpu: "1" - memory: 1Gi - readinessProbe: - httpGet: - path: / - port: http - initialDelaySeconds: 10 - periodSeconds: 10 - livenessProbe: - httpGet: - path: / - port: http - initialDelaySeconds: 30 - periodSeconds: 30 - volumes: - - name: vault - persistentVolumeClaim: - claimName: obsidian-vault - - name: config - emptyDir: {} - ---- -apiVersion: v1 -kind: Service -metadata: - name: obsidian-ui - namespace: poimen - labels: - app.kubernetes.io/name: obsidian-ui -spec: - type: ClusterIP - ports: - - name: http - port: 80 - targetPort: 8080 - protocol: TCP - selector: - app.kubernetes.io/name: obsidian-ui