diff --git a/deployments/kai-scheduler/templates/services/post-install-hook.yaml b/deployments/kai-scheduler/templates/services/post-install-hook.yaml index 7dc560e1c..47561e69d 100644 --- a/deployments/kai-scheduler/templates/services/post-install-hook.yaml +++ b/deployments/kai-scheduler/templates/services/post-install-hook.yaml @@ -13,6 +13,9 @@ metadata: helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded spec: template: + metadata: + labels: + app: post-install-hook spec: serviceAccountName: webhookmanager restartPolicy: Never @@ -49,4 +52,4 @@ spec: {{- if .Values.global.tolerations }} tolerations: {{- toYaml .Values.global.tolerations | nindent 8 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/deployments/kai-scheduler/templates/services/pre-install-hook.yaml b/deployments/kai-scheduler/templates/services/pre-install-hook.yaml index 9ef0e8f7b..c3595979a 100644 --- a/deployments/kai-scheduler/templates/services/pre-install-hook.yaml +++ b/deployments/kai-scheduler/templates/services/pre-install-hook.yaml @@ -13,6 +13,9 @@ metadata: helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded spec: template: + metadata: + labels: + app: pre-install-hook spec: serviceAccountName: webhookmanager restartPolicy: Never @@ -48,4 +51,4 @@ spec: {{- if .Values.global.tolerations }} tolerations: {{- toYaml .Values.global.tolerations | nindent 8 }} - {{- end }} \ No newline at end of file + {{- end }}