From 33ecc5118a651e4f98404a8faf9117404127e7f4 Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Sat, 19 Oct 2024 17:09:23 -0500 Subject: [PATCH] update --- lemmy/templates/pictrs/deployment.yaml | 5 ++ lemmy/templates/proxy/configmap.yaml | 84 +++++++++++++++++++ lemmy/templates/proxy/deployment.yaml | 64 +++++++++++++++ lemmy/templates/proxy/ingress.yaml | 36 +++++++++ lemmy/templates/proxy/service.yaml | 14 ++++ lemmy/templates/server/deployment.yaml | 5 ++ lemmy/templates/ui/deployment.yaml | 5 ++ lemmy/values.yaml | 34 ++++++++ voyager/templates/_helpers.tpl | 3 + voyager/templates/proxy/configmap.yaml | 93 ++++++++++++++++++++++ voyager/templates/proxy/deployment.yaml | 64 +++++++++++++++ voyager/templates/proxy/ingress.yaml | 27 +++++++ voyager/templates/proxy/service.yaml | 14 ++++ voyager/templates/{ => ui}/deployment.yaml | 11 ++- voyager/templates/{ => ui}/ingress.yaml | 4 +- voyager/templates/{ => ui}/service.yaml | 5 +- voyager/values.yaml | 30 +++++++ 17 files changed, 492 insertions(+), 6 deletions(-) create mode 100644 lemmy/templates/proxy/configmap.yaml create mode 100644 lemmy/templates/proxy/deployment.yaml create mode 100644 lemmy/templates/proxy/ingress.yaml create mode 100644 lemmy/templates/proxy/service.yaml create mode 100644 voyager/templates/_helpers.tpl create mode 100644 voyager/templates/proxy/configmap.yaml create mode 100644 voyager/templates/proxy/deployment.yaml create mode 100644 voyager/templates/proxy/ingress.yaml create mode 100644 voyager/templates/proxy/service.yaml rename voyager/templates/{ => ui}/deployment.yaml (73%) rename voyager/templates/{ => ui}/ingress.yaml (74%) rename voyager/templates/{ => ui}/service.yaml (55%) diff --git a/lemmy/templates/pictrs/deployment.yaml b/lemmy/templates/pictrs/deployment.yaml index 940eeb6..89e25dd 100644 --- a/lemmy/templates/pictrs/deployment.yaml +++ b/lemmy/templates/pictrs/deployment.yaml @@ -31,6 +31,11 @@ spec: - containerPort: 8080 name: http protocol: TCP + {{- if .Values.pictrs.resources }} + resources: {{- toYaml .Values.pictrs.resources | nindent 12 }} + {{- else if ne .Values.pictrs.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.pictrs.resourcesPreset) | nindent 12 }} + {{- end }} {{- with .Values.pictrs.podSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/lemmy/templates/proxy/configmap.yaml b/lemmy/templates/proxy/configmap.yaml new file mode 100644 index 0000000..2ab4bae --- /dev/null +++ b/lemmy/templates/proxy/configmap.yaml @@ -0,0 +1,84 @@ +{{- if and .Values.proxy.enabled .Values.proxy.config.enabled }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "lemmy.service.fullname" (dict "name" "proxy" "context" .) | quote }} +data: + nginx.conf: | + worker_processes 1; + events { + worker_connections 1024; + } + + http { + upstream lemmy { + server {{ include "lemmy.service.fullname" (dict "name" "server" "context" .) | quote }}; + } + upstream lemmy-ui { + server {{ include "lemmy.service.fullname" (dict "name" "ui" "context" .) | quote }}; + } + + server { + # this is the port inside docker, not the public one yet + listen 80; + # change if needed, this is facing the public web + server_name localhost; + server_tokens off; + + gzip on; + gzip_types text/css application/javascript image/svg+xml; + gzip_vary on; + + # Upload limit, relevant for pictrs + client_max_body_size 20M; + + add_header X-Frame-Options SAMEORIGIN; + add_header X-Content-Type-Options nosniff; + add_header X-XSS-Protection "1; mode=block"; + + {{- range .Values.proxy.config.allowedProxies }} + set_real_ip_from {{ . }}; + {{- end }} + + # frontend general requests + location / { + # distinguish between ui requests and backend + # don't change lemmy-ui or lemmy here, they refer to the upstream definitions on top + set $proxpass "http://lemmy-ui"; + + if ($http_accept = "application/activity+json") { + set $proxpass "http://lemmy"; + } + if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") { + set $proxpass "http://lemmy"; + } + if ($request_method = POST) { + set $proxpass "http://lemmy"; + } + + proxy_pass $proxpass; + + rewrite ^(.+)/+$ $1 permanent; + # Send actual client IP upstream + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + + # backend + location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known) { + proxy_pass "http://lemmy"; + # proxy common stuff + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + + # Send actual client IP upstream + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + } + } +{{- end }} diff --git a/lemmy/templates/proxy/deployment.yaml b/lemmy/templates/proxy/deployment.yaml new file mode 100644 index 0000000..d3fe455 --- /dev/null +++ b/lemmy/templates/proxy/deployment.yaml @@ -0,0 +1,64 @@ +{{- if .Values.proxy.enabled }} +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "lemmy.service.fullname" (dict "name" "proxy" "context" .) | quote }} +spec: + replicas: 1 + selector: + matchLabels: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 6 }} + service: lemmy-proxy + template: + metadata: + {{- with .Values.proxy.annotations }} + annotations: {{- toYaml . | nindent 8 }} + {{- end }} + labels: {{- include "common.labels.standard" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 8 }} + service: lemmy-proxy + spec: + containers: + - name: {{ include "lemmy.service.fullname" (dict "name" "proxy" "context" .) | quote }} + image: {{ include "common.images.image" ( dict "imageRoot" (merge .Values.proxy.image (dict "tag" .Chart.AppVersion)) ) | quote }} + imagePullPolicy: {{ quote .Values.proxy.image.pullPolicy }} + {{- with .Values.proxy.env }} + env: {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.proxy.envFrom }} + envFrom: {{- toYaml . | nindent 12 }} + {{- end }} + ports: + - containerPort: 80 + name: http + protocol: TCP + {{- if .Values.proxy.resources }} + resources: {{- toYaml .Values.proxy.resources | nindent 12 }} + {{- else if ne .Values.proxy.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.proxy.resourcesPreset) | nindent 12 }} + {{- end }} + {{- with .Values.proxy.podSecurityContext }} + securityContext: {{- toYaml . | nindent 12 }} + {{- end }} + {{- if or .Values.proxy.config.enabled .Values.proxy.volumeMounts }} + volumeMounts: + {{- if .Values.proxy.config.enabled }} + - name: config + mountPath: /etc/nginx/nginx.conf + subPath: nginx.conf + {{- end }} + {{- with .Values.proxy.volumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} + {{- end }} + {{- if or .Values.proxy.config.enabled .Values.proxy.volumes }} + volumes: + {{- if .Values.proxy.config.enabled }} + - name: config + configMap: + name: {{ include "lemmy.service.fullname" (dict "name" "proxy" "context" .) | quote }} + {{- end }} + {{- with .Values.proxy.volumes }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- end }} +{{- end }} diff --git a/lemmy/templates/proxy/ingress.yaml b/lemmy/templates/proxy/ingress.yaml new file mode 100644 index 0000000..826b663 --- /dev/null +++ b/lemmy/templates/proxy/ingress.yaml @@ -0,0 +1,36 @@ +{{- if .Values.ui.ingress.enabled }} +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "lemmy.service.fullname" (dict "name" "ui" "context" .) | quote }} + {{- with .Values.ui.ingress.annotations }} + annotations: {{- toYaml . | nindent 4 }} + {{- end }} +spec: + rules: + {{- range .Values.ui.ingress.hosts }} + - host: {{ quote . }} + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + service: + name: {{ include "lemmy.service.fullname" (dict "name" "ui" "context" $) | quote }} + port: + name: http + {{- range list "/api" "/pictrs" "/feeds" "/nodeinfo" "/.well-known" }} + - path: {{ quote . }} + pathType: ImplementationSpecific + backend: + service: + name: {{ include "lemmy.service.fullname" (dict "name" "server" "context" $) | quote }} + port: + name: http + {{- end }} + {{- end }} + {{- with .Values.ui.ingress.tls }} + tls: {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/lemmy/templates/proxy/service.yaml b/lemmy/templates/proxy/service.yaml new file mode 100644 index 0000000..815654b --- /dev/null +++ b/lemmy/templates/proxy/service.yaml @@ -0,0 +1,14 @@ +{{- if .Values.proxy.enabled }} +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ include "lemmy.service.fullname" (dict "name" "proxy" "context" .) | quote }} +spec: + selector: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 4 }} + service: lemmy-proxy + ports: + - name: http + port: 80 + targetPort: http +{{- end }} diff --git a/lemmy/templates/server/deployment.yaml b/lemmy/templates/server/deployment.yaml index 559ad70..ee0c264 100644 --- a/lemmy/templates/server/deployment.yaml +++ b/lemmy/templates/server/deployment.yaml @@ -50,6 +50,11 @@ spec: - containerPort: 8080 name: metrics protocol: TCP + {{- if .Values.server.resources }} + resources: {{- toYaml .Values.server.resources | nindent 12 }} + {{- else if ne .Values.server.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.server.resourcesPreset) | nindent 12 }} + {{- end }} {{- with .Values.server.podSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/lemmy/templates/ui/deployment.yaml b/lemmy/templates/ui/deployment.yaml index b261d19..6ecdbf1 100644 --- a/lemmy/templates/ui/deployment.yaml +++ b/lemmy/templates/ui/deployment.yaml @@ -42,6 +42,11 @@ spec: - containerPort: 1234 name: http protocol: TCP + {{- if .Values.ui.resources }} + resources: {{- toYaml .Values.ui.resources | nindent 12 }} + {{- else if ne .Values.ui.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.ui.resourcesPreset) | nindent 12 }} + {{- end }} {{- with .Values.ui.podSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/lemmy/values.yaml b/lemmy/values.yaml index 09f7fe2..ddeb38a 100644 --- a/lemmy/values.yaml +++ b/lemmy/values.yaml @@ -55,6 +55,9 @@ server: hosts: [] tls: [] + resourcesPreset: micro + resources: {} + serviceMonitor: enabled: false labels: {} @@ -80,6 +83,9 @@ ui: host: "" https: false + resourcesPreset: nano + resources: {} + pictrs: enabled: true @@ -95,3 +101,31 @@ pictrs: external: url: "" apiKey: "" + + resourcesPreset: micro + resources: {} + +proxy: + enabled: false + + image: + registry: "" + repository: nginx + tag: "1-alpine" + digest: "" + pullPolicy: IfNotPresent + + config: + enabled: false + allowedProxies: [] + + labels: {} + + ingress: + enabled: false + annotations: {} + hosts: [] + tls: [] + + resourcesPreset: nano + resources: {} diff --git a/voyager/templates/_helpers.tpl b/voyager/templates/_helpers.tpl new file mode 100644 index 0000000..d3aed82 --- /dev/null +++ b/voyager/templates/_helpers.tpl @@ -0,0 +1,3 @@ +{{- define "voyager.service.fullname" }} +{{- printf "%s-%s" (include "common.names.fullname" .context | trunc (sub 62 (len .name) | int) | trimSuffix "-") .name -}} +{{- end }} diff --git a/voyager/templates/proxy/configmap.yaml b/voyager/templates/proxy/configmap.yaml new file mode 100644 index 0000000..628847d --- /dev/null +++ b/voyager/templates/proxy/configmap.yaml @@ -0,0 +1,93 @@ +{{- if and .Values.proxy.enabled .Values.proxy.config.enabled }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} +data: + nginx.conf: | + worker_processes 1; + events { + worker_connections 1024; + } + + http { + upstream lemmy { + server {{ quote .Values.proxy.config.lemmyServer }}; + } + upstream voyager-ui { + server {{ include "voyager.service.fullname" (dict "name" "ui" "context" .) | quote }}; + } + + server { + # this is the port inside docker, not the public one yet + listen 80; + # change if needed, this is facing the public web + server_name localhost; + server_tokens off; + + gzip on; + gzip_types text/css application/javascript image/svg+xml; + gzip_vary on; + + # Upload limit, relevant for pictrs + client_max_body_size 20M; + + add_header X-Frame-Options SAMEORIGIN; + add_header X-Content-Type-Options nosniff; + add_header X-XSS-Protection "1; mode=block"; + + {{- range .Values.proxy.config.allowedProxies }} + set_real_ip_from {{ . }}; + {{- end }} + + # frontend general requests + location / { + # distinguish between ui requests and backend + # don't change voyager-ui or lemmy here, they refer to the upstream definitions on top + set $proxpass "http://voyager-ui"; + + if ($http_accept = "application/activity+json") { + set $proxpass "http://lemmy"; + } + if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") { + set $proxpass "http://lemmy"; + } + if ($request_method = POST) { + set $proxpass "http://lemmy"; + } + + proxy_pass $proxpass; + + rewrite ^(.+)/+$ $1 permanent; + # Send actual client IP upstream + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + + location ~ ^/api/(.*)/api { + proxy_pass "http://voyager-ui"; + rewrite ^(.+)/+$ $1 permanent; + # Send actual client IP upstream + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + + # backend + location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known) { + proxy_pass "http://lemmy"; + # proxy common stuff + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + + # Send actual client IP upstream + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + } + } +{{- end }} diff --git a/voyager/templates/proxy/deployment.yaml b/voyager/templates/proxy/deployment.yaml new file mode 100644 index 0000000..2c1e6b9 --- /dev/null +++ b/voyager/templates/proxy/deployment.yaml @@ -0,0 +1,64 @@ +{{- if .Values.proxy.enabled }} +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} +spec: + replicas: 1 + selector: + matchLabels: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 6 }} + service: voyager-proxy + template: + metadata: + {{- with .Values.proxy.annotations }} + annotations: {{- toYaml . | nindent 8 }} + {{- end }} + labels: {{- include "common.labels.standard" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 8 }} + service: voyager-proxy + spec: + containers: + - name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} + image: {{ include "common.images.image" ( dict "imageRoot" (merge .Values.proxy.image (dict "tag" .Chart.AppVersion)) ) | quote }} + imagePullPolicy: {{ quote .Values.proxy.image.pullPolicy }} + {{- with .Values.proxy.env }} + env: {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.proxy.envFrom }} + envFrom: {{- toYaml . | nindent 12 }} + {{- end }} + ports: + - containerPort: 80 + name: http + protocol: TCP + {{- if .Values.proxy.resources }} + resources: {{- toYaml .Values.proxy.resources | nindent 12 }} + {{- else if ne .Values.proxy.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.proxy.resourcesPreset) | nindent 12 }} + {{- end }} + {{- with .Values.proxy.podSecurityContext }} + securityContext: {{- toYaml . | nindent 12 }} + {{- end }} + {{- if or .Values.proxy.config.enabled .Values.proxy.volumeMounts }} + volumeMounts: + {{- if .Values.proxy.config.enabled }} + - name: config + mountPath: /etc/nginx/nginx.conf + subPath: nginx.conf + {{- end }} + {{- with .Values.proxy.volumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} + {{- end }} + {{- if or .Values.proxy.config.enabled .Values.proxy.volumes }} + volumes: + {{- if .Values.proxy.config.enabled }} + - name: config + configMap: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} + {{- end }} + {{- with .Values.proxy.volumes }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- end }} +{{- end }} diff --git a/voyager/templates/proxy/ingress.yaml b/voyager/templates/proxy/ingress.yaml new file mode 100644 index 0000000..d4f2c17 --- /dev/null +++ b/voyager/templates/proxy/ingress.yaml @@ -0,0 +1,27 @@ +{{- if .Values.proxy.ingress.enabled }} +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} + {{- with .Values.proxy.ingress.annotations }} + annotations: {{- toYaml . | nindent 4 }} + {{- end }} +spec: + rules: + {{- range .Values.proxy.ingress.hosts }} + - host: {{ quote . }} + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + service: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" $) | quote }} + port: + name: http + {{- end }} + {{- with .Values.proxy.ingress.tls }} + tls: {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/voyager/templates/proxy/service.yaml b/voyager/templates/proxy/service.yaml new file mode 100644 index 0000000..0c6f640 --- /dev/null +++ b/voyager/templates/proxy/service.yaml @@ -0,0 +1,14 @@ +{{- if .Values.proxy.enabled }} +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ include "voyager.service.fullname" (dict "name" "proxy" "context" .) | quote }} +spec: + selector: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.proxy.labels "context" $) | nindent 4 }} + service: voyager-proxy + ports: + - name: http + port: 80 + targetPort: http +{{- end }} diff --git a/voyager/templates/deployment.yaml b/voyager/templates/ui/deployment.yaml similarity index 73% rename from voyager/templates/deployment.yaml rename to voyager/templates/ui/deployment.yaml index 204cd07..9b6fb5b 100644 --- a/voyager/templates/deployment.yaml +++ b/voyager/templates/ui/deployment.yaml @@ -2,20 +2,22 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "common.names.fullname" . | quote }} + name: {{ include "voyager.service.fullname" (dict "name" "ui" "context" .) | quote }} spec: replicas: 1 selector: matchLabels: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.labels "context" $) | nindent 6 }} + service: voyager-ui template: metadata: {{- with .Values.annotations }} annotations: {{- toYaml . | nindent 8 }} {{- end }} labels: {{- include "common.labels.standard" (dict "customLabels" .Values.labels "context" $) | nindent 8 }} + service: voyager-ui spec: containers: - - name: {{ include "common.names.fullname" . | quote }} + - name: {{ include "voyager.service.fullname" (dict "name" "ui" "context" .) | quote }} image: {{ include "common.images.image" ( dict "imageRoot" (merge .Values.image (dict "tag" .Chart.AppVersion)) ) | quote }} imagePullPolicy: {{ quote .Values.image.pullPolicy }} {{- if or .Values.lemmyServers .Values.env }} @@ -33,6 +35,11 @@ spec: - containerPort: 5314 name: http protocol: TCP + {{- if .Values.resources }} + resources: {{- toYaml .Values.resources | nindent 12 }} + {{- else if ne .Values.resourcesPreset "none" }} + resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }} + {{- end }} {{- with .Values.podSecurityContext }} securityContext: {{- toYaml . | nindent 12 }} {{- end }} diff --git a/voyager/templates/ingress.yaml b/voyager/templates/ui/ingress.yaml similarity index 74% rename from voyager/templates/ingress.yaml rename to voyager/templates/ui/ingress.yaml index bef6d1f..9fa18a1 100644 --- a/voyager/templates/ingress.yaml +++ b/voyager/templates/ui/ingress.yaml @@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{ include "common.names.fullname" . | quote }} + name: {{ include "voyager.service.fullname" (dict "name" "ui" "context" .) | quote }} {{- with .Values.ingress.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} @@ -17,7 +17,7 @@ spec: pathType: ImplementationSpecific backend: service: - name: {{ include "common.names.fullname" $ | quote }} + name: {{ include "voyager.service.fullname" (dict "name" "ui" "context" $) | quote }} port: name: http {{- end }} diff --git a/voyager/templates/service.yaml b/voyager/templates/ui/service.yaml similarity index 55% rename from voyager/templates/service.yaml rename to voyager/templates/ui/service.yaml index d49190b..7795fd7 100644 --- a/voyager/templates/service.yaml +++ b/voyager/templates/ui/service.yaml @@ -1,11 +1,12 @@ -{{- if or .Values.service.enabled .Values.ingress.enabled }} +{{- if or .Values.service.enabled .Values.ingress.enabled .Values.proxy.enabled }} --- apiVersion: v1 kind: Service metadata: - name: {{ include "common.names.fullname" . | quote }} + name: {{ include "voyager.service.fullname" (dict "name" "ui" "context" .) | quote }} spec: selector: {{- include "common.labels.matchLabels" (dict "customLabels" .Values.labels "context" $) | nindent 4 }} + service: voyager-ui ports: - name: http port: 80 diff --git a/voyager/values.yaml b/voyager/values.yaml index 0a19afb..4847050 100644 --- a/voyager/values.yaml +++ b/voyager/values.yaml @@ -20,3 +20,33 @@ ingress: service: enabled: false + +resourcesPreset: nano +resources: {} + +proxy: + enabled: false + + image: + registry: "" + repository: nginx + tag: "1-alpine" + digest: "" + pullPolicy: IfNotPresent + + config: + enabled: true + + lemmyServer: "" + allowedProxies: [] + + labels: {} + + ingress: + enabled: false + annotations: {} + hosts: [] + tls: [] + + resourcesPreset: nano + resources: {}