Files
web-apps/charts/web-app/templates/service.yaml
Mayne0213 128ab8cdb7 REFACTOR(repo): migrate to Helm chart structure
- Add web-app Helm chart in charts/web-app/
- Replace individual deployment/service/ingress YAML with helm-values
- Update ArgoCD applications to use Helm chart with values files
- Reduces per-app files from 6 to 2 (argocd.yaml + helm-values.yaml)

Apps migrated: jaejadle, jaejadle-dev, joossam, joossam-dev,
jotion, jovies, portfolio, todo
2026-01-06 01:04:43 +09:00

18 lines
429 B
YAML

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