krateoplatformops / core-provider

0 stars 2 forks source link

feat: add credentials to authenticate to private repository/oci registry #32

Closed matteogastaldello closed 5 months ago

matteogastaldello commented 5 months ago

Is your feature request related to a problem? Please describe. Requested possibility to authenticate to private repository/registry (#31)

Solution Implemented Added an optional field named "credentials" in "compositiondefinition.spec.chart", allowing the setting of "username" and "passwordRef". The "passwordRef" refers to a Kubernetes secret containing the password.

Refer to testdata/compositiondefinition-private-oci.yaml for an example.