Commit 805bde44 authored by pg-ta's avatar pg-ta

service names updated by Admin....q

parent 6b8387a9
Pipeline #2897 failed with stages
in 4 seconds
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "project1392.fullname" . -}}
{{- $fullName := include "project1473.fullname" . -}}
{{- $ingressPaths := .Values.ingress.paths -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
app.kubernetes.io/name: {{ include "project1392.name" . }}
helm.sh/chart: {{ include "project1392.chart" . }}
app.kubernetes.io/name: {{ include "project1473.name" . }}
helm.sh/chart: {{ include "project1473.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/subnets: {{ .Values.ingress.subnets }}
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/target-type: instance
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/certificate-arn: {{ .Values.ingress.certificatearn }}
alb.ingress.kubernetes.io/healthcheck-protocol: HTTP
alb.ingress.kubernetes.io/healthcheck-port: traffic-port
alb.ingress.kubernetes.io/healthcheck-path: /
alb.ingress.kubernetes.io/healthcheck-interval-seconds: '15'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '5'
alb.ingress.kubernetes.io/success-codes: '200,302'
alb.ingress.kubernetes.io/healthy-threshold-count: '2'
alb.ingress.kubernetes.io/unhealthy-threshold-count: '2'
alb.ingress.kubernetes.io/load-balancer-name: {{ .Values.ingress.loadbalancername }}
spec:
{{- if .Values.ingress.tls }}
tls:
......@@ -27,14 +41,12 @@ spec:
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . | quote }}
- host: {{ .host }}
http:
paths:
{{- range $ingressPaths }}
- path: {{ . }}
- path: /*
backend:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
serviceName: {{ .serviceName }}
servicePort: {{ .servicePort }}
{{- end }}
{{- end }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment