Public Information
This commit is contained in:
24
charts/instance/templates/void-service.tpl
Normal file
24
charts/instance/templates/void-service.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
{{- if (.this.ingress).domain }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .component.prefix }}void
|
||||
{{- if .this.utils.includeNamespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "nplus.instanceLabels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- include "nplus.argoWave" . | nindent 4 }}
|
||||
{{- include "nplus.annotations" . | nindent 4 }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
selector:
|
||||
app.kubernetes.io/name: void
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user