Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bitnami/cdi-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 1.62.0 (2025-08-03)

* [bitnami/cdi-operator]: Add Charts ([#35144](https://github.com/bitnami/charts/pull/35144))
31 changes: 31 additions & 0 deletions bitnami/cdi-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0

annotations:
category: Infrastructure
licenses: Apache-2.0
apiVersion: v2
appVersion: 1.62.0
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
description: The Containerized Data Importer (CDI) project provides facilities for
enabling Persistent Volume Claims (PVCs) to be used as disks for KubeVirt VMs by
way of DataVolumes.
home: https://bitnami.com
icon: https://github.com/kubevirt/community/blob/77864f3ab046cb62b8df2f9a7f59ba3e19aaa948/logo/KubeVirt_icon.png
keywords:
- kubevirt
- kubernetes
- infrastructure
- virtualization
maintainers:
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: cdi-operator
sources:
- https://kubevirt.io/user-guide/storage/containerized_data_importer/
version: 1.62.0
349 changes: 349 additions & 0 deletions bitnami/cdi-operator/README.md

Large diffs are not rendered by default.

5,082 changes: 5,082 additions & 0 deletions bitnami/cdi-operator/crds/cdi-operator.yaml

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions bitnami/cdi-operator/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
CHART NAME: {{ .Chart.Name }}
CHART VERSION: {{ .Chart.Version }}
APP VERSION: {{ .Chart.AppVersion }}

Did you know there are enterprise versions of the Bitnami catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Bitnami Premium or Tanzu Application Catalog. See https://www.arrow.com/globalecs/na/vendors/bitnami for more information.

** Please be patient while the chart is being deployed **

{{- if .Values.diagnosticMode.enabled }}
The chart has been deployed in diagnostic mode. All probes have been disabled and the command has been overwritten with:

command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 4 }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 4 }}

Get the list of pods by executing:

kubectl get pods --namespace {{ include "common.names.namespace" . | quote }} -l app.kubernetes.io/instance={{ .Release.Name }}

Access the pod you want to debug by executing

kubectl exec --namespace {{ include "common.names.namespace" . | quote }} -ti <NAME OF THE POD> -- bash


{{- else }}


{{- end }}

{{- include "common.warnings.rollingTag" .Values.cdioperator.image }}
{{- include "common.warnings.modifiedImages" (list .Values.cdioperator.image) "context" }}
61 changes: 61 additions & 0 deletions bitnami/cdi-operator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{{/*
Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{/*
Return the proper cdioperator image name
*/}}
{{- define "cdioperator.image" -}}
{{ include "common.images.image" (dict "imageRoot" .Values.cdioperator.image "global" .Values.global) }}
{{- end -}}

{{/*
Return the proper image name (for the init container volume-permissions image)
*/}}
{{- define "cdioperator.volumePermissions.image" -}}
{{- include "common.images.image" ( dict "imageRoot" .Values.volumePermissions.image "global" .Values.global ) -}}
{{- end -}}

{{/*
Return the proper Docker Image Registry Secret Names
*/}}
{{- define "cdioperator.imagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.cdioperator.image .Values.volumePermissions.image) "context" $) -}}
{{- end -}}

{{/*
Create the name of the service account to use
*/}}
{{- define "cdioperator.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "common.names.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

{{/*
Return true if cert-manager required annotations for TLS signed certificates are set in the Ingress annotations
Ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
*/}}
{{- define "cdioperator.ingress.certManagerRequest" -}}
{{ if or (hasKey . "cert-manager.io/cluster-issuer") (hasKey . "cert-manager.io/issuer") }}
{{- true -}}
{{- end -}}
{{- end -}}

{{/*
Compile all warnings into a single message.
*/}}
{{- define "cdioperator.validateValues" -}}
{{- $messages := list -}}
{{- $messages := append $messages (include "cdioperator.validateValues.foo" .) -}}
{{- $messages := append $messages (include "cdioperator.validateValues.bar" .) -}}
{{- $messages := without $messages "" -}}
{{- $message := join "\n" $messages -}}

{{- if $message -}}
{{- printf "\nVALUES VALIDATION:\n%s" $message -}}
{{- end -}}
{{- end -}}
34 changes: 34 additions & 0 deletions bitnami/cdi-operator/templates/cdi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{{- /*
Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

apiVersion: cdi.kubevirt.io/v1beta1
kind: CDI
metadata:
name: {{ template "common.names.fullname" . }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
spec:
config:
{{- if .Values.cdi.config.podResource }}
podResourceRequirements: {{- toYaml .Values.cdi.config.podResource | nindent 6 }}
{{- else if ne .Values.cdi.config.podResourcePreset "none" }}
podResourceRequirements: {{- include "common.resources.preset" (dict "type" .Values.cdi.config.podResourcePreset) | nindent 6 }}
{{- end }}
featureGates:
{{- range $key, $enabled := .Values.cdi.config.featureGates }}
{{- if $enabled }}
- {{ $key }}
{{- end }}
{{- end }}
{{- with .Values.cdi.config.extraFeatureGates }}
{{- range . }}
- {{ . }}
{{- end }}
{{- end }}
imagePullPolicy: {{ .Values.cdi.pullPolicy }}
infra:
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.cdi.infra.nodeSelector "context" $) | nindent 6 }}
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.cdi.infra.tolerations "context" .) | nindent 4 }}
workload:
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.cdi.workload.nodeSelector "context" $) | nindent 6 }}
Loading
Loading