diff --git a/kubernetes/flux/instance/instance.yaml b/kubernetes/flux/instance/instance.yaml index cbf184afb..31ac0ab38 100644 --- a/kubernetes/flux/instance/instance.yaml +++ b/kubernetes/flux/instance/instance.yaml @@ -25,6 +25,21 @@ spec: domain: cluster.local kustomize: patches: + # Add labels + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: not-used + spec: + template: + metadata: + labels: + app.kubernetes.io/name: flux + app.kubernetes.io/instance: flux + app.kubernetes.io/managed-by: flux-operator + target: + kind: Deployment # Increase the number of reconciliations that can be performed in parallel and bump the resources limits # https://fluxcd.io/flux/installation/configuration/vertical-scaling/#increase-the-number-of-workers-and-limits - patch: |