diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index a9ea3b3..3076642 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,9 @@ = Changelog +== Version 2.8.1 + +* Fix detection of aarch64/arm64 architecture + == Version 2.8.0 * Support configuring the URL to the incubator repository via `incubatorRepoUrl` and allow to disable the incubator repository via `addIncubatorRepo` diff --git a/README.adoc b/README.adoc index ac6c654..dda5422 100644 --- a/README.adoc +++ b/README.adoc @@ -20,7 +20,7 @@ Add the following to your `pom.xml` com.deviceinsight.helm helm-maven-plugin - 2.8.0 + 2.8.1 my-chart https://kubernetes-charts.storage.googleapis.com/ diff --git a/pom.xml b/pom.xml index 82cc13e..b46ebf2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.deviceinsight.helm helm-maven-plugin - 2.8.0 + 2.8.1 maven-plugin Helm Maven Plugin diff --git a/src/main/kotlin/com/deviceinsight/helm/util/PlatformDetector.kt b/src/main/kotlin/com/deviceinsight/helm/util/PlatformDetector.kt index 8aa9cef..68af9bb 100644 --- a/src/main/kotlin/com/deviceinsight/helm/util/PlatformDetector.kt +++ b/src/main/kotlin/com/deviceinsight/helm/util/PlatformDetector.kt @@ -44,7 +44,7 @@ object PlatformDetector { osArch == "x86_64" || osArch == "amd64" -> "amd64" osArch == "x86" || osArch == "i386" -> "386" osArch == "aarch32" || osArch.startsWith("arm") -> "arm" - osArch.contains("arm64") -> "arm64" + osArch == "aarch64" || osArch.contains("arm64") -> "arm64" osArch.contains("ppc64le") || (osArch.contains("ppc64") && System.getProperty("sun.cpu.endian") == "little") -> "ppc64le" else -> throw IllegalStateException("Unsupported platform architecture '${System.getProperty("os.arch")}'")