mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-12-13 22:00:38 +05:30
Commands do work for the most part
The frontend needs better way than sed to change the api endpoint.
This commit is contained in:
parent
52ed0d9374
commit
6c8ac774e8
@ -24,7 +24,7 @@ If release name contains chart name it will be used as a full name.
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- $name = .Release.Name -}}
|
||||
{{- else -}}
|
||||
{{- $name = printf "%s-%s" .Release.Name $name -}}
|
||||
{{- $name = printf "%s" $name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- trunc 50 $name | trimSuffix "-" -}}
|
||||
|
@ -24,7 +24,7 @@ If release name contains chart name it will be used as a full name.
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- $name = .Release.Name -}}
|
||||
{{- else -}}
|
||||
{{- $name = printf "%s-%s" .Release.Name $name -}}
|
||||
{{- $name = printf "%s" $name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- trunc 50 $name | trimSuffix "-" -}}
|
||||
|
@ -24,7 +24,7 @@ If release name contains chart name it will be used as a full name.
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- $name = .Release.Name -}}
|
||||
{{- else -}}
|
||||
{{- $name = printf "%s-%s" .Release.Name $name -}}
|
||||
{{- $name = printf "%s" $name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- trunc 50 $name | trimSuffix "-" -}}
|
||||
|
@ -11,7 +11,7 @@ global:
|
||||
|
||||
controller:
|
||||
# -- enable the controller.
|
||||
enabled: true
|
||||
enabled: false
|
||||
|
||||
serviceAccount:
|
||||
create: false
|
||||
@ -33,16 +33,18 @@ frontend:
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
repository: 1337kavin/piped
|
||||
repository: 1337kavin/piped-frontend
|
||||
# -- image tag
|
||||
# @chart.appVersion
|
||||
tag:
|
||||
# -- image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
command: "/bin/ash -c"
|
||||
args:
|
||||
- sed -i s/pipedapi.kavin.rocks/BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g "daemon off;"
|
||||
# Using currently container default
|
||||
#command: "/bin/tail"
|
||||
#args:
|
||||
# - -c
|
||||
# - "sed -i s/pipedapi.kavin.rocks/BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/*"
|
||||
|
||||
backend:
|
||||
enabled: true
|
||||
@ -58,6 +60,22 @@ backend:
|
||||
port: 8080
|
||||
protocol: HTTP
|
||||
|
||||
command: "/opt/java/openjdk/bin/java"
|
||||
args:
|
||||
- -server
|
||||
- -Xmx1G
|
||||
- -Xaggressive
|
||||
- -XX:+UnlockExperimentalVMOptions
|
||||
- -XX:+OptimizeStringConcat
|
||||
- -XX:+UseStringDeduplication
|
||||
- -XX:+UseCompressedOops
|
||||
- -XX:+UseNUMA
|
||||
- -Xgcpolicy:gencon
|
||||
- -Xshareclasses:allowClasspaths
|
||||
- -Xtune:virtualized
|
||||
- -jar
|
||||
- /app/piped.jar
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
repository: 1337kavin/piped
|
||||
@ -83,6 +101,8 @@ ytproxy:
|
||||
port: 8080
|
||||
protocol: HTTP
|
||||
|
||||
command: "/app/piped-proxy"
|
||||
|
||||
|
||||
image:
|
||||
# -- image repository
|
||||
|
Loading…
Reference in New Issue
Block a user