Skip to content

Commit

Permalink
chore(KFLUXVNGD-88): Add crossplane component
Browse files Browse the repository at this point in the history
Initial crossplane component is added in the components
of the infra-deployments.

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-88
Signed-off-by: Homaja Marisetty <[email protected]>
  • Loading branch information
hmariset committed Nov 13, 2024
1 parent fd03266 commit b05bda0
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: crossplane-control-plane
labels:
noSourceTransform: "true"
spec:
generators:
- merge:
mergeKeys:
- nameNormalized
generators:
- clusters:
values:
sourceRoot: components/crossplane-control-plane
environment: development
clusterDir: ""
- list:
elements: []
template:
metadata:
name: crossplane-control-plane-{{nameNormalized}}
spec:
project: default
source:
chart: crossplane
repoURL: https://charts.crossplane.io/stable
targetRevision: 1.18.0
helm:
parameters:
- name: securityContext.runAsUser
value: "1001100011"
- name: securityContext.runAsGroup
value: "1001100011"
- name: securityContext.fsGroup
value: "1001102000"
- name: securityContext.allowPrivilegeEscalation
value: "false"
destination:
namespace: crossplane-system
server: '{{server}}'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: -1
backoff:
duration: 10s
factor: 2
maxDuration: 3m
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- crossplane-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ resources:
- workspaces
- proactive-scaler
- knative-eventing
- crossplane-control-plane
components:
- ../../../k-components/inject-infra-deployments-repo-details
5 changes: 5 additions & 0 deletions argo-cd-apps/overlays/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,8 @@ patches:
kind: ApplicationSet
version: v1alpha1
name: knative-eventing
- path: development-overlay-patch.yaml
target:
kind: ApplicationSet
version: v1alpha1
name: crossplane-control-plane
9 changes: 9 additions & 0 deletions components/crossplane-control-plane/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See the OWNERS docs: https://go.k8s.io/owners

approvers:
- gbenhaim
- avi-biton
- amisstea
- yftacherzog
- ifireball
- hmariset
5 changes: 5 additions & 0 deletions components/crossplane-control-plane/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources:
- ns.yaml

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
5 changes: 5 additions & 0 deletions components/crossplane-control-plane/base/ns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: crossplane-connections
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources:
- ../base

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources:
- ../base

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources:
- ../base

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

0 comments on commit b05bda0

Please sign in to comment.