Merge pull request 'Add local helm repository kind' (#65) from benvin/local-helm-kind into main
ci/woodpecker/push/apply Pipeline was successful

Reviewed-on: #65
This commit was merged in pull request #65.
This commit is contained in:
2026-10-17 16:35:08 +11:00
6 changed files with 23 additions and 0 deletions
+5
View File
@@ -77,6 +77,11 @@ locals {
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "local_rpm/")
}
local_helm = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
if startswith(file_path, "local_helm/")
}
local_docker = {
for file_path, content in local.all_configs :
trimsuffix(basename(file_path), ".yaml") => content
+1
View File
@@ -0,0 +1 @@
description: "Internal Helm charts"
+1
View File
@@ -1,6 +1,7 @@
package_type: helm
description: "Virtual repository merging all helm remotes — member order is priority order for duplicate chart+version"
members:
- helm-internal
- authentik
- ceph-csi
- cnpg
@@ -31,6 +31,7 @@ inputs = {
local_terraform = local.config.local_terraform
local_pypi = local.config.local_pypi
local_rpm = local.config.local_rpm
local_helm = local.config.local_helm
local_docker = local.config.local_docker
local_generic = local.config.local_generic
virtual = local.config.virtual
+7
View File
@@ -169,6 +169,13 @@ resource "artifactapi_local_rpm" "this" {
description = each.value.description
}
resource "artifactapi_local_helm" "this" {
for_each = var.local_helm
name = each.key
description = each.value.description
}
resource "artifactapi_local_docker" "this" {
for_each = var.local_docker
+8
View File
@@ -171,6 +171,14 @@ variable "local_rpm" {
default = {}
}
variable "local_helm" {
description = "Map of local Helm chart repositories"
type = map(object({
description = optional(string, "")
}))
default = {}
}
variable "local_generic" {
description = "Map of local generic (raw-file) repositories"
type = map(object({