Use more generic name "django" instead of glitchtip for template
variables
This commit is contained in:
		
							parent
							
								
									efc58de740
								
							
						
					
					
						commit
						976c6799dd
					
				
					 19 changed files with 233 additions and 201 deletions
				
			
		| 
						 | 
				
			
			@ -1,15 +1,15 @@
 | 
			
		|||
apiVersion: v1
 | 
			
		||||
kind: Pod
 | 
			
		||||
metadata:
 | 
			
		||||
  name: "{{ include "glitchtip.fullname" . }}-test-connection"
 | 
			
		||||
  name: "{{ include "django.fullname" . }}-test-connection"
 | 
			
		||||
  labels:
 | 
			
		||||
{{ include "glitchtip.labels" . | nindent 4 }}
 | 
			
		||||
{{ include "django.labels" . | nindent 4 }}
 | 
			
		||||
  annotations:
 | 
			
		||||
    "helm.sh/hook": test-success
 | 
			
		||||
    "helm.sh/hook": test
 | 
			
		||||
spec:
 | 
			
		||||
  containers:
 | 
			
		||||
    - name: wget
 | 
			
		||||
      image: busybox
 | 
			
		||||
      command: ['wget']
 | 
			
		||||
      args:  ['{{ include "glitchtip.fullname" . }}:{{ .Values.service.port }}']
 | 
			
		||||
      args:  ['{{ include "django.fullname" . }}:{{ .Values.web.service.port }}']
 | 
			
		||||
  restartPolicy: Never
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue