purge kyoo_migrations, no longer needed

This commit is contained in:
Arlan Lloyd 2025-10-30 23:29:46 +00:00 committed by Zoe Roux
parent aa180bfcea
commit dc7d6919da
No known key found for this signature in database
2 changed files with 1 additions and 41 deletions

View File

@ -43,30 +43,6 @@ spec:
{{- end }} {{- end }}
serviceAccountName: {{ include "kyoo.back.serviceAccountName" . }} serviceAccountName: {{ include "kyoo.back.serviceAccountName" . }}
initContainers: initContainers:
- name: migrations
image: {{ .Values.back.kyoo_migrations.image.repository | default (printf "%s/kyoo_migrations" .Values.global.image.repositoryBase) }}:{{ default (include "kyoo.defaultTag" .) .Values.back.kyoo_migrations.image.tag }}
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy }}
args:
{{- with .Values.back.kyoo_migrations.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
key: {{ .Values.global.postgres.kyoo_back.kyoo_migrations.userKey }}
name: {{ .Values.global.postgres.kyoo_back.kyoo_migrations.existingSecret }}
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
key: {{ .Values.global.postgres.kyoo_back.kyoo_migrations.passwordKey }}
name: {{ .Values.global.postgres.kyoo_back.kyoo_migrations.existingSecret }}
- name: POSTGRES_DB
value: {{ .Values.global.postgres.kyoo_back.database }}
- name: POSTGRES_SERVER
value: {{ .Values.global.postgres.kyoo_back.host }}
- name: POSTGRES_PORT
value: "{{ .Values.global.postgres.kyoo_back.port }}"
{{- with .Values.back.extraInitContainers }} {{- with .Values.back.extraInitContainers }}
{{- tpl (toYaml .) $ | nindent 6 }} {{- tpl (toYaml .) $ | nindent 6 }}
{{- end }} {{- end }}

View File

@ -44,11 +44,6 @@ global:
host: kyoo-postgresql host: kyoo-postgresql
port: 5432 port: 5432
database: kyoo_back database: kyoo_back
# kyoo_migrations workload specific settings
kyoo_migrations:
userKey: postgres_user
passwordKey: postgres_password
existingSecret: bigsecret
# kyoo_back workload specific settings # kyoo_back workload specific settings
kyoo_back: kyoo_back:
userKey: postgres_user userKey: postgres_user
@ -137,6 +132,7 @@ media:
baseMountPath: "/media" baseMountPath: "/media"
# configures workloads that require access to contentdatabase # configures workloads that require access to contentdatabase
# unused until autosync pulled into kyoo_back
contentdatabase: contentdatabase:
# TheMovieDB # TheMovieDB
tmdb: tmdb:
@ -185,18 +181,6 @@ auth:
# back deployment configuration # back deployment configuration
back: back:
name: back name: back
# kyoo_migrations init container configuration
kyoo_migrations:
livenessProbe: {}
readinessProbe: {}
resources: {}
containerSecurityContext: {}
extraVolumeMounts: []
extraArgs: []
extraEnv: []
image:
repository: ~
tag: ~
# kyoo_back container configuration # kyoo_back container configuration
kyoo_back: kyoo_back:
livenessProbe: {} livenessProbe: {}