Skip to content

Commit

Permalink
doc (jkube-kit/doc) : Documentation for Helm push to OCI registries (e…
Browse files Browse the repository at this point in the history
…clipse-jkube#2091)

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
  • Loading branch information
rohanKanojia committed May 29, 2023
1 parent 2b8d951 commit 170e804
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jkube-kit/doc/src/main/asciidoc/inc/helm/_jkube_helm_push.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ need to add a server entry for your repo like this:
----
endif::[]

In case you want to push to https://opencontainers.org/[OCI] registries, you'd need to specify registry type as `OCI` along
with url of the registry with user namespace (if applicable). Here is an example:

ifeval::["{plugin-type}" == "maven"]
include::maven/_helm_oci_repository.adoc[]
endif::[]
ifeval::["{plugin-type}" == "gradle"]
include::gradle/_helm_oci_repository.adoc[]
endif::[]


This configuration section knows the following sub-elements in order to configure your Helm chart.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.Example Helm Push configuration for OCI registries
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
----
{pluginExtension} {
helm {
stableRepository {
name = 'quay.io'
url = 'https://quay.io/myusername'
type = 'OCI'
}
}
}
----
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.Example Helm Push configuration for OCI registries
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
----
<plugin>
<configuration>
<helm>
<stableRepository>
<name>quay.io</name>
<url>https://quay.io/myusername</url>
<type>OCI</type>
</stableRepository>
</helm>
</configuration>
</plugin>
----

0 comments on commit 170e804

Please sign in to comment.