ace
8867ab5980
postgres-operator-ui: bump to v1.9.0, helm chart v1.9.0 astodon: bump to v4.1.2, helm chart v4.0.0
29 lines
910 B
YAML
29 lines
910 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
|
|
helm.sh/chart: {{ template "postgres-operator-ui.chart" . }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
{{- with .Values.service.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
name: {{ template "postgres-operator-ui.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: 8081
|
|
{{- if and (eq .Values.service.type "NodePort") .Values.service.nodePort }}
|
|
nodePort: {{ .Values.service.nodePort }}
|
|
{{- end }}
|
|
protocol: TCP
|
|
selector:
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/name: {{ template "postgres-operator-ui.name" . }}
|
|
type: {{ .Values.service.type }}
|
|
|
|
|