commit bbaf6a51147ec1bb08429da2caa602bdee16dbd46da01350548af22c0a528aa0 Author: Dan Čermák Date: Tue Jul 16 15:29:49 2024 +0000 [info=d9c2d46e3b48d117f44a3ae9009675ee] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/helm-image?expand=0&rev=120 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.md b/README.md new file mode 100644 index 0000000..378f182 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# Kubernetes Package Manager container image + +![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green) + + +## Description + +[Helm](https://helm.sh/) is a tool for managing [Kubernetes](https://kubernetes.io/) charts, which are packages of pre-configured Kubernetes resources. This container image simplifies the deployment and use of Helm by packaging it into a ready-to-use container. + + +## Usage + +To run Helm, use the following command: + +```ShellSession +$ podman run --rm -it registry.opensuse.org/opensuse/helm:3.15 +``` + +For instance, to display the Helm version, run: +```ShellSession +$ podman run --rm -it registry.opensuse.org/opensuse/helm:3.15 version --template='{{.Version}}' +v3.15 +``` + +Refer to the full list of Helm commands, flags and environment variables, in the [official Helm documentation](https://helm.sh/docs/helm/helm/). + +For a comprehensive guide on getting started with Helm, refer to the [official Helm tutorial](https://helm.sh/docs/chart_template_guide/getting_started/). + +### Connecting Helm container to the Host's Kubernetes Cluster + + +To interact with a Kubernetes cluster, mount the Kubernetes configuration file (`kubeconfig`) from the container host into the container (use the `--net=host` flag to allow the container to use the host’s network): + +```ShellSession +$ podman run --rm -it --net=host -v /path/to/kubeconfig:/root/.kube/config:Z registry.opensuse.org/opensuse/helm:3.15 +``` + +## Licensing + +`SPDX-License-Identifier: Apache-2.0` + +This documentation and the build recipe are licensed as Apache-2.0. +The container itself contains various software components under various open source licenses listed in the associated +Software Bill of Materials (SBOM). + +This image is based on [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/). diff --git a/_service b/_service new file mode 100644 index 0000000..695a3f0 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/config.sh b/config.sh new file mode 100644 index 0000000..862b0cb --- /dev/null +++ b/config.sh @@ -0,0 +1,30 @@ +#!/bin/bash +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: (c) 2022-2024 SUSE LLC + +set -euo pipefail + +test -f /.kconfig && . /.kconfig +test -f /.profile && . /.profile + +echo "Configure image: [$kiwi_iname]..." + +#============================================ +# Import repositories' keys if rpm is present +#-------------------------------------------- +if command -v rpm > /dev/null; then + suseImportBuildKey +fi + + + +#======================================= +# Clean up after zypper if it is present +#--------------------------------------- +if command -v zypper > /dev/null; then + zypper -n clean +fi + +rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} + +exit 0 diff --git a/helm-image.changes b/helm-image.changes new file mode 100644 index 0000000..7ce0b7a --- /dev/null +++ b/helm-image.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Tue Jul 16 15:20:06 UTC 2024 - Dirk Mueller + +- Re-render templates (no functional change) + +------------------------------------------------------------------- +Wed Jun 19 07:36:33 UTC 2024 - Dan Čermák + +- improve README + +------------------------------------------------------------------- +Mon Jun 17 08:06:22 UTC 2024 - Alexandre Vicenzi + +- Extend README.md + +------------------------------------------------------------------- +Mon Jun 10 15:11:25 UTC 2024 - Dirk Mueller + +- update README; reduce unnecessary newlines + +------------------------------------------------------------------- +Wed Jun 5 15:13:27 UTC 2024 - Dirk Mueller + +- Don't add artifacthub labels into labelprefix section + +------------------------------------------------------------------- +Tue Jun 4 12:35:15 UTC 2024 - Alexandre Vicenzi + +- Fix grammar mistake in licensing footer + +------------------------------------------------------------------- +Tue May 7 19:07:24 UTC 2024 - Dirk Mueller + +- extend READMEs; correct eula for application images + +------------------------------------------------------------------- +Fri Apr 19 10:31:30 UTC 2024 - Dirk Mueller + +- Bump kiwi schema version + +------------------------------------------------------------------- +Fri Apr 12 12:03:53 UTC 2024 - Dirk Mueller + +- Don't wipe everything in /var/log, only remove log files (this omits directories owned by packages) + +------------------------------------------------------------------- +Wed Jan 17 14:29:14 UTC 2024 - Dan Čermák + +- Add initial README stub + +------------------------------------------------------------------- +Tue Jan 2 08:26:58 UTC 2024 - Dirk Mueller + +- update year to 2024 + +------------------------------------------------------------------- +Thu Sep 28 14:29:09 UTC 2023 - Dirk Mueller + +- add copyright and description header + +------------------------------------------------------------------- +Thu Jul 06 11:04:01 UTC 2023 - SUSE Update Bot + +- First version of the Kubernetes Package Manager BCI diff --git a/helm-image.kiwi b/helm-image.kiwi new file mode 100644 index 0000000..22a7c0e --- /dev/null +++ b/helm-image.kiwi @@ -0,0 +1,66 @@ + + + + + + + + + openSUSE Project + https://www.suse.com/ + openSUSE Tumbleweed Kubernetes Package Manager Container Image + + + + + + + + + + + + + 2024 + zypper + false + true + + + + + + + + + + \ No newline at end of file