Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Sep 17, 2023
1 parent 5ccae75 commit 142336b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion helm/bot-telegram/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: "{{ $fullName }}"
name: "aaa-{{ $fullName }}"
labels:
{{- include "bot-telegram.labels" . | nindent 4 }}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/auth-tls-verify-client: "off"
nginx.ingress.kubernetes.io/backend-protocol: "https"
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
spec:
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.ingress.className }}
Expand Down

0 comments on commit 142336b

Please sign in to comment.