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