templates/service.yaml を更新
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "{{ .Chart.Name }}.fullname" . }}
|
||||
name: {{ include "phpmyadmin-nginx.fullname" . }}
|
||||
labels:
|
||||
{{- include "{{ .Chart.Name }}.labels" . | nindent 4 }}
|
||||
{{- include "phpmyadmin-nginx.labels" . | nindent 4 }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: 80
|
||||
targetPort: {{ .Values.service.targetPort }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "{{ .Chart.Name }}.selectorLabels" . | nindent 4 }}
|
||||
{{- include "phpmyadmin-nginx.selectorLabels" . | nindent 4 }}
|
||||
Reference in New Issue
Block a user