JFrog Pipelines v1.8.0 as Openshift helm and operator

This commit is contained in:
John Peterson
2020-10-12 10:19:10 -07:00
parent b47a777448
commit c19effd7e7
203 changed files with 20124 additions and 1479 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "pipelines.api.name" . }}
labels:
{{- include "pipelines.labels" . | nindent 4 }}
component: {{ include "pipelines.api.name" . }}
{{- if .Values.pipelines.api.service.annotations }}
annotations:
{{- range $key, $value := .Values.pipelines.api.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
type: {{ .Values.pipelines.api.service.type }}
{{- if .Values.pipelines.api.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.pipelines.api.service.loadBalancerIP }}
{{- end }}
{{- if .Values.pipelines.api.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{ toYaml .Values.pipelines.api.service.loadBalancerSourceRanges | indent 4 }}
{{- end }}
ports:
- port: {{ .Values.pipelines.api.service.port }}
{{- if eq .Values.pipelines.api.service.type "NodePort" }}
nodePort: 30000
{{- end }}
targetPort: 30000
protocol: TCP
name: api
selector:
{{- include "pipelines.selectorLabels" . | nindent 4 }}
component: {{ include "pipelines.services.name" . }}