mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2025-04-24 16:39:52 +00:00
add initial auto-install env var
This commit is contained in:
parent
bdd225548f
commit
d3b554f905
@ -39,11 +39,31 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: {{ .Values.timezone }}
|
value: {{ .Values.freshrss.timezone }}
|
||||||
|
- name: FRESHRSS_ENV
|
||||||
|
value: {{ .Values.freshrss.freshEnv }}
|
||||||
|
{{- if .Values.freshrss.autoInstall.enabled }}
|
||||||
|
- name: FRESHRSS_INSTALL
|
||||||
|
value: |-
|
||||||
|
{{- if .Values.freshrss.autoInstall.apiEnabled }}
|
||||||
|
--api_enabled
|
||||||
|
{{- end }}
|
||||||
|
--language {{ .Values.freshrss.autoInstall.language }}
|
||||||
|
--default_user {{ .Values.freshrss.autoInstall.defaultUser.user }}
|
||||||
|
- name: FRESHRSS_USER
|
||||||
|
value: |-
|
||||||
|
{{- with .Values.freshrss.autoInstall.defaultUser }}
|
||||||
|
--email {{ .email }}
|
||||||
|
--password {{ .password }}
|
||||||
|
--user {{ .user }}
|
||||||
|
{{- end }}
|
||||||
|
--language {{ .Values.freshrss.autoInstall.language }}
|
||||||
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: http
|
port: http
|
||||||
|
initialDelaySeconds: 30
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
@ -42,13 +42,23 @@ service:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
# externalPostgresql:
|
freshrss:
|
||||||
# enabled: false
|
timezone: UTC
|
||||||
# host: ""
|
freshEnv: production
|
||||||
# port: 5432
|
autoInstall:
|
||||||
# username: freshrss
|
enabled: true
|
||||||
# password: freshrss
|
baseUrl: freshrss.local
|
||||||
# database: freshrss
|
language: en
|
||||||
|
apiEnabled: false
|
||||||
|
dbType: sqlite
|
||||||
|
dbBase: freshrss
|
||||||
|
dbHost: ""
|
||||||
|
dbPassword: freshrss
|
||||||
|
dbUser: freshrss
|
||||||
|
defaultUser:
|
||||||
|
user: admin
|
||||||
|
password: admin
|
||||||
|
email: admin@example.com
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -58,8 +68,6 @@ persistence:
|
|||||||
storageClass: ""
|
storageClass: ""
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
||||||
timezone: UTC
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
className: ""
|
className: ""
|
||||||
@ -88,13 +96,6 @@ resources: {}
|
|||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
# autoscaling:
|
|
||||||
# enabled: false
|
|
||||||
# minReplicas: 1
|
|
||||||
# maxReplicas: 100
|
|
||||||
# targetCPUUtilizationPercentage: 80
|
|
||||||
# targetMemoryUtilizationPercentage: 80
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
Loading…
Reference in New Issue
Block a user