first commit
This commit is contained in:
18
notely/templates/redis-service.yaml
Normal file
18
notely/templates/redis-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.redis.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "notely.redis.fullname" . }}
|
||||
labels:
|
||||
{{- include "notely.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: {{ .Values.redis.service.port }}
|
||||
targetPort: redis
|
||||
protocol: TCP
|
||||
name: redis
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ include "notely.name" . }}-redis
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user