fix template issue, ? (#344)

This commit is contained in:
Devin Buhl 2020-08-28 15:30:00 -04:00 committed by GitHub
parent 7138a0646d
commit 3f54137ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 18 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.19.5.3112-b23ab3896 appVersion: 1.19.5.3112-b23ab3896
description: Plex Media Server description: Plex Media Server
name: plex name: plex
version: 1.8.2 version: 1.8.3
keywords: keywords:
- plex - plex
home: https://plex.tv/ home: https://plex.tv/

View File

@ -62,20 +62,20 @@ spec:
{{- end }} {{- end }}
{{- end }} {{- end }}
containers: containers:
{{- if .Values.logging.promtail.enabled -}} {{- if .Values.logging.promtail.enabled }}
- name: {{ .Chart.Name }}-promtail - name: {{ .Chart.Name }}-promtail
image: "{{ .Values.logging.promtail.image.repository }}:{{ .Values.logging.promtail.image.tag }}" image: "{{ .Values.logging.promtail.image.repository }}:{{ .Values.logging.promtail.image.tag }}"
imagePullPolicy: {{ .Values.logging.promtail.image.pullPolicy }} imagePullPolicy: {{ .Values.logging.promtail.image.pullPolicy }}
args: args:
- -config.file=/etc/promtail/promtail.yaml - -config.file=/etc/promtail/promtail.yaml
volumeMounts: volumeMounts:
- name: promtail-config - name: promtail-config
mountPath: /etc/promtail/promtail.yaml mountPath: /etc/promtail/promtail.yaml
subPath: promtail.yaml subPath: promtail.yaml
readOnly: true readOnly: true
- name: shared-logs - name: shared-logs
mountPath: /plex-logs mountPath: /plex-logs
{{ end }} {{- end }}
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
@ -321,18 +321,18 @@ spec:
defaultMode: {{ .Values.certificate.pkcsMangler.volume.defaultMode }} defaultMode: {{ .Values.certificate.pkcsMangler.volume.defaultMode }}
- name: {{ .Values.certificate.pkcsMangler.certificateSecret.volume.name }} - name: {{ .Values.certificate.pkcsMangler.certificateSecret.volume.name }}
secret: secret:
secretName: {{ .Values.certificate.pkcsMangler.certificateSecret.name }} secretName: {{ .Values.certificate.pkcsMangler.certificateSecret.name }}
{{- end }} {{- end }}
{{- if .Values.logging.promtail.enabled -}} {{- if .Values.logging.promtail.enabled }}
- name: promtail-config - name: promtail-config
projected: projected:
defaultMode: 0444 defaultMode: 0444
sources: sources:
- configMap: - configMap:
name: {{ template "plex.fullname" . }}-promtail name: {{ template "plex.fullname" . }}-promtail
items: items:
- key: promtail.yaml - key: promtail.yaml
path: promtail.yaml path: promtail.yaml
{{- end }} {{- end }}
##### VOLUMES END ##### ##### VOLUMES END #####
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}

View File

@ -1,4 +1,4 @@
{{- if .Values.logging.promtail.enabled -}} {{- if .Values.logging.promtail.enabled }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata: