load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")

go_library(
    name = "helm",
    srcs = [
        "action.go",
        "actionfactory.go",
        "chartutil.go",
        "helm.go",
        "loader.go",
        "overrides.go",
        "release.go",
        "retryaction.go",
        "serviceversion.go",
        "values.go",
        "versionlister.go",
    ],
    embedsrcs = [
        "charts/cert-manager/Chart.yaml",
        "charts/cert-manager/templates/NOTES.txt",
        "charts/cert-manager/templates/_helpers.tpl",
        "charts/cert-manager/templates/cainjector-deployment.yaml",
        "charts/cert-manager/templates/cainjector-psp-clusterrole.yaml",
        "charts/cert-manager/templates/cainjector-psp-clusterrolebinding.yaml",
        "charts/cert-manager/templates/cainjector-psp.yaml",
        "charts/cert-manager/templates/cainjector-rbac.yaml",
        "charts/cert-manager/templates/cainjector-serviceaccount.yaml",
        "charts/cert-manager/templates/crds.yaml",
        "charts/cert-manager/templates/deployment.yaml",
        "charts/cert-manager/templates/networkpolicy-egress.yaml",
        "charts/cert-manager/templates/networkpolicy-webhooks.yaml",
        "charts/cert-manager/templates/psp-clusterrole.yaml",
        "charts/cert-manager/templates/psp-clusterrolebinding.yaml",
        "charts/cert-manager/templates/psp.yaml",
        "charts/cert-manager/templates/rbac.yaml",
        "charts/cert-manager/templates/service.yaml",
        "charts/cert-manager/templates/serviceaccount.yaml",
        "charts/cert-manager/templates/servicemonitor.yaml",
        "charts/cert-manager/templates/startupapicheck-job.yaml",
        "charts/cert-manager/templates/startupapicheck-psp-clusterrole.yaml",
        "charts/cert-manager/templates/startupapicheck-psp-clusterrolebinding.yaml",
        "charts/cert-manager/templates/startupapicheck-psp.yaml",
        "charts/cert-manager/templates/startupapicheck-rbac.yaml",
        "charts/cert-manager/templates/startupapicheck-serviceaccount.yaml",
        "charts/cert-manager/templates/webhook-config.yaml",
        "charts/cert-manager/templates/webhook-deployment.yaml",
        "charts/cert-manager/templates/webhook-mutating-webhook.yaml",
        "charts/cert-manager/templates/webhook-psp-clusterrole.yaml",
        "charts/cert-manager/templates/webhook-psp-clusterrolebinding.yaml",
        "charts/cert-manager/templates/webhook-psp.yaml",
        "charts/cert-manager/templates/webhook-rbac.yaml",
        "charts/cert-manager/templates/webhook-service.yaml",
        "charts/cert-manager/templates/webhook-serviceaccount.yaml",
        "charts/cert-manager/templates/webhook-validating-webhook.yaml",
        "charts/cert-manager/values.yaml",
        "charts/cilium/.helmignore",
        "charts/cilium/Chart.yaml",
        "charts/cilium/LICENSE",
        "charts/cilium/README.md",
        "charts/cilium/README.md.gotmpl",
        "charts/cilium/files/nodeinit/poststart-eni.bash",
        "charts/cilium/files/nodeinit/prestop.bash",
        "charts/cilium/files/nodeinit/startup.bash",
        "charts/cilium/templates/NOTES.txt",
        "charts/cilium/templates/_helpers.tpl",
        "charts/cilium/templates/cilium-agent/clusterrole.yaml",
        "charts/cilium/templates/cilium-agent/clusterrolebinding.yaml",
        "charts/cilium/templates/cilium-agent/daemonset.yaml",
        "charts/cilium/templates/cilium-agent/role.yaml",
        "charts/cilium/templates/cilium-agent/rolebinding.yaml",
        "charts/cilium/templates/cilium-agent/service.yaml",
        "charts/cilium/templates/cilium-agent/serviceaccount.yaml",
        "charts/cilium/templates/cilium-agent/servicemonitor.yaml",
        "charts/cilium/templates/cilium-ca-secret.yaml",
        "charts/cilium/templates/cilium-configmap.yaml",
        "charts/cilium/templates/cilium-ingress-class.yaml",
        "charts/cilium/templates/cilium-nodeinit/daemonset.yaml",
        "charts/cilium/templates/cilium-operator/_helpers.tpl",
        "charts/cilium/templates/cilium-operator/clusterrole.yaml",
        "charts/cilium/templates/cilium-operator/clusterrolebinding.yaml",
        "charts/cilium/templates/cilium-operator/deployment.yaml",
        "charts/cilium/templates/cilium-operator/poddisruptionbudget.yaml",
        "charts/cilium/templates/cilium-operator/role.yaml",
        "charts/cilium/templates/cilium-operator/rolebinding.yaml",
        "charts/cilium/templates/cilium-operator/secret.yaml",
        "charts/cilium/templates/cilium-operator/service.yaml",
        "charts/cilium/templates/cilium-operator/serviceaccount.yaml",
        "charts/cilium/templates/cilium-operator/servicemonitor.yaml",
        "charts/cilium/templates/cilium-preflight/clusterrole.yaml",
        "charts/cilium/templates/cilium-preflight/clusterrolebinding.yaml",
        "charts/cilium/templates/cilium-preflight/daemonset.yaml",
        "charts/cilium/templates/cilium-preflight/deployment.yaml",
        "charts/cilium/templates/cilium-preflight/poddisruptionbudget.yaml",
        "charts/cilium/templates/cilium-preflight/serviceaccount.yaml",
        "charts/cilium/templates/cilium-resource-quota.yaml",
        "charts/cilium/templates/cilium-secrets-namespace.yaml",
        "charts/cilium/templates/clustermesh-apiserver/clusterrole.yaml",
        "charts/cilium/templates/clustermesh-apiserver/clusterrolebinding.yaml",
        "charts/cilium/templates/clustermesh-apiserver/deployment.yaml",
        "charts/cilium/templates/clustermesh-apiserver/poddisruptionbudget.yaml",
        "charts/cilium/templates/clustermesh-apiserver/service.yaml",
        "charts/cilium/templates/clustermesh-apiserver/serviceaccount.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/_helpers.tpl",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/admin-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/client-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/clustermesh-apiserver-issuer.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/remote-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-certmanager/server-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/_job-spec.tpl",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/ca-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/cronjob.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/job.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/role.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/rolebinding.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-cronjob/serviceaccount.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/_helpers.tpl",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/admin-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/ca-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/client-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/remote-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-helm/server-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-provided/admin-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-provided/ca-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-provided/client-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-provided/remote-secret.yaml",
        "charts/cilium/templates/clustermesh-apiserver/tls-provided/server-secret.yaml",
        "charts/cilium/templates/clustermesh-config/_helpers.tpl",
        "charts/cilium/templates/clustermesh-config/clustermesh-secret.yaml",
        "charts/cilium/templates/etcd-operator/cilium-etcd-operator-clusterrole.yaml",
        "charts/cilium/templates/etcd-operator/cilium-etcd-operator-clusterrolebinding.yaml",
        "charts/cilium/templates/etcd-operator/cilium-etcd-operator-deployment.yaml",
        "charts/cilium/templates/etcd-operator/cilium-etcd-operator-serviceaccount.yaml",
        "charts/cilium/templates/etcd-operator/etcd-operator-clusterrole.yaml",
        "charts/cilium/templates/etcd-operator/etcd-operator-clusterrolebinding.yaml",
        "charts/cilium/templates/etcd-operator/etcd-operator-serviceaccount.yaml",
        "charts/cilium/templates/etcd-operator/poddisruptionbudget.yaml",
        "charts/cilium/templates/hubble-relay/configmap.yaml",
        "charts/cilium/templates/hubble-relay/deployment.yaml",
        "charts/cilium/templates/hubble-relay/metrics-service.yaml",
        "charts/cilium/templates/hubble-relay/poddisruptionbudget.yaml",
        "charts/cilium/templates/hubble-relay/service.yaml",
        "charts/cilium/templates/hubble-relay/serviceaccount.yaml",
        "charts/cilium/templates/hubble-relay/servicemonitor.yaml",
        "charts/cilium/templates/hubble-ui/_nginx.tpl",
        "charts/cilium/templates/hubble-ui/clusterrole.yaml",
        "charts/cilium/templates/hubble-ui/clusterrolebinding.yaml",
        "charts/cilium/templates/hubble-ui/configmap.yaml",
        "charts/cilium/templates/hubble-ui/deployment.yaml",
        "charts/cilium/templates/hubble-ui/ingress.yaml",
        "charts/cilium/templates/hubble-ui/poddisruptionbudget.yaml",
        "charts/cilium/templates/hubble-ui/service.yaml",
        "charts/cilium/templates/hubble-ui/serviceaccount.yaml",
        "charts/cilium/templates/hubble/metrics-service.yaml",
        "charts/cilium/templates/hubble/peer-service.yaml",
        "charts/cilium/templates/hubble/servicemonitor.yaml",
        "charts/cilium/templates/hubble/tls-certmanager/_helpers.tpl",
        "charts/cilium/templates/hubble/tls-certmanager/hubble-issuer.yaml",
        "charts/cilium/templates/hubble/tls-certmanager/relay-client-secret.yaml",
        "charts/cilium/templates/hubble/tls-certmanager/relay-server-secret.yaml",
        "charts/cilium/templates/hubble/tls-certmanager/server-secret.yaml",
        "charts/cilium/templates/hubble/tls-certmanager/ui-client-certs.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/_job-spec.tpl",
        "charts/cilium/templates/hubble/tls-cronjob/ca-secret.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/clusterrole.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/clusterrolebinding.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/cronjob.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/job.yaml",
        "charts/cilium/templates/hubble/tls-cronjob/serviceaccount.yaml",
        "charts/cilium/templates/hubble/tls-helm/_helpers.tpl",
        "charts/cilium/templates/hubble/tls-helm/ca-secret.yaml",
        "charts/cilium/templates/hubble/tls-helm/relay-client-secret.yaml",
        "charts/cilium/templates/hubble/tls-helm/relay-server-secret.yaml",
        "charts/cilium/templates/hubble/tls-helm/server-secret.yaml",
        "charts/cilium/templates/hubble/tls-helm/ui-client-certs.yaml",
        "charts/cilium/templates/hubble/tls-provided/ca-secret.yaml",
        "charts/cilium/templates/hubble/tls-provided/relay-client-secret.yaml",
        "charts/cilium/templates/hubble/tls-provided/relay-server-secret.yaml",
        "charts/cilium/templates/hubble/tls-provided/server-secret.yaml",
        "charts/cilium/templates/hubble/tls-provided/ui-client-certs.yaml",
        "charts/cilium/templates/validate.yaml",
        "charts/cilium/values.yaml",
        "charts/cilium/values.yaml.tmpl",
        "charts/edgeless/constellation-services/.helmignore",
        "charts/edgeless/constellation-services/Chart.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/.helmignore",
        "charts/edgeless/constellation-services/charts/autoscaler/Chart.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/aws-deployment.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/azure-deployment.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/clusterrole.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/gcp-deployment.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/poddisruptionbudget.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/role.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/rolebinding.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/service.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/autoscaler/values.schema.json",
        "charts/edgeless/constellation-services/charts/autoscaler/values.yaml",
        "charts/edgeless/constellation-services/charts/ccm/.helmignore",
        "charts/edgeless/constellation-services/charts/ccm/Chart.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/aws-daemonset.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/azure-daemonset.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/azure-secret.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/gcp-cm.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/gcp-daemonset.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/gcp-secret.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/ccm/values.schema.json",
        "charts/edgeless/constellation-services/charts/ccm/values.yaml",
        "charts/edgeless/constellation-services/charts/cnm/.helmignore",
        "charts/edgeless/constellation-services/charts/cnm/Chart.yaml",
        "charts/edgeless/constellation-services/charts/cnm/templates/azure-daemonset.yaml",
        "charts/edgeless/constellation-services/charts/cnm/templates/clusterrole.yaml",
        "charts/edgeless/constellation-services/charts/cnm/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/cnm/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/cnm/values.schema.json",
        "charts/edgeless/constellation-services/charts/cnm/values.yaml",
        "charts/edgeless/constellation-services/charts/gcp-guest-agent/.helmignore",
        "charts/edgeless/constellation-services/charts/gcp-guest-agent/Chart.yaml",
        "charts/edgeless/constellation-services/charts/gcp-guest-agent/templates/daemonset.yaml",
        "charts/edgeless/constellation-services/charts/gcp-guest-agent/values.schema.json",
        "charts/edgeless/constellation-services/charts/gcp-guest-agent/values.yaml",
        "charts/edgeless/constellation-services/charts/join-service/.helmignore",
        "charts/edgeless/constellation-services/charts/join-service/Chart.yaml",
        "charts/edgeless/constellation-services/charts/join-service/templates/clusterrole.yaml",
        "charts/edgeless/constellation-services/charts/join-service/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/join-service/templates/daemonset.yaml",
        "charts/edgeless/constellation-services/charts/join-service/templates/service.yaml",
        "charts/edgeless/constellation-services/charts/join-service/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/join-service/values.schema.json",
        "charts/edgeless/constellation-services/charts/join-service/values.yaml",
        "charts/edgeless/constellation-services/charts/key-service/.helmignore",
        "charts/edgeless/constellation-services/charts/key-service/Chart.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/clusterrole.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/daemonset.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/mastersecret.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/service.yaml",
        "charts/edgeless/constellation-services/charts/key-service/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/key-service/values.schema.json",
        "charts/edgeless/constellation-services/charts/key-service/values.yaml",
        "charts/edgeless/constellation-services/charts/konnectivity/.helmignore",
        "charts/edgeless/constellation-services/charts/konnectivity/Chart.yaml",
        "charts/edgeless/constellation-services/charts/konnectivity/templates/clusterrolebinding.yaml",
        "charts/edgeless/constellation-services/charts/konnectivity/templates/daemonset.yaml",
        "charts/edgeless/constellation-services/charts/konnectivity/templates/serviceaccount.yaml",
        "charts/edgeless/constellation-services/charts/konnectivity/values.schema.json",
        "charts/edgeless/constellation-services/charts/konnectivity/values.yaml",
        "charts/edgeless/constellation-services/charts/verification-service/.helmignore",
        "charts/edgeless/constellation-services/charts/verification-service/Chart.yaml",
        "charts/edgeless/constellation-services/charts/verification-service/templates/daemonset.yaml",
        "charts/edgeless/constellation-services/charts/verification-service/templates/nodeport-service.yaml",
        "charts/edgeless/constellation-services/charts/verification-service/values.schema.json",
        "charts/edgeless/constellation-services/charts/verification-service/values.yaml",
        "charts/edgeless/constellation-services/templates/.gitkeep",
        "charts/edgeless/constellation-services/values.yaml",
        "charts/edgeless/operators/.helmignore",
        "charts/edgeless/operators/Chart.yaml",
        "charts/edgeless/operators/charts/constellation-operator/.helmignore",
        "charts/edgeless/operators/charts/constellation-operator/Chart.yaml",
        "charts/edgeless/operators/charts/constellation-operator/crds/autoscalingstrategy-crd.yaml",
        "charts/edgeless/operators/charts/constellation-operator/crds/joiningnode-crd.yaml",
        "charts/edgeless/operators/charts/constellation-operator/crds/nodeversion-crd.yaml",
        "charts/edgeless/operators/charts/constellation-operator/crds/pendingnode-crd.yaml",
        "charts/edgeless/operators/charts/constellation-operator/crds/scalinggroup-crd.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/_helpers.tpl",
        "charts/edgeless/operators/charts/constellation-operator/templates/deployment.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/leader-election-rbac.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/manager-config.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/manager-rbac.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/metrics-reader-rbac.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/metrics-service.yaml",
        "charts/edgeless/operators/charts/constellation-operator/templates/proxy-rbac.yaml",
        "charts/edgeless/operators/charts/constellation-operator/values.schema.json",
        "charts/edgeless/operators/charts/constellation-operator/values.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/.helmignore",
        "charts/edgeless/operators/charts/node-maintenance-operator/Chart.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/crds/nodemaintenance-crd.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/_helpers.tpl",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/deployment.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/leader-election-rbac.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/manager-rbac.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/metrics-reader-rbac.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/metrics-service.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/proxy-rbac.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/selfsigned-issuer.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/serving-cert.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/validating-webhook-configuration.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/templates/webhook-service.yaml",
        "charts/edgeless/operators/charts/node-maintenance-operator/values.schema.json",
        "charts/edgeless/operators/charts/node-maintenance-operator/values.yaml",
        "charts/edgeless/operators/values.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/openstack-daemonset.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/openstack-secret.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/Chart.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/README.md",
        "charts/edgeless/constellation-services/charts/yawol-controller/crds/yawol.stackit.cloud_loadbalancermachines.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/crds/yawol.stackit.cloud_loadbalancers.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/crds/yawol.stackit.cloud_loadbalancersets.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/_helpers.tpl",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/rbac-yawol-cloud-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/rbac-yawol-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/sa-yawol-cloud-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/sa-yawol-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/vpa.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/yawol-cloud-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/yawol-controller.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/templates/yawol-gardener-monitoring.yaml",
        "charts/edgeless/constellation-services/charts/yawol-controller/values.yaml",
        "charts/edgeless/constellation-services/charts/yawol-config/.helmignore",
        "charts/edgeless/constellation-services/charts/yawol-config/Chart.yaml",
        "charts/edgeless/constellation-services/charts/yawol-config/templates/secret.yaml",
        "charts/edgeless/constellation-services/charts/yawol-config/values.schema.json",
        "charts/edgeless/constellation-services/charts/yawol-config/values.yaml",
        "charts/aws-load-balancer-controller/.helmignore",
        "charts/aws-load-balancer-controller/Chart.yaml",
        "charts/aws-load-balancer-controller/README.md",
        "charts/aws-load-balancer-controller/crds/crds.yaml",
        "charts/aws-load-balancer-controller/templates/NOTES.txt",
        "charts/aws-load-balancer-controller/templates/_helpers.tpl",
        "charts/aws-load-balancer-controller/templates/deployment.yaml",
        "charts/aws-load-balancer-controller/templates/ingressclass.yaml",
        "charts/aws-load-balancer-controller/templates/pdb.yaml",
        "charts/aws-load-balancer-controller/templates/rbac.yaml",
        "charts/aws-load-balancer-controller/templates/service.yaml",
        "charts/aws-load-balancer-controller/templates/serviceaccount.yaml",
        "charts/aws-load-balancer-controller/templates/servicemonitor.yaml",
        "charts/aws-load-balancer-controller/templates/webhook.yaml",
        "charts/aws-load-balancer-controller/values.yaml",
        "charts/edgeless/csi/Chart.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/Chart.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/_helpers.tpl",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/csi-azuredisk-controller.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/csi-azuredisk-driver.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/rbac-csi-azuredisk-controller.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/rbac-csi-azuredisk-node.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/serviceaccount-csi-azuredisk-controller.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/serviceaccount-csi-azuredisk-node.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/storageclass_default.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/templates/storageclass_integrity.yaml",
        "charts/edgeless/csi/charts/azuredisk-csi-driver/values.yaml",
        "charts/edgeless/csi/charts/cinder-config/.helmignore",
        "charts/edgeless/csi/charts/cinder-config/Chart.yaml",
        "charts/edgeless/csi/charts/cinder-config/templates/secret.yaml",
        "charts/edgeless/csi/charts/cinder-config/values.schema.json",
        "charts/edgeless/csi/charts/cinder-config/values.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/Chart.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/cluster_setup.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/controller.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/node.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/storageclass_default.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/storageclass_integrity.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/templates/v1_csidriver.yaml",
        "charts/edgeless/csi/charts/gcp-compute-persistent-disk-csi-driver/values.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/Chart.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/README.md",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/NOTES.txt",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/_helpers.tpl",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/cinder-csi-driver.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/controllerplugin-deployment.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/controllerplugin-rbac.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/custom_storageclass.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/nodeplugin-daemonset.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/nodeplugin-rbac.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/secret.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/templates/storageclass.yaml",
        "charts/edgeless/csi/charts/openstack-cinder-csi/values.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/Chart.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/admission-configuration.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/rbac-snapshot-controller.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/rbac-snapshot-webhook.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/selfsigned-issuer.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/serving-cert.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/snapshot-controller.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/templates/snapshot-webhook.yaml",
        "charts/edgeless/csi/charts/snapshot-controller/values.yaml",
        "charts/edgeless/csi/charts/snapshot-crds/Chart.yaml",
        "charts/edgeless/csi/charts/snapshot-crds/templates/volumesnapshotclasses.yaml",
        "charts/edgeless/csi/charts/snapshot-crds/templates/volumesnapshotcontents.yaml",
        "charts/edgeless/csi/charts/snapshot-crds/templates/volumesnapshots.yaml",
        "charts/edgeless/csi/charts/snapshot-crds/values.yaml",
        "charts/edgeless/csi/values.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/CHANGELOG.md",
        "charts/edgeless/csi/charts/aws-csi-driver/Chart.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/NOTES.txt",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/_helpers.tpl",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrole-attacher.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrole-csi-node.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrole-provisioner.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrole-resizer.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrole-snapshotter.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrolebinding-attacher.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrolebinding-csi-node.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrolebinding-provisioner.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrolebinding-resizer.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/clusterrolebinding-snapshotter.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/controller.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/csidriver.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/metrics.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/node-windows.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/node.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/poddisruptionbudget-controller.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/serviceaccount-csi-controller.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/serviceaccount-csi-node.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/storageclass.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/storageclass_default.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/storageclass_integrity.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/templates/volumesnapshotclass.yaml",
        "charts/edgeless/csi/charts/aws-csi-driver/values.yaml",
        "charts/edgeless/constellation-services/charts/ccm/templates/gcp-clusterrolebinding.yaml",
        "charts/cilium/files/agent/poststart-eni.bash",
        "charts/cilium/files/cilium-agent/dashboards/cilium-dashboard.json",
        "charts/cilium/files/cilium-envoy/configmap/bootstrap-config.json",
        "charts/cilium/files/cilium-operator/dashboards/cilium-operator-dashboard.json",
        "charts/cilium/files/hubble/dashboards/hubble-dashboard.json",
        "charts/cilium/files/hubble/dashboards/hubble-dns-namespace.json",
        "charts/cilium/files/hubble/dashboards/hubble-l7-http-metrics-by-workload.json",
        "charts/cilium/files/hubble/dashboards/hubble-network-overview-namespace.json",
        "charts/cilium/files/spire/init.bash",
        "charts/cilium/files/spire/wait-for-spire.bash",
        "charts/cilium/templates/cilium-agent/dashboards-configmap.yaml",
        "charts/cilium/templates/cilium-ca-bundle-configmap.yaml",
        "charts/cilium/templates/cilium-envoy/configmap.yaml",
        "charts/cilium/templates/cilium-envoy/daemonset.yaml",
        "charts/cilium/templates/cilium-envoy/service.yaml",
        "charts/cilium/templates/cilium-envoy/serviceaccount.yaml",
        "charts/cilium/templates/cilium-envoy/servicemonitor.yaml",
        "charts/cilium/templates/cilium-gateway-api-class.yaml",
        "charts/cilium/templates/cilium-ingress-service.yaml",
        "charts/cilium/templates/cilium-nodeinit/serviceaccount.yaml",
        "charts/cilium/templates/cilium-operator/dashboards-configmap.yaml",
        "charts/cilium/templates/clustermesh-apiserver/_helpers.tpl",
        "charts/cilium/templates/clustermesh-apiserver/metrics-service.yaml",
        "charts/cilium/templates/clustermesh-apiserver/servicemonitor.yaml",
        "charts/cilium/templates/clustermesh-apiserver/users-configmap.yaml",
        "charts/cilium/templates/clustermesh-config/kvstoremesh-secret.yaml",
        "charts/cilium/templates/hubble/dashboards-configmap.yaml",
        "charts/cilium/templates/spire/agent/clusterrole.yaml",
        "charts/cilium/templates/spire/agent/clusterrolebinding.yaml",
        "charts/cilium/templates/spire/agent/configmap.yaml",
        "charts/cilium/templates/spire/agent/daemonset.yaml",
        "charts/cilium/templates/spire/agent/serviceaccount.yaml",
        "charts/cilium/templates/spire/bundle-configmap.yaml",
        "charts/cilium/templates/spire/namespace.yaml",
        "charts/cilium/templates/spire/server/clusterrole.yaml",
        "charts/cilium/templates/spire/server/clusterrolebinding.yaml",
        "charts/cilium/templates/spire/server/configmap.yaml",
        "charts/cilium/templates/spire/server/role.yaml",
        "charts/cilium/templates/spire/server/rolebinding.yaml",
        "charts/cilium/templates/spire/server/service.yaml",
        "charts/cilium/templates/spire/server/serviceaccount.yaml",
        "charts/cilium/templates/spire/server/statefulset.yaml",
        "charts/cert-manager/templates/cainjector-poddisruptionbudget.yaml",
        "charts/cert-manager/templates/controller-config.yaml",
        "charts/cert-manager/templates/poddisruptionbudget.yaml",
        "charts/cert-manager/templates/webhook-poddisruptionbudget.yaml",
    ],
    importpath = "github.com/edgelesssys/constellation/v2/internal/constellation/helm",
    visibility = ["//:__subpackages__"],
    deps = [
        "//internal/attestation/variant",
        "//internal/cloud/azureshared",
        "//internal/cloud/cloudprovider",
        "//internal/cloud/gcpshared",
        "//internal/cloud/openstack",
        "//internal/compatibility",
        "//internal/config",
        "//internal/constants",
        "//internal/constellation/helm/imageversion",
        "//internal/constellation/state",
        "//internal/file",
        "//internal/kms/uri",
        "//internal/kubernetes/kubectl",
        "//internal/retry",
        "//internal/semver",
        "//internal/versions",
        "@com_github_pkg_errors//:errors",
        "@io_k8s_apimachinery//pkg/api/meta",
        "@io_k8s_client_go//discovery",
        "@io_k8s_client_go//discovery/cached/memory",
        "@io_k8s_client_go//rest",
        "@io_k8s_client_go//restmapper",
        "@io_k8s_client_go//tools/clientcmd",
        "@io_k8s_client_go//util/retry",
        "@sh_helm_helm//pkg/ignore",
        "@sh_helm_helm_v3//pkg/action",
        "@sh_helm_helm_v3//pkg/chart",
        "@sh_helm_helm_v3//pkg/chart/loader",
        "@sh_helm_helm_v3//pkg/chartutil",
        "@sh_helm_helm_v3//pkg/release",
    ],
)

go_test(
    name = "helm_test",
    srcs = [
        "actionfactory_test.go",
        "helm_test.go",
        "loader_test.go",
        "retryaction_test.go",
    ],
    data = glob(["testdata/**"]),
    embed = [":helm"],
    deps = [
        "//internal/attestation/measurements",
        "//internal/attestation/variant",
        "//internal/cloud/azureshared",
        "//internal/cloud/cloudprovider",
        "//internal/cloud/gcpshared",
        "//internal/compatibility",
        "//internal/config",
        "//internal/constellation/state",
        "//internal/kms/uri",
        "//internal/logger",
        "//internal/semver",
        "//internal/versions",
        "@com_github_pkg_errors//:errors",
        "@com_github_stretchr_testify//assert",
        "@com_github_stretchr_testify//mock",
        "@com_github_stretchr_testify//require",
        "@sh_helm_helm_v3//pkg/action",
        "@sh_helm_helm_v3//pkg/chart",
        "@sh_helm_helm_v3//pkg/chartutil",
        "@sh_helm_helm_v3//pkg/engine",
    ],
)
