File tree Expand file tree Collapse file tree 1 file changed +6
-23
lines changed Expand file tree Collapse file tree 1 file changed +6
-23
lines changed Original file line number Diff line number Diff line change @@ -8,39 +8,22 @@ metadata:
8
8
component : web-service
9
9
environment : {{ .Values.environment }}
10
10
release : {{ .Release.Name }}
11
- {{- if eq .Values.cloudProvider "aws" }}
12
11
annotations :
13
- service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout : " 300"
14
- {{- if .Values.AWS_SSL_ARN }}
15
- service.beta.kubernetes.io/aws-load-balancer-ssl-cert : {{ .Values.AWS_SSL_ARN }}
16
- service.beta.kubernetes.io/aws-load-balancer-backend-protocol : http
17
- service.beta.kubernetes.io/aws-load-balancer-ssl-ports : https
18
- {{- end }}
19
- {{- end }}
12
+ kubernetes.io/ingress.class : nginx
13
+ # nginx.ingress.kubernetes.io/proxy-body-size: "300m"
14
+ cert-manager.io/cluster-issuer : letsencrypt-prod-issuer
20
15
spec :
21
- # In case cloudProvider=aws
22
- {{- if eq .Values.cloudProvider "aws" }}
23
- type : LoadBalancer
24
- {{- end }}
25
- # In case cloudProvider=gcp
26
- {{- if eq .Values.cloudProvider "gcp" }}
27
- type : LoadBalancer
28
- {{- end }}
29
- # In case cloudProvider=minikube
30
16
{{- if eq .Values.cloudProvider "minikube" }}
31
17
type : NodePort
18
+ {{- else }}
19
+ type : ClusterIP
32
20
{{- end }}
33
21
ports :
34
22
- port : 80
35
23
targetPort : http
24
+ nodePort : null
36
25
protocol : TCP
37
26
name : http
38
- {{- if .Values.AWS_SSL_ARN }} # FIXME: make generic
39
- - port : 443
40
- targetPort : http
41
- protocol : TCP
42
- name : https
43
- {{- end }}
44
27
selector :
45
28
app : {{ template "osm-seed.name" . }}
46
29
release : {{ .Release.Name }}
You can’t perform that action at this time.
0 commit comments