/
githubmirror
/
charts
Обзор
Документация
Войти
/
githubmirror
/
charts
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
stable/cloudserver/templates/api-service.yaml
25 строк
673 B
Giacomo Guiulfo
[stable/cloudserver]: add Cloudserver chart (#9133)
03 дек 2018, 22:23
03 дек 2018, 22:23
f06383c
Код
Авторство
О чём код?
apiVersion: v1 kind: Service metadata: {{- if .Values.api.service.annotations }} annotations: {{ toYaml .Values.api.service.annotations | indent 4 }} {{- end }} name: {{ template "cloudserver.fullname" . }} labels: app: {{ template "cloudserver.name" . }} chart: {{ template "cloudserver.chart" . }} component: api heritage: {{ .Release.Service }} release: {{ .Release.Name }} spec: type: {{ .Values.api.service.type }} ports: - port: {{ .Values.api.service.port }} targetPort: http protocol: TCP name: http selector: app: {{ template "cloudserver.name" . }} component: api release: {{ .Release.Name }}