You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helm/pkg/lint/rules/testdata/configmaplist-chart/templates/configmaplist.yaml

21 lines
602 B

apiVersion: v1
kind: ConfigMapList
metadata:
# ConfigMapList objects don't require meaningful names
# This should not trigger lint warnings
items:
- apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-database-config
namespace: {{ .Release.Namespace }}
data:
host: {{ .Values.configs.database.host }}
port: "{{ .Values.configs.database.port }}"
- apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-cache-config
namespace: {{ .Release.Namespace }}
data:
redis-url: {{ .Values.configs.cache.redis }}