Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
  • Loading branch information
TheBigLee committed Nov 15, 2023
1 parent 3c38853 commit 4a962a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions component/component/vshn_redis.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -663,13 +663,13 @@ local composition =
redisPlans)),
comp.FromCompositeFieldPath('spec.parameters.scheduling.nodeSelector', 'spec.forProvider.values.master.nodeSelector'),
comp.FromCompositeFieldPath('spec.parameters.service.redisSettings', 'spec.forProvider.values.commonConfiguration'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.commonAnnotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.master.podAnnotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.persistence.annotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.service.annotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.replica.podAnnotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.persistence.annotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.service.annotations[vshn.net/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.commonAnnotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.master.podAnnotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.persistence.annotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.service.annotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.replica.podAnnotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.persistence.annotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
comp.CombineCompositeFromTwoFieldPaths('metadata.labels[crossplane.io/claim-namespace]', 'metadata.labels[crossplane.io/claim-name]', 'spec.forProvider.values.service.annotations[appcat.vshn.io/forward-events-to]', 'vshn.appcat.vshn.io/v1/VSHNRedis/%s/%s'),
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.commonAnnotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.commonAnnotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -895,7 +895,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.master.podAnnotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.master.podAnnotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -904,7 +904,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.persistence.annotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.persistence.annotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -913,7 +913,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.service.annotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.service.annotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -922,7 +922,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.replica.podAnnotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.replica.podAnnotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -931,7 +931,7 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.persistence.annotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.persistence.annotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
- combine:
strategy: string
Expand All @@ -940,6 +940,6 @@ spec:
variables:
- fromFieldPath: metadata.labels[crossplane.io/claim-namespace]
- fromFieldPath: metadata.labels[crossplane.io/claim-name]
toFieldPath: spec.forProvider.values.service.annotations[vshn.net/forward-events-to]
toFieldPath: spec.forProvider.values.service.annotations[appcat.vshn.io/forward-events-to]
type: CombineFromComposite
writeConnectionSecretsToNamespace: syn-crossplane

0 comments on commit 4a962a4

Please sign in to comment.