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

improve quote usage #637

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chart/templates/autosync/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ spec:
{{- end }}
env:
- name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }}
value: {{ .Values.global.rabbitmq.host | quote }}
- name: RABBITMQ_PORT
value: "{{ .Values.global.rabbitmq.port }}"
value: {{ .Values.global.rabbitmq.port | quote }}
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
Expand Down
32 changes: 16 additions & 16 deletions chart/templates/back/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ spec:
{{- end }}
env:
- name: TRANSCODER_URL
value: http://{{ include "kyoo.transcoder.fullname" . }}:7666
value: "http://{{ include "kyoo.transcoder.fullname" . }}:7666"
- name: PUBLIC_URL
value: {{ .Values.kyoo.address }}
value: {{ .Values.kyoo.address | quote }}
- name: REQUIRE_ACCOUNT_VERIFICATION
value: "{{ .Values.kyoo.requireAccountVerification }}"
value: {{ .Values.kyoo.requireAccountVerification | quote }}
- name: DEFAULT_PERMISSIONS
value: {{ .Values.kyoo.defaultPermissions }}
value: {{ .Values.kyoo.defaultPermissions | quote }}
- name: UNLOGGED_PERMISSIONS
value: "{{ .Values.kyoo.unloggedPermissions }}"
value: {{ .Values.kyoo.unloggedPermissions | quote}}
- name: KYOO_APIKEYS
valueFrom:
secretKeyRef:
Expand All @@ -103,9 +103,9 @@ spec:
- name: POSTGRES_DB
value: {{ .Values.global.postgres.kyoo_back.database }}
- name: POSTGRES_SERVER
value: {{ .Values.global.postgres.kyoo_back.host }}
value: {{ .Values.global.postgres.kyoo_back.host | quote }}
- name: POSTGRES_PORT
value: "{{ .Values.global.postgres.kyoo_back.port }}"
value: {{ .Values.global.postgres.kyoo_back.port | quote }}
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
Expand All @@ -117,9 +117,9 @@ spec:
key: {{ .Values.global.rabbitmq.kyoo_back.passwordKey }}
name: {{ .Values.global.rabbitmq.kyoo_back.existingSecret }}
- name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }}
value: {{ .Values.global.rabbitmq.host | quote }}
- name: RABBITMQ_PORT
value: "{{ .Values.global.rabbitmq.port }}"
value: {{ .Values.global.rabbitmq.port | quote }}
- name: MEILI_HOST
value: "{{ .Values.global.meilisearch.proto }}://{{ .Values.global.meilisearch.host }}:{{ .Values.global.meilisearch.port }}"
- name: MEILI_MASTER_KEY
Expand All @@ -129,9 +129,9 @@ spec:
name: {{ .Values.global.meilisearch.kyoo_back.existingSecret }}
{{- if .Values.kyoo.oidc.enabled }}
- name: OIDC_SERVICE_NAME
value: {{ .Values.kyoo.oidc.name }}
value: {{ .Values.kyoo.oidc.name | quote }}
- name: OIDC_SERVICE_LOGO
value: {{ .Values.kyoo.oidc.logo }}
value: {{ .Values.kyoo.oidc.logo | quote }}
- name: OIDC_SERVICE_CLIENTID
valueFrom:
secretKeyRef:
Expand All @@ -143,15 +143,15 @@ spec:
key: {{ .Values.kyoo.oidc.clientSecretKey }}
name: {{ .Values.kyoo.oidc.existingSecret }}
- name: OIDC_SERVICE_AUTHORIZATION
value: {{ .Values.kyoo.oidc.authorizationAddress }}
value: {{ .Values.kyoo.oidc.authorizationAddress | quote }}
- name: OIDC_SERVICE_TOKEN
value: {{ .Values.kyoo.oidc.tokenAddress }}
value: {{ .Values.kyoo.oidc.tokenAddress | quote }}
- name: OIDC_SERVICE_PROFILE
value: {{ .Values.kyoo.oidc.profileAddress }}
value: {{ .Values.kyoo.oidc.profileAddress | quote }}
- name: OIDC_SERVICE_SCOPE
value: {{ .Values.kyoo.oidc.scope }}
value: {{ .Values.kyoo.oidc.scope | quote }}
- name: OIDC_SERVICE_AUTHMETHOD
value: {{ .Values.kyoo.oidc.authMethod }}
value: {{ .Values.kyoo.oidc.authMethod | quote }}
{{- end }}
{{- with (concat .Values.global.extraEnv .Values.back.kyoo_back.extraEnv) }}
{{- toYaml . | nindent 12 }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/front/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- end }}
env:
- name: KYOO_URL
value: http://{{ include "kyoo.back.fullname" . }}:5000
value: "http://{{ include "kyoo.back.fullname" . }}:5000"
{{- with (concat .Values.global.extraEnv .Values.front.kyoo_front.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
8 changes: 4 additions & 4 deletions chart/templates/matcher/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ spec:
key: {{ .Values.kyoo.apikey.apikeyKey }}
name: {{ .Values.kyoo.apikey.existingSecret }}
- name: KYOO_URL
value: http://{{ include "kyoo.back.fullname" . }}:5000
value: "http://{{ include "kyoo.back.fullname" . }}:5000"
- name: LIBRARY_LANGUAGES
value: {{ .Values.kyoo.languages }}
value: {{ .Values.kyoo.languages | quote }}
- name: THEMOVIEDB_APIKEY
valueFrom:
secretKeyRef:
Expand All @@ -72,9 +72,9 @@ spec:
key: {{ .Values.contentdatabase.tvdb.pinKey }}
name: {{ .Values.contentdatabase.tvdb.existingSecret }}
- name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }}
value: {{ .Values.global.rabbitmq.host | quote }}
- name: RABBITMQ_PORT
value: "{{ .Values.global.rabbitmq.port }}"
value: {{ .Values.global.rabbitmq.port | quote }}
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
Expand Down
10 changes: 5 additions & 5 deletions chart/templates/scanner/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ spec:
- name: SCANNER_LIBRARY_ROOT
value: /data
- name: LIBRARY_IGNORE_PATTERN
value: "{{ .Values.kyoo.libraryIgnorePattern }}"
value: {{ .Values.kyoo.libraryIgnorePattern | quote }}
- name: KYOO_APIKEYS
valueFrom:
secretKeyRef:
key: {{ .Values.kyoo.apikey.apikeyKey }}
name: {{ .Values.kyoo.apikey.existingSecret }}
- name: KYOO_URL
value: http://{{ include "kyoo.back.fullname" . }}:5000
value: "http://{{ include "kyoo.back.fullname" . }}:5000"
- name: LIBRARY_LANGUAGES
value: {{ .Values.kyoo.languages }}
value: {{ .Values.kyoo.languages | quote }}
- name: RABBITMQ_HOST
value: {{ .Values.global.rabbitmq.host }}
value: {{ .Values.global.rabbitmq.host | quote }}
- name: RABBITMQ_PORT
value: "{{ .Values.global.rabbitmq.port }}"
value: {{ .Values.global.rabbitmq.port | quote }}
- name: RABBITMQ_DEFAULT_USER
valueFrom:
secretKeyRef:
Expand Down
20 changes: 10 additions & 10 deletions chart/templates/transcoder/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ spec:
{{- end }}
env:
- name: GOCODER_HWACCEL
value: {{ .Values.kyoo.transcoderAcceleration }}
value: {{ .Values.kyoo.transcoderAcceleration | quote }}
- name: GOCODER_PRESET
value: {{ .Values.kyoo.transcoderPreset }}
value: {{ .Values.kyoo.transcoderPreset | quote }}
- name: GOCODER_CACHE_ROOT
value: /cache
value: "/cache"
- name: GOCODER_METADATA_ROOT
value: /metadata
value: "/metadata"
- name: GOCODER_PREFIX
value: /video
value: "/video"
- name: GOCODER_SAFE_PATH
value: /data
value: "/data"
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
Expand All @@ -70,13 +70,13 @@ spec:
key: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.passwordKey }}
name: {{ .Values.global.postgres.kyoo_transcoder.kyoo_transcoder.existingSecret }}
- name: POSTGRES_DB
value: {{ .Values.global.postgres.kyoo_transcoder.database }}
value: {{ .Values.global.postgres.kyoo_transcoder.database | quote }}
- name: POSTGRES_SERVER
value: {{ .Values.global.postgres.kyoo_transcoder.host }}
value: {{ .Values.global.postgres.kyoo_transcoder.host | quote }}
- name: POSTGRES_PORT
value: "{{ .Values.global.postgres.kyoo_transcoder.port }}"
value: {{ .Values.global.postgres.kyoo_transcoder.port | quote }}
- name: POSTGRES_SCHEMA
value: "{{ .Values.global.postgres.kyoo_transcoder.schema }}"
value: {{ .Values.global.postgres.kyoo_transcoder.schema | quote }}
{{- with (concat .Values.global.extraEnv .Values.transcoder.kyoo_transcoder.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
Loading