Skip to content

Commit

Permalink
fix(flux): add labels to the flux controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroy committed Nov 13, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 5e1f987 commit 2c1a094
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kubernetes/flux/instance/instance.yaml
Original file line number Diff line number Diff line change
@@ -25,6 +25,22 @@ 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/instance: flux
app.kubernetes.io/managed-by: flux-operator
app.kubernetes.io/name: flux
app.kubernetes.io/part-of: flux
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: |

0 comments on commit 2c1a094

Please sign in to comment.