mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-25 08:20:31 +08:00

Signed-off-by: henrywangx <henrywangx@gmail.com> Co-authored-by: xiong wang <xiong.wang@inceptio.ai>
16 lines
361 B
YAML
16 lines
361 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "casdoor.fullname" . }}
|
|
labels:
|
|
{{- include "casdoor.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "casdoor.selectorLabels" . | nindent 4 }}
|