14 lines
238 B
YAML
14 lines
238 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ .Release.Name }}-web
|
||
|
labels:
|
||
|
kiamol: ch10
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 80
|
||
|
name: http
|
||
|
selector:
|
||
|
app: {{ .Release.Name }}
|
||
|
component: web
|
||
|
type: {{ .Values.serviceType }}
|