Files
booklore/example-chart/templates/service.yaml
Adam Compton ae24cca0e3 Adding a Helm chart to install in Kubernetes (#1010)
* first pass at a helm chart

* more cleanup

* adding more stuff

* trying to generate the DB password

* more fixes and hardening

* Don't need to bake this in

* switching these back to the defaults

* more cleanup

* bumping the app version to match release

* some fixes

* updating volumeMounts too

* and disabling the PVCs if we aren't using them

* fixing the spacing

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-09-07 09:27:13 -06:00

16 lines
364 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "booklore.fullname" . }}
labels:
{{- include "booklore.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "booklore.selectorLabels" . | nindent 4 }}