Skip to content

Commit 5e717d3

Browse files
committed
Remove group-sync from staging
KFLUXINFRA-3287
1 parent daf3866 commit 5e717d3

7 files changed

Lines changed: 31 additions & 8 deletions

File tree

argo-cd-apps/overlays/external-staging/kustomization.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@ patches:
1111
group: argoproj.io
1212
version: v1alpha1
1313
kind: ApplicationSet
14-
14+
- path: namespace-patch.yaml
15+
target:
16+
group: argoproj.io
17+
version: v1alpha1
18+
kind: ApplicationSet
19+
name: iam
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- op: replace
3+
path: /spec/template/spec/destination/namespace
4+
value: iam

argo-cd-apps/overlays/internal-staging/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ patches:
1111
group: argoproj.io
1212
version: v1alpha1
1313
kind: ApplicationSet
14+
- path: namespace-patch.yaml
15+
target:
16+
group: argoproj.io
17+
version: v1alpha1
18+
kind: ApplicationSet
19+
name: iam
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- op: replace
3+
path: /spec/template/spec/destination/namespace
4+
value: iam

components/iam/base/group-sync/group-sync-operator.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ apiVersion: v1
22
kind: Namespace
33
metadata:
44
name: group-sync-operator
5+
annotations:
6+
argocd.argoproj.io/sync-options: Prune=false
57
---
68
apiVersion: operators.coreos.com/v1
79
kind: OperatorGroup
810
metadata:
911
name: group-sync-operator
12+
annotations:
13+
argocd.argoproj.io/sync-options: Prune=false
1014
spec:
1115
targetNamespaces:
1216
- group-sync-operator
@@ -15,6 +19,8 @@ apiVersion: operators.coreos.com/v1alpha1
1519
kind: Subscription
1620
metadata:
1721
name: group-sync-operator
22+
annotations:
23+
argocd.argoproj.io/sync-options: Prune=false
1824
spec:
1925
channel: alpha
2026
installPlanApproval: Automatic
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
4-
namespace: group-sync-operator
4+
namespace: iam
55
resources:
6-
- ../base
7-
components:
8-
- ../k-components/external-ldap-url
6+
- ../base/rbac
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
4+
namespace: iam
45
resources:
5-
- ../base
6-
components:
7-
- ../k-components/internal-ldap-url
6+
- ../base/rbac
7+

0 commit comments

Comments
 (0)