FIX yaml issue with dnsconfig for theia-proxy deployment
@@ -29,19 +29,18 @@ spec:
app.kubernetes.io/name: theia
component: proxy
spec:
- containers:
- - name: proxy
- image: {{ .Values.theia.proxy.image }}:{{ .Values.theia.proxy.tag }}
- imagePullPolicy: {{ .Values.imagePullPolicy }}
-
# There is a weird issue with the dns where it is sometimes not
# looking up the database correctly. Set the dns to cloudflare
# to fix it.
- dnsPolicy: 'none'
+ dnsPolicy: 'None'
dnsConfig:
nameservers:
- 1.1.1.1
+ containers:
+ - name: proxy
+ image: {{ .Values.theia.proxy.image }}:{{ .Values.theia.proxy.tag }}
+ imagePullPolicy: {{ .Values.imagePullPolicy }}
{{- if not .Values.debug}}
resources:
requests:
