mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-05 16:56:22 +00:00
📝 feat: Update README with feature list and deployment instructions
refactor: Remove old Helm chart files and templates feat: Add new Helm chart structure for neo-blog deployment chore: Add .helmignore and initial Chart.yaml for Helm chart feat: Implement backend and frontend deployment templates in Helm chart feat: Create services and ingress configurations for backend and frontend chore: Define resource limits and requests for backend and frontend in values.yaml feat: Enable autoscaling configuration for backend and frontend deployments chore: Clean up unused files and configurations from previous setup
This commit is contained in:
17
helm/templates/frontend-service.yaml
Normal file
17
helm/templates/frontend-service.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
{{- if .Values.frontend.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "neo-blog.fullname" . }}-frontend
|
||||
labels:
|
||||
{{- include "neo-blog.frontend.selectorLabels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "neo-blog.frontend.selectorLabels" . | nindent 4 }}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user