first commit
This commit is contained in:
6
clusters/default/apps/flaresolverr/Chart.yaml
Normal file
6
clusters/default/apps/flaresolverr/Chart.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: flaresolverr
|
||||
description: A Helm chart for Flaresolverr
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "3.3.25"
|
||||
14
clusters/default/apps/flaresolverr/Values.yaml
Normal file
14
clusters/default/apps/flaresolverr/Values.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: flaresolverr
|
||||
namespace: prod
|
||||
|
||||
image:
|
||||
repository: ghcr.io/flaresolverr/flaresolverr
|
||||
tag: v3.3.25
|
||||
|
||||
env:
|
||||
LOG_LEVEL: info
|
||||
TZ: Asia/Kolkata
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
port: 8191
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Values.name }}-service"
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
{{- if eq .Values.service.type "NodePort" }}
|
||||
type: NodePort
|
||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
||||
type: LoadBalancer
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ .Values.name }}
|
||||
ports:
|
||||
- protocol: TCP
|
||||
targetPort: 8191
|
||||
{{- if eq .Values.service.type "NodePort" }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
||||
port: {{ .Values.service.port }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Values.name }}
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Values.name }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Values.name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: "{{ .Values.env.LOG_LEVEL }}"
|
||||
- name: TZ
|
||||
value: "{{ .Values.env.TZ }}"
|
||||
Reference in New Issue
Block a user