fix: incorrect formatting (#2917)

This commit is contained in:
DarkSky
2023-06-29 16:25:43 +08:00
committed by GitHub
parent 5ad2908760
commit 8a2dac9718
4 changed files with 47 additions and 51 deletions

View File

@@ -1,13 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: { { include "affine-cloud.fullname" . } }
labels: { { - include "affine-cloud.labels" . | nindent 4 } }
name: "{{ include "affine-cloud.fullname" . }}"
labels:
{{- include "affine-cloud.labels" . | nindent 4 }}
spec:
type: '{{ .Values.affineCloud.service.type }}'
type: "{{ .Values.affineCloud.service.type }}"
ports:
- name: http
protocol: TCP
port: { { .Values.affineCloud.service.port } }
port: {{ .Values.affineCloud.service.port }}
targetPort: 3000
selector: { { - include "affine-cloud.selectorLabels" . | nindent 4 } }
selector:
{{- include "affine-cloud.selectorLabels" . | nindent 4 }}