- Create .helmignore to exclude unnecessary files - Add Chart.yaml with metadata and versioning - Implement secret reference for external secrets management - Define deployment, service, ingress, and HPA templates - Include HTTPRoute and Ingress configurations for routing - Set up service account and test connection pod - Establish default values in values.yaml for configuration
16 lines
376 B
YAML
16 lines
376 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "dahoam-chart.fullname" . }}
|
|
labels:
|
|
{{- include "dahoam-chart.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "dahoam-chart.selectorLabels" . | nindent 4 }}
|