Use more generic name "django" instead of glitchtip for template

variables
This commit is contained in:
David Burke 2021-02-19 20:20:53 +00:00
parent efc58de740
commit 976c6799dd
19 changed files with 233 additions and 201 deletions

View file

@ -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