From 02228e31ccb61724fce2d4df0a22af813b0f93c8 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Mon, 27 May 2024 21:27:18 -0500 Subject: [PATCH] remove tubearchivist --- charts/tubearchivist/Chart.yaml | 22 ----- charts/tubearchivist/README.md | 16 ---- .../tubearchivist/templates/deployment.yaml | 82 ------------------- charts/tubearchivist/templates/ingress.yaml | 32 -------- .../templates/persistent-volume-claim.yaml | 21 ----- .../templates/service-account.yaml | 11 --- charts/tubearchivist/templates/service.yaml | 22 ----- charts/tubearchivist/values.yaml | 75 ----------------- 8 files changed, 281 deletions(-) delete mode 100644 charts/tubearchivist/Chart.yaml delete mode 100644 charts/tubearchivist/README.md delete mode 100644 charts/tubearchivist/templates/deployment.yaml delete mode 100644 charts/tubearchivist/templates/ingress.yaml delete mode 100644 charts/tubearchivist/templates/persistent-volume-claim.yaml delete mode 100644 charts/tubearchivist/templates/service-account.yaml delete mode 100644 charts/tubearchivist/templates/service.yaml delete mode 100644 charts/tubearchivist/values.yaml diff --git a/charts/tubearchivist/Chart.yaml b/charts/tubearchivist/Chart.yaml deleted file mode 100644 index 95e4bd9..0000000 --- a/charts/tubearchivist/Chart.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v2 -name: tubearchivist -version: 0.2.9 -description: Chart for Tube Archivist -keywords: - - download - - video -sources: - - https://github.com/tubearchivist/tubearchivist - - https://github.com/bitnami/charts/tree/main/bitnami/redis - - https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch -maintainers: - - name: alexlebens -icon: https://avatars.githubusercontent.com/u/102734415?s=48&v=4 -dependencies: - - name: redis - version: 19.3.4 - repository: https://charts.bitnami.com/bitnami - - name: elasticsearch - version: 21.0.6 - repository: https://charts.bitnami.com/bitnami -appVersion: v0.4.7 diff --git a/charts/tubearchivist/README.md b/charts/tubearchivist/README.md deleted file mode 100644 index ea2c405..0000000 --- a/charts/tubearchivist/README.md +++ /dev/null @@ -1,16 +0,0 @@ -## Introduction - -[Tube Archivist](https://github.com/tubearchivist/tubearchivist) - -Your self hosted YouTube media server - -This chart bootstraps an [Outline](https://github.com/tubearchivist/tubearchivist) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. - -## Prerequisites - -- Kubernetes -- Helm - -## Parameters - -See the [values files](values.yaml). diff --git a/charts/tubearchivist/templates/deployment.yaml b/charts/tubearchivist/templates/deployment.yaml deleted file mode 100644 index 4c0ea9d..0000000 --- a/charts/tubearchivist/templates/deployment.yaml +++ /dev/null @@ -1,82 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - revisionHistoryLimit: 3 - replicas: {{ .Values.deployment.replicas }} - strategy: - type: {{ .Values.deployment.strategy }} - selector: - matchLabels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - template: - metadata: - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - spec: - serviceAccountName: {{ .Release.Name }} - automountServiceAccountToken: true - containers: - - name: {{ .Release.Name }} - image: "{{ .Values.deployment.image.repository }}:{{ .Values.deployment.image.tag }}" - imagePullPolicy: {{ .Values.deployment.image.imagePullPolicy }} - ports: - - name: http - containerPort: {{ .Values.service.http.port }} - protocol: TCP - env: - - name: TA_PORT - value: {{ .Values.service.http.port | quote }} - {{- range $k,$v := .Values.deployment.env }} - - name: {{ $k }} - value: {{ $v | quote }} - {{- end }} - {{- with .Values.deployment.envFrom }} - envFrom: - {{- toYaml . | nindent 12 }} - {{- end }} - resources: - {{- toYaml .Values.deployment.resources | nindent 12 }} - volumeMounts: - - name: "{{ .Release.Name }}-cache" - mountPath: /cache - - name: "{{ .Release.Name }}-youtube" - mountPath: /youtube - livenessProbe: - tcpSocket: - port: {{ .Values.service.http.port }} - initialDelaySeconds: 0 - failureThreshold: 3 - timeoutSeconds: 1 - periodSeconds: 10 - readinessProbe: - tcpSocket: - port: {{ .Values.service.http.port }} - initialDelaySeconds: 0 - failureThreshold: 3 - timeoutSeconds: 1 - periodSeconds: 10 - startupProbe: - tcpSocket: - port: {{ .Values.service.http.port }} - initialDelaySeconds: 0 - failureThreshold: 30 - timeoutSeconds: 1 - periodSeconds: 5 - volumes: - - name: "{{ .Release.Name }}-cache" - persistentVolumeClaim: - claimName: "{{ .Release.Name }}-cache" - - name: "{{ .Release.Name }}-youtube" - persistentVolumeClaim: - claimName: {{ .Values.persistence.youtube.claimName }} diff --git a/charts/tubearchivist/templates/ingress.yaml b/charts/tubearchivist/templates/ingress.yaml deleted file mode 100644 index 8395226..0000000 --- a/charts/tubearchivist/templates/ingress.yaml +++ /dev/null @@ -1,32 +0,0 @@ -{{- if .Values.ingress.enabled }} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} - annotations: - {{- toYaml .Values.ingress.annotations | nindent 4 }} -spec: - ingressClassName: {{ .Values.ingress.className }} - tls: - - hosts: - - {{ .Values.ingress.host }} - secretName: {{ .Release.Name }}-secret-tls - rules: - - host: {{ .Values.ingress.host }} - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: {{ .Release.Name }} - port: - name: http -{{- end }} diff --git a/charts/tubearchivist/templates/persistent-volume-claim.yaml b/charts/tubearchivist/templates/persistent-volume-claim.yaml deleted file mode 100644 index a67dd31..0000000 --- a/charts/tubearchivist/templates/persistent-volume-claim.yaml +++ /dev/null @@ -1,21 +0,0 @@ -{{- if .Values.persistence.cache.enabled }} -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: "{{ .Release.Name }}-cache" - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: storage - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - accessModes: - - {{ .Values.persistence.cache.accessMode }} - resources: - requests: - storage: {{ .Values.persistence.cache.storageSize }} - storageClassName: {{ .Values.persistence.cache.storageClassName }} - volumeMode: {{ .Values.persistence.cache.volumeMode }} -{{- end }} diff --git a/charts/tubearchivist/templates/service-account.yaml b/charts/tubearchivist/templates/service-account.yaml deleted file mode 100644 index a437092..0000000 --- a/charts/tubearchivist/templates/service-account.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} diff --git a/charts/tubearchivist/templates/service.yaml b/charts/tubearchivist/templates/service.yaml deleted file mode 100644 index aa34498..0000000 --- a/charts/tubearchivist/templates/service.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - type: ClusterIP - externalTrafficPolicy: - ports: - - port: {{ .Values.service.http.port }} - targetPort: http - protocol: TCP - name: http - selector: - app.kubernetes.io/name: {{ .Release.Name }} - app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/tubearchivist/values.yaml b/charts/tubearchivist/values.yaml deleted file mode 100644 index cdb5337..0000000 --- a/charts/tubearchivist/values.yaml +++ /dev/null @@ -1,75 +0,0 @@ -deployment: - replicas: 1 - strategy: Recreate - image: - repository: bbilly1/tubearchivist - tag: v0.4.7 - imagePullPolicy: IfNotPresent - env: - TZ: UTC - envFrom: - resources: - requests: - memory: 512Mi - cpu: 50m - limits: - memory: 1Gi - cpu: 1000m -service: - http: - port: 8000 -ingress: - enabled: false - className: "" - annotations: "" - host: "" -persistence: - cache: - enabled: false - storageClassName: "" - storageSize: 5Gi - accessMode: ReadWriteOnce - volumeMode: Filesystem - youtube: - claimName: "" -redis: - image: - repository: redis/redis-stack-server - tag: 7.2.0-v10 - architecture: standalone - auth: - enabled: false - commonConfiguration: |- - # Enable AOF https://redis.io/topics/persistence#append-only-file - appendonly yes - # Disable RDB persistence, AOF persistence already enabled. - save "" - # Enable Redis Json module - loadmodule /opt/redis-stack/lib/rejson.so -elasticsearch: - global: - storageClass: "" - extraEnvVars: - - name: "discovery.type" - value: "single-node" - - name: xpack.security.enabled - value: "true" - extraEnvVarsSecret: [] - extraConfig: - path: - repo: /usr/share/elasticsearch/data/snapshot - extraVolumes: [] - extraVolumeMounts: - - name: snapshot - mountPath: /usr/share/elasticsearch/data/snapshot - snapshotRepoPath: /usr/share/elasticsearch/data/snapshot - master: - masterOnly: false - replicaCount: 1 - data: - replicaCount: 0 - coordinating: - replicaCount: 0 - ingest: - enabled: false - replicaCount: 0