Skip to content

Commit

Permalink
Merge pull request #733 from ulucinar/xp-version-constraint
Browse files Browse the repository at this point in the history
Add dependency to Crossplane min version of v1.12.1-0
  • Loading branch information
ulucinar authored Jun 14, 2023
2 parents 6ff0eb6 + d9b0782 commit 1cfb677
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package/crossplane.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ metadata:
address. This is a subpackage for the {{ .Service }} API group.
friendly-name.meta.crossplane.io: Provider AWS ({{ .Service }})
auth.upbound.io/group: {{ .ProviderName }}.upbound.io
{{ if and (ne .Service "config") (ne .Service "monolith") -}}
spec:
{{ if ne .Service "monolith" }}
crossplane:
version: ">=v1.12.1-0"
{{ end }}
{{ if and (ne .Service "config") (ne .Service "monolith") }}
dependsOn:
- provider: {{ .XpkgRegOrg }}/provider-family-{{ .ProviderName }}
version: "{{ .DepConstraint }}"
{{ end }}
{{ end }}

0 comments on commit 1cfb677

Please sign in to comment.