Initial Commit
This commit is contained in:
16
chart/templates/service.yaml
Normal file
16
chart/templates/service.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.appName }}
|
||||
name: {{ .Values.appName }}-svc
|
||||
spec:
|
||||
ports:
|
||||
- name: 80-80
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: {{ .Values.appName }}
|
||||
svc: web
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user