Skip to content

Commit 577f34d

Browse files
committed
Add workload detector for fargocd
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 7fe0447 commit 577f34d

File tree

1 file changed

+10
-0
lines changed
  • charts/opscenter-features/templates/featuresets/opscenter-core

1 file changed

+10
-0
lines changed

charts/opscenter-features/templates/featuresets/opscenter-core/flux2.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ spec:
6464
- group: apps
6565
version: v1
6666
kind: Deployment
67+
optional: "fluxcd"
6768
selector:
6869
app.kubernetes.io/component: helm-controller
6970
app.kubernetes.io/instance: flux-system
@@ -72,11 +73,20 @@ spec:
7273
- group: apps
7374
version: v1
7475
kind: Deployment
76+
optional: "fluxcd"
7577
selector:
7678
app.kubernetes.io/component: source-controller
7779
app.kubernetes.io/instance: flux-system
7880
app.kubernetes.io/part-of: flux
7981
control-plane: controller
82+
# fargocd controller
83+
- group: apps
84+
version: v1
85+
kind: Deployment
86+
optional: "fargocd"
87+
selector:
88+
app.kubernetes.io/instance: fargocd
89+
app.kubernetes.io/name: fargocd
8090
chart:
8191
name: flux2
8292
namespace: flux-system

0 commit comments

Comments
 (0)