Files
JFrog-Cloud-Installers/Openshift4/helm/openshift-pipelines/charts/pipelines/templates/vault-service-headless.yaml
2020-10-12 10:19:10 -07:00

24 lines
596 B
YAML

{{- if .Values.vault.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "pipelines.vault.name" . }}-headless
labels:
{{- include "pipelines.labels" . | nindent 4 }}
component: {{ include "pipelines.vault.name" . }}
spec:
type: ClusterIP
clusterIP: None
ports:
- name: http
port: {{ .Values.vault.service.port }}
targetPort: 30100
protocol: TCP
- name: server
port: 30101
protocol: TCP
selector:
{{- include "pipelines.selectorLabels" . | nindent 4 }}
component: {{ include "pipelines.vault.name" . }}
{{- end }}