Migrate to the stack theme

This commit is contained in:
2024-02-13 15:33:11 +01:00
parent b98dc56fb3
commit b2b29a6f0f
143 changed files with 297 additions and 1363 deletions

View File

@ -41,7 +41,7 @@ spec:
mountPath: "/tmp"
readOnly: true
- name: {{ .Values.volumes.rclone.name }}
mountPath: /static
mountPath: /assets
readOnly: false
resources:
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
@ -59,8 +59,8 @@ spec:
{{- end }}
volumeMounts:
- name: {{ .Values.volumes.rclone.name }}
mountPath: /src/static
readOnly: true
mountPath: /src/assets
readOnly: false
- name: {{ .Values.volumes.public.name }}
mountPath: /src/public
readOnly: false
@ -88,7 +88,7 @@ spec:
volumes:
- name: rclone-config
secret:
secretName: rclone-config
secretName: rclone-config-{{ .Release.Name }}
- name: {{ .Values.volumes.rclone.name }}
emptyDir:
sizeLimit: {{ .Values.volumes.rclone.sizeLimit }}
@ -97,5 +97,5 @@ spec:
sizeLimit: {{ .Values.volumes.public.sizeLimit }}
- name: nginx-config
configMap:
name: nginx-config
name: nginx-config-{{ .Release.Name }}

View File

@ -1,16 +0,0 @@
{{- if .Values.istio.enabled -}}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace.name }}
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
{{- range $key, $value := .Values.namespace.labels}}
{{ $key }}: {{ $value }}
{{- end }}
{{- with .Values.namespace.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-config
name: nginx-config-{{ .Release.Name }}
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
data:

View File

@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: rclone-config
name: rclone-config-{{ .Release.Name }}
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
type: generic