fixed multiple issues

This commit is contained in:
0x6b-dev 2023-06-26 01:25:40 +10:00
parent b13d4edcc5
commit 0220dd465f
2 changed files with 4 additions and 4 deletions

View File

@ -6,9 +6,7 @@ metadata:
labels:
{{- include "homebox.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "homebox.selectorLabels" . | nindent 6 }}
@ -32,7 +30,7 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.www.image }}:{{ .Values.www.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.www.pullPolicy }}
envFrom:
- configMapRef:
name: {{ .Release.Name }}-config
@ -48,7 +46,6 @@ spec:
{{- if .Values.persistence.subPath }}
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- include "homebox.container-additional-mounts" . | nindent 12 }}
volumes:
{{- if gt (len .Values.extraVolumes) 0 }}
{{- toYaml .Values.extraVolumes | nindent 8 }}

3
index.yaml Normal file
View File

@ -0,0 +1,3 @@
apiVersion: v1
entries: {}
generated: "2023-06-26T01:25:11.57441516+10:00"