Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(split): split xeks #122

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apis/app/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
kind: Usage
spec:
of:
apiVersion: aws.platformref.upbound.io/v1alpha1
apiVersion: aws.platform.upbound.io/v1alpha1
kind: XEKS
by:
apiVersion: helm.crossplane.io/v1beta1
Expand All @@ -86,4 +86,4 @@ spec:
matchControllerRef: true
patches:
- fromFieldPath: spec.parameters.providerConfigName
toFieldPath: spec.of.resourceSelector.matchLabels[xeks.aws.platformref.upbound.io/cluster-id]
toFieldPath: spec.of.resourceSelector.matchLabels[xeks.aws.platform.upbound.io/cluster-id]
10 changes: 3 additions & 7 deletions apis/cluster/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ spec:
fromFieldPath: Required
name: compositeNetworkEKS
- base:
apiVersion: aws.platformref.upbound.io/v1alpha1
apiVersion: aws.platform.upbound.io/v1alpha1
kind: XEKS
connectionDetails:
- fromConnectionSecretKey: kubeconfig
name: compositeClusterEKS
patches:
- fromFieldPath: spec.parameters.id
toFieldPath: metadata.labels[xeks.aws.platformref.upbound.io/cluster-id]
toFieldPath: metadata.labels[xeks.aws.platform.upbound.io/cluster-id]
- fromFieldPath: spec.parameters.id
toFieldPath: spec.parameters.id
- fromFieldPath: spec.parameters.region
Expand Down Expand Up @@ -65,10 +65,6 @@ spec:
toFieldPath: spec.parameters.iam.roleArn
- fromFieldPath: spec.parameters.iam.userArn
toFieldPath: spec.parameters.iam.userArn
- fromFieldPath: status.subnetIds
toFieldPath: spec.parameters.subnetIds
policy:
fromFieldPath: Required
- base:
apiVersion: aws.platformref.upbound.io/v1alpha1
kind: XServices
Expand Down Expand Up @@ -99,7 +95,7 @@ spec:
kind: Usage
spec:
of:
apiVersion: aws.platformref.upbound.io/v1alpha1
apiVersion: aws.platform.upbound.io/v1alpha1
kind: XEKS
resourceSelector:
matchControllerRef: true
Expand Down
Loading