feat(charts):完成第一版helm charts
This commit is contained in:
25
charts/templates/svc-timescaledb-access.yaml
Normal file
25
charts/templates/svc-timescaledb-access.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
# This file and its contents are licensed under the Apache License 2.0.
|
||||
# Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "timescaledb.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "timescaledb.fullname" . }}
|
||||
chart: {{ template "timescaledb.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
annotations:
|
||||
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "4000"
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: postgresql
|
||||
port: 5432
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: {{ template "timescaledb.fullname" . }}
|
||||
timescaleNodeType: access
|
||||
...
|
||||
Reference in New Issue
Block a user