Skip to content

Commit

Permalink
automated commit
Browse files Browse the repository at this point in the history
Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jan 4, 2025
1 parent fde79ed commit 63cfc0d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions images/aspnet-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ Be sure to replace the `ORGANIZATION` placeholder with the name used for your or
<!--getting:end-->

<!--body:start-->
## Usage
## Compatibility Notes

The `aspnet-runtime` Chainguard Image contains both the ASP.NET runtime and the .NET core runtime, allowing you to run ASP.NET applications. Note that if your use case depends on running `aspnet-runtime` with a package manager or shell, you can use the `:latest-dev` variant.
Chainguard's aspnet-runtime image is comparable to the [.NET core tools found on GitHub](https://github.com/dotnet/core).

The aspnet-runtime image contains both the ASP.NET runtime and the .NET core runtime, allowing you to run ASP.NET applications. Note that if your use case depends on running `aspnet-runtime` with a package manager or shell, you can use the `:latest-dev` variant.

## Documentation and Resources

For more information, please refer to the official [ASP.NET documentation](https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-8.0).
<!--body:end-->
Expand Down
5 changes: 5 additions & 0 deletions tflib/imagetest/helm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ if ! helm install ${local.name} $chart \
printf "\\n\\nEvents:\\n\\n"
kubectl get events --field-selector type!=Normal --sort-by=.metadata.creationTimestamp -o wide -n ${var.namespace} || true
%{if var.log_debug}
printf "\\n\\nDebug Logs:\\n\\n"
kubectl logs -n ${var.namespace} -l app.kubernetes.io/instance=${local.name} --all-containers=true || true
%{endif}
exit 1
fi
EOinstall
Expand Down
6 changes: 6 additions & 0 deletions tflib/imagetest/helm/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ variable "dry" {
description = "Indicates whether Helm will be run in dry-run mode. Useful if all you want is to resolve the chart/values."
default = false
}

variable "log_debug" {
description = "Indicates whether to print pod logs if the helm install fails."
type = bool
default = false
}
2 changes: 1 addition & 1 deletion tflib/publisher/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
}
imagetest = {
source = "chainguard-dev/imagetest"
version = "0.0.46"
version = "0.0.48"
}
}
}

0 comments on commit 63cfc0d

Please sign in to comment.