Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Verified Commit a0daa7b2 authored by Benoît's avatar Benoît
Browse files

fix: Bad Nginx + Traefik annotations values

parent 3f357209
No related branches found
Tags 6.0.1
No related merge requests found
Pipeline #33031 passed
......@@ -11,9 +11,9 @@ metadata:
annotations:
{{- if and (eq .Values.proxy.ingress.ingressControllerType "nginx") .Values.tls.enabled }}
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/proxy-ssl-name: {{ printf "%s-proxy-public" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}.svc.{{ .Values.clusterDomain }}
nginx.ingress.kubernetes.io/proxy-ssl-secret: {{ include "common.names.fullname" . }}-proxy-crt
nginx.ingress.kubernetes.io/proxy-ssl-server-name: {{ printf "%s-proxy-public" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}.svc.{{ .Values.clusterDomain }}
nginx.ingress.kubernetes.io/proxy-ssl-name: {{ printf "%s-proxy-public" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
nginx.ingress.kubernetes.io/proxy-ssl-secret: {{ .Release.Namespace }}/{{ include "common.names.fullname" . }}-proxy-crt
nginx.ingress.kubernetes.io/proxy-ssl-server-name: {{ printf "%s-proxy-public" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
nginx.ingress.kubernetes.io/proxy-ssl-verify: "true"
{{- end }}
{{- if or .Values.proxy.ingress.annotations .Values.commonAnnotations }}
......
......@@ -13,10 +13,6 @@ metadata:
traefik.ingress.kubernetes.io/service.serversscheme: https
traefik.ingress.kubernetes.io/service.serverstransport: "{{ .Release.Namespace }}-{{ include "codehub.proxy.name" . }}@kubernetescrd"
{{- end }}
{{- if and (eq .Values.proxy.ingress.ingressControllerType "traefik") .Values.tls.enabled }}
traefik.ingress.kubernetes.io/service.serversscheme: https
traefik.ingress.kubernetes.io/service.serverstransport: "{{ .Release.Namespace }}-{{ include "codehub.proxy.name" . }}@kubernetescrd"
{{- end }}
spec:
type: {{ .Values.proxy.service.public.type }}
{{- if and .Values.proxy.service.public.clusterIP (eq .Values.proxy.service.public.type "ClusterIP") }}
......
......@@ -1495,7 +1495,7 @@ singleuser:
image:
registry: docker.io
repository: captnbp/code-server
tag: 4.21.2-r0
tag: 4.23.0-r0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment