c2487ec0b6
- Create Chart.yaml with application metadata and keywords - Add _helpers.tpl with name, fullname, labels, and DNS template functions - Generate ConfigMap with all gitks configuration environment variables - Implement StatefulSet with persistent volume claims for repository data - Create headless service for pod DNS and cluster communication - Add gRPC service for client connections and metrics service - Include HorizontalPodAutoscaler for dynamic scaling - Add PodDisruptionBudget to maintain cluster availability - Create ServiceAccount with proper security context - Add test connection pod using grpcurl for health checks - Generate NOTES.txt with installation instructions and quick start guide - Create .helmignore file to exclude common development files - Configure persistence, resource limits, and security settings - Add support for cluster mode with etcd service discovery
22 lines
556 B
YAML
22 lines
556 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: "{{ include "gitks.fullname" . }}-test-connection"
|
|
labels:
|
|
{{- include "gitks.labels" . | nindent 4 }}
|
|
annotations:
|
|
"helm.sh/hook": test
|
|
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
|
spec:
|
|
containers:
|
|
- name: grpc-health
|
|
image: fullstorydev/grpcurl:latest
|
|
command: ['grpcurl']
|
|
args:
|
|
- -plaintext
|
|
- -connect-timeout
|
|
- "5"
|
|
- {{ include "gitks.fullname" . }}:{{ .Values.service.port }}
|
|
- list
|
|
restartPolicy: Never
|