Skip to content

Commit 207ab61

Browse files
committed
chore(ai-worker): changed componant label to ai-worker and removed name suffix '-ai-worker'
Signed-off-by: Daniel Hendricken <[email protected]> chore(ai-worker): changed componant label to ai-worker and removed name suffix '-ai-worker'
1 parent 5985b81 commit 207ab61

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

charts/nextcloud/templates/nextcloud-ai-worker.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ kind: Deployment
44
metadata:
55
name: {{ include "nextcloud.fullname" . }}-ai-worker
66
labels:
7-
app.kubernetes.io/name: {{ include "nextcloud.name" . }}-ai-worker
7+
app.kubernetes.io/name: {{ include "nextcloud.name" . }}
88
helm.sh/chart: {{ include "nextcloud.chart" . }}
99
app.kubernetes.io/instance: {{ .Release.Name }}
1010
app.kubernetes.io/managed-by: {{ .Release.Service }}
11-
app.kubernetes.io/component: app
11+
app.kubernetes.io/component: ai-worker
1212
{{- with .Values.aiWorker.deploymentLabels }}
1313
{{- toYaml . | nindent 8 }}
1414
{{- end }}
@@ -20,15 +20,15 @@ spec:
2020
replicas: {{ .Values.aiWorker.replicaCount }}
2121
selector:
2222
matchLabels:
23-
app.kubernetes.io/name: {{ include "nextcloud.name" . }}-ai-worker
23+
app.kubernetes.io/name: {{ include "nextcloud.name" . }}
2424
app.kubernetes.io/instance: {{ .Release.Name }}
25-
app.kubernetes.io/component: app
25+
app.kubernetes.io/component: ai-worker
2626
template:
2727
metadata:
2828
labels:
29-
app.kubernetes.io/name: {{ include "nextcloud.name" . }}-ai-worker
29+
app.kubernetes.io/name: {{ include "nextcloud.name" . }}
3030
app.kubernetes.io/instance: {{ .Release.Name }}
31-
app.kubernetes.io/component: app
31+
app.kubernetes.io/component: ai-worker
3232
{{- with .Values.aiWorker.podLabels }}
3333
{{- toYaml . | nindent 8 }}
3434
{{- end }}

0 commit comments

Comments
 (0)