diff --git a/chart/templates/autosync/deployment.yaml b/chart/templates/autosync/deployment.yaml index 0921d249..1a793d24 100644 --- a/chart/templates/autosync/deployment.yaml +++ b/chart/templates/autosync/deployment.yaml @@ -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 }} diff --git a/chart/templates/autosync/service.yaml b/chart/templates/autosync/service.yaml deleted file mode 100644 index 7754b6af..00000000 --- a/chart/templates/autosync/service.yaml +++ /dev/null @@ -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 }} diff --git a/chart/templates/matcher/deployment.yaml b/chart/templates/matcher/deployment.yaml index 3b025f88..5fa4bf62 100644 --- a/chart/templates/matcher/deployment.yaml +++ b/chart/templates/matcher/deployment.yaml @@ -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 }} diff --git a/chart/templates/matcher/service.yaml b/chart/templates/matcher/service.yaml deleted file mode 100644 index f0023d69..00000000 --- a/chart/templates/matcher/service.yaml +++ /dev/null @@ -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 }} diff --git a/chart/templates/scanner/deployment.yaml b/chart/templates/scanner/deployment.yaml index 6f7a5b19..e30bed80 100644 --- a/chart/templates/scanner/deployment.yaml +++ b/chart/templates/scanner/deployment.yaml @@ -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 }} diff --git a/chart/templates/scanner/service.yaml b/chart/templates/scanner/service.yaml deleted file mode 100644 index b67a299b..00000000 --- a/chart/templates/scanner/service.yaml +++ /dev/null @@ -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 }} diff --git a/chart/values.yaml b/chart/values.yaml index 7761778f..4b96cf6b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -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