You've already forked drone-charts
							
							Initial Commit
This commit is contained in:
		
							
								
								
									
										15
									
								
								templates/tests/test-connection.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								templates/tests/test-connection.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Pod
 | 
			
		||||
metadata:
 | 
			
		||||
  name: "{{ include "drone.fullname" . }}-test-connection"
 | 
			
		||||
  labels:
 | 
			
		||||
    {{- include "drone.labels" . | nindent 4 }}
 | 
			
		||||
  annotations:
 | 
			
		||||
    "helm.sh/hook": test
 | 
			
		||||
spec:
 | 
			
		||||
  containers:
 | 
			
		||||
    - name: wget
 | 
			
		||||
      image: busybox
 | 
			
		||||
      command: ['wget']
 | 
			
		||||
      args: ['{{ include "drone.fullname" . }}:{{ .Values.service.port }}']
 | 
			
		||||
  restartPolicy: Never
 | 
			
		||||
		Reference in New Issue
	
	Block a user