Accepting request 1181705 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1181705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/helm-image?expand=0&rev=12
This commit is contained in:
Ana Guerrero 2024-06-19 14:40:58 +00:00 committed by Git OBS Bridge
commit 70b1730189
4 changed files with 20 additions and 16 deletions

View File

@ -10,12 +10,16 @@
## Usage ## Usage
To run Helm, use the following comamand: To run Helm, use the following command:
```ShellSession ```ShellSession
# podman run --rm -it registry.opensuse.org/opensuse/helm:%%helm_version%% <helm-sub-command> $ podman run --rm -it registry.opensuse.org/opensuse/helm:3.15 <helm-sub-command>
```
podman run --rm -it registry.opensuse.org/opensuse/helm:%%helm_version%% version 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/). Refer to the full list of Helm commands, flags and environment variables, in the [official Helm documentation](https://helm.sh/docs/helm/helm/).
@ -24,10 +28,11 @@ For a comprehensive guide on getting started with Helm, refer to the [official H
### Connecting Helm container to the Host's Kubernetes Cluster ### Connecting Helm container to the Host's Kubernetes Cluster
To interact with a Kubernetes cluster running on the host, mount the Kubernetes configuration file (`kubeconfig`) into the container (use `--net=host` flag to allow container to use hosts network):
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 hosts network):
```ShellSession ```ShellSession
podman run --rm -it --net=host -v /path/to/kubeconfig:/root/.kube/config registry.opensuse.org/opensuse/helm:%%helm_version%% $ podman run --rm -it --net=host -v /path/to/kubeconfig:/root/.kube/config:Z registry.opensuse.org/opensuse/helm:3.15
``` ```
## Licensing ## Licensing

View File

@ -1,10 +1,4 @@
<services> <services>
<service mode="buildtime" name="kiwi_label_helper"/> <service mode="buildtime" name="kiwi_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/> <service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">helm-image.kiwi</param>
<param name="regex">%%helm_version%%</param>
<param name="package">helm</param>
<param name="parse-version">minor</param>
</service>
</services> </services>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 19 07:36:33 UTC 2024 - Dan Čermák <dcermak@suse.com>
- improve README
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 17 08:06:22 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com> Mon Jun 17 08:06:22 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@ -14,7 +14,7 @@ https://github.com/SUSE/BCI-dockerfile-generator
Please submit bugfixes or comments via https://bugs.opensuse.org/ Please submit bugfixes or comments via https://bugs.opensuse.org/
You can contact the BCI team via https://github.com/SUSE/bci/discussions You can contact the BCI team via https://github.com/SUSE/bci/discussions
--> -->
<!-- OBS-AddTag: opensuse/helm:%%helm_version%% opensuse/helm:%%helm_version%%-%RELEASE% opensuse/helm:latest --> <!-- OBS-AddTag: opensuse/helm:3.15 opensuse/helm:3.15-%RELEASE% opensuse/helm:latest -->
<!-- OBS-Imagerepo: obsrepositories:/ --> <!-- OBS-Imagerepo: obsrepositories:/ -->
<image schemaversion="7.4" name="helm-image" xmlns:suse_label_helper="com.suse.label_helper"> <image schemaversion="7.4" name="helm-image" xmlns:suse_label_helper="com.suse.label_helper">
@ -27,19 +27,19 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<type image="docker" derived_from="obsrepositories:/opensuse/bci/bci-micro#latest"> <type image="docker" derived_from="obsrepositories:/opensuse/bci/bci-micro#latest">
<containerconfig <containerconfig
name="opensuse/helm" name="opensuse/helm"
tag="%%helm_version%%" tag="3.15"
maintainer="openSUSE (https://www.opensuse.org/)" maintainer="openSUSE (https://www.opensuse.org/)"
additionaltags="%%helm_version%%-%RELEASE%,latest"> additionaltags="3.15-%RELEASE%,latest">
<labels> <labels>
<suse_label_helper:add_prefix prefix="org.opensuse.application.helm"> <suse_label_helper:add_prefix prefix="org.opensuse.application.helm">
<label name="org.opencontainers.image.title" value="openSUSE Tumbleweed Kubernetes Package Manager"/> <label name="org.opencontainers.image.title" value="openSUSE Tumbleweed Kubernetes Package Manager"/>
<label name="org.opencontainers.image.description" value="Kubernetes Package Manager container based on the openSUSE Tumbleweed Base Container Image."/> <label name="org.opencontainers.image.description" value="Kubernetes Package Manager container based on the openSUSE Tumbleweed Base Container Image."/>
<label name="org.opencontainers.image.version" value="%%helm_version%%"/> <label name="org.opencontainers.image.version" value="3.15"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/> <label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opencontainers.image.vendor" value="openSUSE Project"/> <label name="org.opencontainers.image.vendor" value="openSUSE Project"/>
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/> <label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.opensuse.org"/> <label name="org.opencontainers.image.url" value="https://www.opensuse.org"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/helm:%%helm_version%%-%RELEASE%"/> <label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/helm:3.15-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/> <label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="org.opensuse.release-stage" value="released"/> <label name="org.opensuse.release-stage" value="released"/>
<label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime"/> <label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime"/>