summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/00-init/gloo/templates/18-settings.yaml
blob: a2eec087cbb3f07f0b9efd0c0406169838c0b8ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{ if .Values.settings.create }}

apiVersion: gloo.solo.io/v1
kind: Settings
metadata:
  name: default
  namespace: {{ .Release.Namespace }}
  annotations:
    "helm.sh/hook": pre-install
spec:
  bindAddr: 0.0.0.0:{{ .Values.gloo.deployment.xdsPort }}
  discoveryNamespace: {{ .Values.settings.writeNamespace }}
  kubernetesArtifactSource: {}
  kubernetesConfigSource: {}
  kubernetesSecretSource: {}
  refreshRate: 60s

{{- if .Values.settings.extensions }}
  extensions:
{{- toYaml .Values.settings.extensions | nindent 4 }}
{{- end }}

{{- with .Values.settings.watchNamespaces }}
  watchNamespaces:
  {{- range . }}
  - {{ . }}
  {{- end }}
{{- end }}

{{- end }}