41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Values.deployment.blog.name }}
|
|
spec:
|
|
selector:
|
|
app: {{ .Values.deployment.blog.labels.app }}
|
|
ports:
|
|
- name: {{ .Values.deployment.blog.name }}
|
|
protocol: TCP
|
|
port: {{ .Values.blog.port }}
|
|
targetPort: {{ .Values.blog.targetPort }}
|
|
type: {{ .Values.blog.type }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Values.deployment.blog_gateway.name }}
|
|
spec:
|
|
selector:
|
|
app: {{ .Values.deployment.blog_gateway.labels.app }}
|
|
ports:
|
|
- name: {{ .Values.deployment.blog_gateway.name }}
|
|
protocol: TCP
|
|
port: {{ .Values.blog_gateway.port }}
|
|
targetPort: {{ .Values.blog_gateway.targetPort }}
|
|
type: {{ .Values.blog_gateway.type }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Values.statefulset.blog_twikoo.name }}
|
|
spec:
|
|
selector:
|
|
app: {{ .Values.statefulset.blog_twikoo.labels.app }}
|
|
ports:
|
|
- name: {{ .Values.statefulset.blog_twikoo.name }}
|
|
protocol: TCP
|
|
port: {{ .Values.blog_twikoo.port }}
|
|
targetPort: {{ .Values.blog_twikoo.targetPort }}
|
|
type: {{ .Values.blog_twikoo.type }} |