use .fr and fix ssl issuer
All checks were successful
Docker Build / pull-and-push-image (push) Successful in 18s
All checks were successful
Docker Build / pull-and-push-image (push) Successful in 18s
This commit is contained in:
@@ -65,5 +65,5 @@ Create the name of the service account to use
|
||||
Define the public fqdn
|
||||
*/}}
|
||||
{{- define "url-shortener.fqdn" -}}
|
||||
https:// {{- or (.Values.ingress.hosts | first).host ( get .Values.ingress.annotations "traefik.ingress.kubernetes.io/router.tls.domains.0.sans" ) }}
|
||||
https:// {{- or ((.Values.ingress.hosts | first).host | replace ".lab" ".fr" ) ( get .Values.ingress.annotations "traefik.ingress.kubernetes.io/router.tls.domains.0.sans" ) }}
|
||||
{{- end }}
|
||||
@@ -5,13 +5,12 @@ metadata:
|
||||
labels:
|
||||
{{- include "url-shortener.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- with omit .Values.ingress.annotations "traefik.ingress.kubernetes.io/router.middlewares" -}}
|
||||
{{ toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
traefik.ingress.kubernetes.io/router.pathmatcher: PathRegexp
|
||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-crowdsec@kubernetescrd
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ (.Values.ingress.hosts | first).host }}
|
||||
- host: {{ (.Values.ingress.hosts | first).host | replace ".lab" ".fr" }}
|
||||
http:
|
||||
paths:
|
||||
- path: /[^/]+
|
||||
|
||||
@@ -49,7 +49,9 @@ ingress:
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
cert-manager.io/cluster-issuer: step-ca
|
||||
cert-manager.io/issuer: step-issuer
|
||||
cert-manager.io/issuer-kind: StepClusterIssuer
|
||||
cert-manager.io/issuer-group: certmanager.step.sm
|
||||
traefik.ingress.kubernetes.io/router.middlewares: localIp@file
|
||||
tls:
|
||||
- secretName: url-arcodange-lab-tls
|
||||
|
||||
Reference in New Issue
Block a user