generated from pkg/go-template
26 lines
602 B
YAML
Executable File
26 lines
602 B
YAML
Executable File
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: {{ .Release.Name }}
|
|
namespace: {{ .Values.nameSpace }}
|
|
annotations:
|
|
kubesphere.io/creator: drone
|
|
labels:
|
|
app: {{ .Release.Name }}
|
|
app.kubernetes.io/version: v1
|
|
app.kubernetes.io/name: {{ .Release.Name }}
|
|
version: v1
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
spec:
|
|
ports:
|
|
- name: http-{{ .Release.Name }}
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: {{ .Values.port }}
|
|
selector:
|
|
app: {{ .Release.Name }}
|
|
type: ClusterIP
|
|
sessionAffinity: None
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack |