Azure-Samples / kubernetes-offer-samples

Samples for creating an Azure Marketplace Kubernetes offer
MIT License
17 stars 27 forks source link

PowerShell arm-ttk module error #36

Open lastcoolnameleft opened 4 months ago

lastcoolnameleft commented 4 months ago

This issue is for a: (mark with an x)

- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

git clone https://github.com/Azure-Samples/kubernetes-offer-samples.git
cd kubernetes-offer-samples
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v $PWD:/data --entrypoint "/bin/bash" mcr.microsoft.com/container-package-app:latest
cd /data/samples/k8s-offer-azure-vote
cpa verify

Any log messages given by the failure

➜  git clone https://github.com/Azure-Samples/kubernetes-offer-samples.git
Cloning into 'kubernetes-offer-samples'...
remote: Enumerating objects: 900, done.
remote: Counting objects: 100% (442/442), done.
remote: Compressing objects: 100% (178/178), done.
remote: Total 900 (delta 289), reused 354 (delta 262), pack-reused 458
Receiving objects: 100% (900/900), 3.67 MiB | 10.52 MiB/s, done.
Resolving deltas: 100% (509/509), done.                                                                                                                                                                                                                            [1.0s]
➜  cd kubernetes-offer-samples                                                                                                                                                                                                                                 [0.0s]
➜  docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v $PWD:/data --entrypoint "/bin/bash" mcr.microsoft.com/container-package-app:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root [ / ]# cd /data/
.git/            .github/         CHANGELOG.md     CONTRIBUTING.md  LICENSE.md       README.md        getting-started/ samples/
root [ / ]# cd /data/samples/
.pipelines/                            dynamic-configuration-settings-sample/ k8s-connected-and-managed-cluster/     k8s-existing-cluster-only-sample/      k8s-offer-azure-vote-custom-meters/    select-auto-upgrade-minor-version/
datatype-sample/                       k8s-cluster-condition-sample/          k8s-connectedcluster-only/             k8s-offer-azure-vote/                  managed-app-sample/
root [ / ]# cd /data/samples/k8s-offer-azure-vote
root [ /data/samples/k8s-offer-azure-vote ]# cpa verify
CPA Version:  1.3.12
By using the Azure Kubernetes CNAB Packaging Application, you agree to the License contained in the application. You can view the License at ~/LICENSE.
We collect telemetry data, if you would like to opt out of data collection please use the --telemetryOptOut flag.
Correlation Id: b461d43e-1319-4855-b26a-9bf6671f664c
Manifest file validated, 0 total failure(s)

Manifest verification successful.
Helm chart validated, 0 total failure(s)

an error occurred while trying to execute the PowerShell arm-ttk module exited.

Marketplace package validated, 0 total failures(s)

Helm chart and ARM template verification successful.
operation VerifySuccessful

Expected/desired behavior

I would expect it to NOT say an error occurred while trying to execute the PowerShell arm-ttk module exited. and then say there's no failures

OS and Version?

macOS 14.4.1

Versions

CPA 1.3.12

Mention any other details that might be useful