rancher-partner-charts/charts/cockroach-labs/cockroachdb/13.0.1/templates/secret.logconfig.yaml

20 lines
618 B
YAML
Raw Normal View History

2022-10-26 08:01:31 +00:00
{{- if .Values.conf.log.enabled }}
kind: Secret
2021-06-24 01:55:05 +00:00
apiVersion: v1
metadata:
2022-10-26 08:01:31 +00:00
name: {{ template "cockroachdb.fullname" . }}-log-config
2021-06-24 01:55:05 +00:00
namespace: {{ .Release.Namespace | quote }}
labels:
helm.sh/chart: {{ template "cockroachdb.chart" . }}
app.kubernetes.io/name: {{ template "cockroachdb.name" . }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
{{- with .Values.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
2022-10-26 08:01:31 +00:00
type: Opaque
stringData:
log-config.yaml: |
{{- toYaml .Values.conf.log.config | nindent 4 }}
2021-06-24 01:55:05 +00:00
{{- end }}