remove unneeded services/ports

This commit is contained in:
Arlan Lloyd 2024-07-14 15:25:28 +00:00
parent b13affb84b
commit d983199969
7 changed files with 0 additions and 96 deletions

View File

@ -64,10 +64,6 @@ spec:
{{- with (concat .Values.global.extraEnv .Values.autosync.kyoo_autosync.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: main
containerPort: 80
protocol: TCP
{{- with .Values.autosync.kyoo_autosync.livenessProbe }}
livenessProbe:
{{- toYaml .Values.autosync.kyoo_autosync.livenessProbe | nindent 12 }}

View File

@ -1,24 +0,0 @@
apiVersion: v1
kind: Service
metadata:
{{- if .Values.autosync.service.annotations }}
annotations:
{{- range $key, $value := .Values.autosync.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "kyoo.autosync.fullname" . }}
labels:
{{- include "kyoo.labels" (dict "context" . "component" .Values.autosync.name "name" .Values.autosync.name) | nindent 4 }}
{{- with .Values.autosync.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.autosync.service.type }}
ports:
- port: 80
targetPort: http
protocol: TCP
name: main
selector:
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.autosync.name) | nindent 4 }}

View File

@ -78,10 +78,6 @@ spec:
{{- with (concat .Values.global.extraEnv .Values.matcher.kyoo_matcher.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: main
containerPort: 80
protocol: TCP
{{- with .Values.matcher.kyoo_matcher.livenessProbe }}
livenessProbe:
{{- toYaml .Values.matcher.kyoo_matcher.livenessProbe | nindent 12 }}

View File

@ -1,24 +0,0 @@
apiVersion: v1
kind: Service
metadata:
{{- if .Values.matcher.service.annotations }}
annotations:
{{- range $key, $value := .Values.matcher.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "kyoo.matcher.fullname" . }}
labels:
{{- include "kyoo.labels" (dict "context" . "component" .Values.matcher.name "name" .Values.matcher.name) | nindent 4 }}
{{- with .Values.matcher.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.matcher.service.type }}
ports:
- port: 80
targetPort: http
protocol: TCP
name: main
selector:
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.matcher.name) | nindent 4 }}

View File

@ -75,10 +75,6 @@ spec:
{{- with (concat .Values.global.extraEnv .Values.scanner.kyoo_scanner.extraEnv) }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: main
containerPort: 80
protocol: TCP
{{- with .Values.scanner.kyoo_scanner.livenessProbe }}
livenessProbe:
{{- toYaml .Values.scanner.kyoo_scanner.livenessProbe | nindent 12 }}

View File

@ -1,24 +0,0 @@
apiVersion: v1
kind: Service
metadata:
{{- if .Values.scanner.service.annotations }}
annotations:
{{- range $key, $value := .Values.scanner.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ include "kyoo.scanner.fullname" . }}
labels:
{{- include "kyoo.labels" (dict "context" . "component" .Values.scanner.name "name" .Values.scanner.name) | nindent 4 }}
{{- with .Values.scanner.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.scanner.service.type }}
ports:
- port: 80
targetPort: http
protocol: TCP
name: main
selector:
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.scanner.name) | nindent 4 }}

View File

@ -110,10 +110,6 @@ autosync:
deploymentAnnotations: {}
podAnnotations: {}
imagePullSecrets: []
service:
annotations: {}
labels: {}
type: ClusterIP
serviceAccount:
create: true
automount: true
@ -225,10 +221,6 @@ matcher:
deploymentAnnotations: {}
podAnnotations: {}
imagePullSecrets: []
service:
annotations: {}
labels: {}
type: ClusterIP
serviceAccount:
create: true
automount: true
@ -257,10 +249,6 @@ scanner:
deploymentAnnotations: {}
podAnnotations: {}
imagePullSecrets: []
service:
annotations: {}
labels: {}
type: ClusterIP
serviceAccount:
create: true
automount: true