GHP publish
This commit is contained in:
26
openfaas/templates/oauth2-plugin-svc.yaml
Normal file
26
openfaas/templates/oauth2-plugin-svc.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
{{- $functionNs := default .Release.Namespace .Values.functionNamespace }}
|
||||
{{- if .Values.oauth2Plugin.enabled }}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "openfaas.name" . }}
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
|
||||
component: oauth2-plugin
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: oauth2-plugin
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: oauth2-plugin
|
||||
|
||||
{{- end }}
|
Reference in New Issue
Block a user