- 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
394 B
YAML
16 lines
394 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: "{{ include "dahoam-chart.fullname" . }}-test-connection"
|
|
labels:
|
|
{{- include "dahoam-chart.labels" . | nindent 4 }}
|
|
annotations:
|
|
"helm.sh/hook": test
|
|
spec:
|
|
containers:
|
|
- name: wget
|
|
image: busybox
|
|
command: ['wget']
|
|
args: ['{{ include "dahoam-chart.fullname" . }}:{{ .Values.service.port }}']
|
|
restartPolicy: Never
|