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
1 parent 5e1f987 commit 8522a8e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kubernetes/flux/instance/instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8522a8e

Please sign in to comment.