Add https to api in test (#155)
This commit is contained in:
parent
4ca0bf1c0e
commit
a926f3c409
|
@ -26,6 +26,11 @@ metadata:
|
|||
namespace: {{ .NAMESPACE }}
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: {{ .HOSTNAME }}
|
||||
{{ if eq .ENVIRONMENT "test" }}
|
||||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
|
||||
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
|
||||
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: {{ .SSL_CERT }}
|
||||
{{ end }}
|
||||
labels:
|
||||
app: {{ .NAME }}
|
||||
spec:
|
||||
|
@ -33,9 +38,13 @@ spec:
|
|||
selector:
|
||||
app: {{ .NAME }}
|
||||
ports:
|
||||
- port: 80
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: {{ .PORT }}
|
||||
protocol: TCP
|
||||
- name: https
|
||||
port: 443
|
||||
targetPort: {{ .PORT }}
|
||||
name: {{ .NAME }}
|
||||
protocol: TCP
|
||||
{{ end }}
|
||||
---
|
||||
|
@ -101,8 +110,8 @@ spec:
|
|||
key: redis-uri
|
||||
- name: WORMSCAN_CACHE_ENABLED
|
||||
value: "true"
|
||||
- name: PPROF_ENABLED
|
||||
value: {{ .PPROF_ENABLED }}
|
||||
- name: WORMSCAN_PPROF_ENABLED
|
||||
value: {{ .WORMSCAN_PPROF_ENABLED }}
|
||||
resources:
|
||||
limits:
|
||||
memory: {{ .RESOURCES_LIMITS_MEMORY }}
|
||||
|
|
|
@ -12,4 +12,5 @@ WORMSCAN_RUNMODE=DEVELOPMENT
|
|||
WORMSCAN_LOGLEVEL=INFO
|
||||
WORMSCAN_P2PNETWORK=testnet
|
||||
WORMSCAN_PPROF_ENABLED=false
|
||||
HOSTNAME=api.testnet.wormscan.io
|
||||
HOSTNAME=api.testnet.wormscan.io
|
||||
SSL_CERT=
|
Loading…
Reference in New Issue