- redis-ui.git
- k8s
- chart
- templates
- configmap.yaml
This file ( 954B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
apiVersion: v1
kind: ConfigMap
metadata:
name: p3x-redis-ui-settings
namespace: {{ .Release.Namespace }}
data:
.p3xrs-conns.json: |
{
"list": [
{{- if .Values.connections }}
{{- $length := .Values.connections | len }}
{{- range $index, $connection := .Values.connections }}
{
"name": "{{ $connection.name }}",
"host": "{{ $connection.host }}",
"port": {{ $connection.port | default 6379 }},
"password": "{{ $connection.password }}",
"nodes": [],
"azure": {{ $connection.azure | default false }},
"cluster": {{ $connection.cluster | default false }},
"awsElastiCache": {{ $connection.awsElastiCache | default false }}
}
{{- if ne $length ($index | add1) }}
,
{{- end -}}
{{- end -}}
{{- end -}}
],
"license": "{{ .Values.license }}"
}