This commit is contained in:
17
testdata/helm/kubeviz-sample/templates/service.yaml
vendored
Normal file
17
testdata/helm/kubeviz-sample/templates/service.yaml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "kubeviz-sample.fullname" . }}
|
||||
namespace: {{ include "kubeviz-sample.namespace" . }}
|
||||
labels:
|
||||
{{- include "kubeviz-sample.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ include "kubeviz-sample.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
ports:
|
||||
- name: http
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: {{ .Values.service.targetPort }}
|
||||
protocol: {{ .Values.service.protocol }}
|
||||
Reference in New Issue
Block a user