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
16
templates/web/service.yaml
Normal file
16
templates/web/service.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "django.fullname" . }}-web
|
||||
labels:
|
||||
{{- include "django.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.web.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.web.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "django.selectorLabels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: web
|
Reference in a new issue