Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-09-16 07:42:05 -04:00
pkg-proxy/deploy/charts/proxy/templates/configmap.yaml
Andrew Nesbitt 230fa7b193
Add Helm chart (#250)
* Add Helm chart

* Fail early on ingress without hosts and document replica/mount coupling
2026-09-04 10:52:43 +01:00

12 lines
390 B
YAML

{{- if not .Values.config.existingConfigMap }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "proxy.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "proxy.labels" . | nindent 4 }}
data:
{{ required "config.existingConfigMapKey is required" .Values.config.existingConfigMapKey }}: |
{{- toYaml .Values.config.data | nindent 4 }}
{{- end }}