diff --git a/chart/templates/back/deployment.yaml b/chart/templates/back/deployment.yaml index c51cea55..06a551d0 100644 --- a/chart/templates/back/deployment.yaml +++ b/chart/templates/back/deployment.yaml @@ -43,30 +43,6 @@ spec: {{- end }} serviceAccountName: {{ include "kyoo.back.serviceAccountName" . }} 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 }} {{- tpl (toYaml .) $ | nindent 6 }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index 8a236d03..a5b2252d 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -44,11 +44,6 @@ global: host: kyoo-postgresql port: 5432 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: userKey: postgres_user @@ -137,6 +132,7 @@ media: baseMountPath: "/media" # configures workloads that require access to contentdatabase +# unused until autosync pulled into kyoo_back contentdatabase: # TheMovieDB tmdb: @@ -185,18 +181,6 @@ auth: # back deployment configuration 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: livenessProbe: {}