Skip to content

Commit

Permalink
Merge pull request #1386 from aquaproj/feat/use-semverWithVersion
Browse files Browse the repository at this point in the history
feat: use `semverWithVersion`
  • Loading branch information
suzuki-shunsuke committed Dec 17, 2021
2 parents 57f75b1 + c6070be commit 40e5e26
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions registry.yaml
Expand Up @@ -2110,13 +2110,12 @@ packages:
- type: github_release
repo_owner: kubernetes-sigs
repo_name: kustomize
# From kustomize/v4.2.0, darwin/arm64 is provided so rosetta2 isn't needed.
# https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv4.2.0
# But kustomize tag isn't semver, so you have to enable rosetta2.
# You have to fix the problem.
rosetta2: true
asset: 'kustomize_{{trimPrefix "kustomize/" .Version}}_{{.OS}}_{{.Arch}}.tar.gz'
description: Customization of kubernetes YAML configurations
asset: 'kustomize_{{trimPrefix "kustomize/" .Version}}_{{.OS}}_{{.Arch}}.tar.gz'
version_constraint: 'semverWithVersion(">= 4.2.0", trimPrefix(Version, "kustomize/"))'
version_overrides:
- version_constraint: 'semverWithVersion("< 4.2.0", trimPrefix(Version, "kustomize/"))'
rosetta2: true
- type: github_release
repo_owner: kudobuilder
repo_name: kuttl
Expand Down

0 comments on commit 40e5e26

Please sign in to comment.