mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
- There are 4 recommended labels, and one optional that were added. - Source, https://helm.sh/docs/topics/chart_best_practices/labels/
19 lines
551 B
YAML
19 lines
551 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Release.Name }}-webapp
|
|
labels:
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/name: human-connection
|
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
|
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
|
|
spec:
|
|
ports:
|
|
- name: {{ .Release.Name }}-webapp
|
|
port: 3000
|
|
protocol: TCP
|
|
targetPort: 3000
|
|
selector:
|
|
human-connection.org/selector: deployment-webapp
|