Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninstall open-webui #832

Merged
merged 1 commit into from
Nov 29, 2024
Merged

uninstall open-webui #832

merged 1 commit into from
Nov 29, 2024

Conversation

jgilfoil
Copy link
Owner

No description provided.

Copy link

--- HelmRelease: default/open-webui PersistentVolumeClaim: default/open-webui-pipelines

+++ HelmRelease: default/open-webui PersistentVolumeClaim: default/open-webui-pipelines

@@ -1,15 +0,0 @@

----
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  name: open-webui-pipelines
-  labels:
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui-pipelines
-spec:
-  accessModes:
-  - ReadWriteOnce
-  resources:
-    requests:
-      storage: 2Gi
-
--- HelmRelease: default/open-webui Service: default/open-webui-pipelines

+++ HelmRelease: default/open-webui Service: default/open-webui-pipelines

@@ -1,20 +0,0 @@

----
-apiVersion: v1
-kind: Service
-metadata:
-  name: open-webui-pipelines
-  labels:
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui-pipelines
-spec:
-  selector:
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui-pipelines
-  type: ClusterIP
-  ports:
-  - protocol: TCP
-    name: http
-    port: 9099
-    targetPort: http
-
--- HelmRelease: default/open-webui Service: default/open-webui

+++ HelmRelease: default/open-webui Service: default/open-webui

@@ -1,20 +0,0 @@

----
-apiVersion: v1
-kind: Service
-metadata:
-  name: open-webui
-  labels:
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui
-spec:
-  selector:
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui
-  type: ClusterIP
-  ports:
-  - protocol: TCP
-    name: http
-    port: 80
-    targetPort: http
-
--- HelmRelease: default/open-webui Deployment: default/open-webui-pipelines

+++ HelmRelease: default/open-webui Deployment: default/open-webui-pipelines

@@ -1,41 +0,0 @@

----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  name: open-webui-pipelines
-  labels:
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui-pipelines
-spec:
-  replicas: 1
-  selector:
-    matchLabels:
-      app.kubernetes.io/instance: open-webui
-      app.kubernetes.io/component: open-webui-pipelines
-  template:
-    metadata:
-      labels:
-        app.kubernetes.io/managed-by: Helm
-        app.kubernetes.io/instance: open-webui
-        app.kubernetes.io/component: open-webui-pipelines
-    spec:
-      enableServiceLinks: false
-      automountServiceAccountToken: false
-      containers:
-      - name: pipelines
-        image: ghcr.io/open-webui/pipelines:main
-        imagePullPolicy: Always
-        ports:
-        - name: http
-          containerPort: 9099
-        volumeMounts:
-        - name: data
-          mountPath: /app/backend/data
-        env: null
-        tty: true
-      volumes:
-      - name: data
-        persistentVolumeClaim:
-          claimName: open-webui-pipelines
-
--- HelmRelease: default/open-webui StatefulSet: default/open-webui

+++ HelmRelease: default/open-webui StatefulSet: default/open-webui

@@ -1,59 +0,0 @@

----
-apiVersion: apps/v1
-kind: StatefulSet
-metadata:
-  name: open-webui
-  labels:
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui
-spec:
-  replicas: 1
-  serviceName: open-webui
-  selector:
-    matchLabels:
-      app.kubernetes.io/instance: open-webui
-      app.kubernetes.io/component: open-webui
-  template:
-    metadata:
-      labels:
-        app.kubernetes.io/managed-by: Helm
-        app.kubernetes.io/instance: open-webui
-        app.kubernetes.io/component: open-webui
-    spec:
-      initContainers:
-      - name: copy-app-data
-        image: ghcr.io/open-webui/open-webui:0.4.1
-        imagePullPolicy: IfNotPresent
-        command:
-        - sh
-        - -c
-        - cp -R -n /app/backend/data/* /tmp/app-data/
-        volumeMounts:
-        - name: data
-          mountPath: /tmp/app-data
-      enableServiceLinks: false
-      automountServiceAccountToken: false
-      containers:
-      - name: open-webui
-        image: ghcr.io/open-webui/open-webui:0.4.1
-        imagePullPolicy: IfNotPresent
-        ports:
-        - name: http
-          containerPort: 8080
-        volumeMounts:
-        - name: data
-          mountPath: /app/backend/data
-        env:
-        - name: OLLAMA_BASE_URLS
-          value: http://forge...PLACEHOLDER_SECRET_DOMAIN..:11434
-        - name: OPENAI_API_BASE_URL
-          value: http://open-webui-pipelines.default.svc.cluster.local:9099
-        - name: OPENAI_API_KEY
-          value: 0p3n-w3bu!
-        tty: true
-      volumes:
-      - name: data
-        persistentVolumeClaim:
-          claimName: open-webui
-
--- HelmRelease: default/open-webui Ingress: default/open-webui

+++ HelmRelease: default/open-webui Ingress: default/open-webui

@@ -1,32 +0,0 @@

----
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
-  name: open-webui
-  labels:
-    app.kubernetes.io/managed-by: Helm
-    app.kubernetes.io/instance: open-webui
-    app.kubernetes.io/component: open-webui
-  annotations:
-    gethomepage.dev/enabled: 'true'
-    gethomepage.dev/group: Media
-    gethomepage.dev/icon: meta.svg
-    gethomepage.dev/name: Open-WebUI
-spec:
-  ingressClassName: internal
-  tls:
-  - hosts:
-    - open-webui...PLACEHOLDER_SECRET_DOMAIN..
-    secretName: open-webui-tls
-  rules:
-  - host: open-webui...PLACEHOLDER_SECRET_DOMAIN..
-    http:
-      paths:
-      - path: /
-        pathType: Prefix
-        backend:
-          service:
-            name: open-webui
-            port:
-              name: http
-

Copy link

--- kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui HelmRelease: default/open-webui

+++ kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui HelmRelease: default/open-webui

@@ -1,49 +0,0 @@

----
-apiVersion: helm.toolkit.fluxcd.io/v2
-kind: HelmRelease
-metadata:
-  labels:
-    app.kubernetes.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: open-webui
-  namespace: default
-spec:
-  chart:
-    spec:
-      chart: open-webui
-      sourceRef:
-        kind: HelmRepository
-        name: open-webui
-        namespace: flux-system
-      version: 3.8.0
-  install:
-    remediation:
-      retries: 3
-  interval: 30m
-  timeout: 15m
-  uninstall:
-    keepHistory: false
-  upgrade:
-    cleanupOnFail: true
-    remediation:
-      retries: 3
-  values:
-    ingress:
-      annotations:
-        gethomepage.dev/enabled: 'true'
-        gethomepage.dev/group: Media
-        gethomepage.dev/icon: meta.svg
-        gethomepage.dev/name: Open-WebUI
-      class: internal
-      enabled: true
-      host: open-webui...PLACEHOLDER_SECRET_DOMAIN..
-      tls: true
-    ollama:
-      enabled: false
-    ollamaUrls:
-    - http://forge...PLACEHOLDER_SECRET_DOMAIN..:11434
-    persistence:
-      enabled: true
-      existingClaim: open-webui
-
--- kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui PersistentVolumeClaim: default/open-webui

+++ kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui PersistentVolumeClaim: default/open-webui

@@ -1,22 +0,0 @@

----
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  labels:
-    app.kubernetes.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: open-webui
-  namespace: default
-spec:
-  accessModes:
-  - ReadWriteOnce
-  dataSourceRef:
-    apiGroup: volsync.backube
-    kind: ReplicationDestination
-    name: open-webui-dst
-  resources:
-    requests:
-      storage: 1Gi
-  storageClassName: ceph-block
-
--- kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui ReplicationDestination: default/open-webui-dst

+++ kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui ReplicationDestination: default/open-webui-dst

@@ -1,24 +0,0 @@

----
-apiVersion: volsync.backube/v1alpha1
-kind: ReplicationDestination
-metadata:
-  labels:
-    app.kubernetes.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: open-webui-dst
-  namespace: default
-spec:
-  restic:
-    accessModes:
-    - ReadWriteOnce
-    cacheCapacity: 1Gi
-    cacheStorageClassName: openebs-hostpath
-    capacity: 1Gi
-    copyMethod: Snapshot
-    repository: open-webui-restic-secret
-    storageClassName: ceph-block
-    volumeSnapshotClassName: csi-ceph-blockpool
-  trigger:
-    manual: restore-once
-
--- kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui ReplicationSource: default/open-webui

+++ kubernetes/apps/default/open-webui/app Kustomization: flux-system/open-webui ReplicationSource: default/open-webui

@@ -1,27 +0,0 @@

----
-apiVersion: volsync.backube/v1alpha1
-kind: ReplicationSource
-metadata:
-  labels:
-    app.kubernetes.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/name: open-webui
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: open-webui
-  namespace: default
-spec:
-  restic:
-    cacheCapacity: 1Gi
-    cacheStorageClassName: openebs-hostpath
-    copyMethod: Snapshot
-    pruneIntervalDays: 3
-    repository: open-webui-restic-secret
-    retain:
-      daily: 7
-      monthly: 3
-      weekly: 3
-    storageClassName: ceph-block
-    volumeSnapshotClassName: csi-ceph-blockpool
-  sourcePVC: open-webui
-  trigger:
-    schedule: 0 10 * * *
-
--- kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/open-webui

+++ kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/open-webui

@@ -1,45 +0,0 @@

----
-apiVersion: kustomize.toolkit.fluxcd.io/v1
-kind: Kustomization
-metadata:
-  labels:
-    kustomize.toolkit.fluxcd.io/name: cluster-apps
-    kustomize.toolkit.fluxcd.io/namespace: flux-system
-  name: open-webui
-  namespace: flux-system
-spec:
-  commonMetadata:
-    labels:
-      app.kubernetes.io/name: open-webui
-  decryption:
-    provider: sops
-    secretRef:
-      name: sops-age
-  interval: 30m
-  path: ./kubernetes/apps/default/open-webui/app
-  postBuild:
-    substitute:
-      APP: open-webui
-      NAMESPACE: default
-      VOLSYNC_CACHE_CAPCITY: 1Gi
-      VOLSYNC_CAPACITY: 1Gi
-    substituteFrom:
-    - kind: ConfigMap
-      name: cluster-settings
-    - kind: Secret
-      name: cluster-secrets
-    - kind: ConfigMap
-      name: cluster-settings-user
-      optional: true
-    - kind: Secret
-      name: cluster-secrets-user
-      optional: true
-  prune: true
-  retryInterval: 5m30s
-  sourceRef:
-    kind: GitRepository
-    name: home-kubernetes
-  targetNamespace: default
-  timeout: 5m
-  wait: false
-

@jgilfoil jgilfoil merged commit b13c5f2 into main Nov 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant