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 -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "project1392.fullname" . -}} {{- $fullName := include "project1473.fullname" . -}}
{{- $ingressPaths := .Values.ingress.paths -}} {{- $ingressPaths := .Values.ingress.paths -}}
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
name: {{ $fullName }} name: {{ $fullName }}
labels: labels:
app.kubernetes.io/name: {{ include "project1392.name" . }} app.kubernetes.io/name: {{ include "project1473.name" . }}
helm.sh/chart: {{ include "project1392.chart" . }} helm.sh/chart: {{ include "project1473.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.ingress.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} alb.ingress.kubernetes.io/scheme: internet-facing
{{- end }} 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: spec:
{{- if .Values.ingress.tls }} {{- if .Values.ingress.tls }}
tls: tls:
...@@ -27,14 +41,12 @@ spec: ...@@ -27,14 +41,12 @@ spec:
{{- end }} {{- end }}
rules: rules:
{{- range .Values.ingress.hosts }} {{- range .Values.ingress.hosts }}
- host: {{ . | quote }} - host: {{ .host }}
http: http:
paths: paths:
{{- range $ingressPaths }} - path: /*
- path: {{ . }}
backend: backend:
serviceName: {{ $fullName }} serviceName: {{ .serviceName }}
servicePort: http servicePort: {{ .servicePort }}
{{- end }}
{{- end }} {{- end }}
{{- 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