6056f370f9
Build Media Mirror Worker / Build and publish (release) Successful in 3m30s
- workflow на release published: bootJar, build-docker (media-mirror/*), helm-publish (9.9.9 → tag) - helm: Chart.yaml placeholder 9.9.9, values, templates (deployment/service/configmap/secret) - env: DB, S3, Jellyfin через secret
22 lines
571 B
YAML
22 lines
571 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: "{{ $.Release.Name }}-{{ $.Chart.Name }}"
|
|
labels:
|
|
{{- if $.Values.labels }}
|
|
{{- toYaml $.Values.labels | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/name: {{ $.Chart.Name }}
|
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|
|
spec:
|
|
ports:
|
|
- port: {{ $.Values.port }}
|
|
protocol: TCP
|
|
name: http
|
|
- port: {{ $.Values.managementPort }}
|
|
protocol: TCP
|
|
name: management
|
|
selector:
|
|
app.kubernetes.io/name: {{ $.Chart.Name }}
|
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|