Skip to content

Commit 0a8004a

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]>
1 parent 5985b81 commit 0a8004a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
5-
name: {{ include "nextcloud.fullname" . }}-ai-worker
5+
name: {{ include "nextcloud.fullname" . }}
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)