Maintaining Open Source Singularity Since 2017
Store your Helm charts in Singularity Container Services
By Adam Hughes
$ singularity remote get-login-password |
helm registry login --username USERNAME --password-stdin registry.sylabs.io
$ wget https://github.com/helm/helm/raw/1c4885fce74d44b94a8b100f660cca4cc633176c/pkg/repo/repotest/testdata/examplechart-0.1.0.tgz
$ helm push examplechart-0.1.0.tgz
oci://registry.sylabs.io/USERNAME/helm/example
Once the image has been pushed to the registry, an installation is performed as follows, pay attention to the “oci://” part of the URI, that indicates Helm will use an external OCI compliant registry.
$ helm install release-name
oci://registry.sylabs.io/USERNAME/helm/example/examplechart
--version 0.1.0
Pulled: registry.sylabs.io/USERNAME/helm/example/examplechart:0.1.0
Digest: sha256:a6c1484454156c2a03...311671c2dfae00eb1
NAME: release-name
LAST DEPLOYED: Mon Jun 5 21:55:15 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
release-name default 1 2023-06-05 21:55:15.767393721 -0600 CST deployed examplechart-0.1.0
It is also possible to pull the chart as a tarball:
$ helm pull oci://registry.sylabs.io/USERNAME/helm/example/examplechart
--version 0.1.0
Pulled: registry.sylabs.io/USERNAME/helm/example/examplechart:0.1.0
Digest: sha256:a6c1484454156c...311671c2dfae00eb1
And of course, this can be signed using cosign. First, obtain the digest:
DIGEST=$(crane digest registry.sylabs.io/josueneo/helm/example/examplechart:0.1.0)
Then, sign the chart:
$ cosign sign -y --key cosign.key
registry.sylabs.io/josueneo/helm/example/examplechart@$DIGEST
Storing Helm charts in Singularity Container Services registry provides a reliable, secure, and scalable solution for managing and distributing your deployments, promoting standardization and enabling efficient collaboration
Join Our Mailing List
Recent Posts
Related Posts
Laying the Groundwork for 2025: Sylabs’ Vision for Secure Multi-Cloud Solutions
With a legacy rooted in innovation through the work we’ve done with the Singularity platform, Sylabs has consistently worked to provide secure container technology to empower researchers, enterprises, and innovators worldwide. These efforts have paid dividends as we...
Creating New Levels of Security with Containers and Confidential Computing
Data breaches are becoming increasingly common. It's more important than ever to find robust solutions that protect sensitive information. Recent high-profile data breaches underscore the necessity for fresh approaches to data protection. Breaches like these are...
OCI-SIF Container Images: Unraveling Their Features and Benefits
Among the container industry, OCI (Open Container Initiative) and SIF (Singularity Image Format) stand out as two prominent formats, each offering unique features and benefits. Understanding their distinct characteristics is crucial for HPC developers seeking optimal...