diff --git a/cdi-chart/Chart.yaml b/cdi-chart/Chart.yaml index bc2e9d0..8df02c1 100644 --- a/cdi-chart/Chart.yaml +++ b/cdi-chart/Chart.yaml @@ -1,9 +1,9 @@ -#!BuildTag: %%CHART_PREFIX%%cdi:%%CHART_MAJOR%%.0.0_up0.4.0 -#!BuildTag: %%CHART_PREFIX%%cdi:%%CHART_MAJOR%%.0.0_up0.4.0-%RELEASE% +#!BuildTag: %%CHART_PREFIX%%cdi:%%CHART_MAJOR%%.0.0_up0.5.0 +#!BuildTag: %%CHART_PREFIX%%cdi:%%CHART_MAJOR%%.0.0_up0.5.0-%RELEASE% apiVersion: v2 -appVersion: 1.60.1 +appVersion: 1.61.0 description: A Helm chart for Containerized Data Importer (CDI) icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/kubevirt/icon/color/kubevirt-icon-color.svg name: cdi type: application -version: "%%CHART_MAJOR%%.0.0+up0.4.0" +version: "%%CHART_MAJOR%%.0.0+up0.5.0" diff --git a/cdi-chart/crds/cdi.yaml b/cdi-chart/crds/cdi.yaml index 8621e0f..0b5e648 100644 --- a/cdi-chart/crds/cdi.yaml +++ b/cdi-chart/crds/cdi.yaml @@ -5079,4 +5079,4 @@ spec: type: object served: true storage: true - subresources: {} + subresources: {} \ No newline at end of file diff --git a/cdi-chart/templates/NOTES.txt b/cdi-chart/templates/NOTES.txt index f6a43a4..80dde4c 100644 --- a/cdi-chart/templates/NOTES.txt +++ b/cdi-chart/templates/NOTES.txt @@ -1,2 +1,2 @@ Verify that all CDI components are installed correctly: - kubectl get all -n {{ .Release.Namespace }} + kubectl get all -n {{ .Release.Namespace }} \ No newline at end of file diff --git a/cdi-chart/templates/_helpers.tpl b/cdi-chart/templates/_helpers.tpl index 5f2e091..2276e20 100644 --- a/cdi-chart/templates/_helpers.tpl +++ b/cdi-chart/templates/_helpers.tpl @@ -59,4 +59,4 @@ Create the name of the service account to use {{- else }} {{- default "default" .Values.serviceAccount.name }} {{- end }} -{{- end }} +{{- end }} \ No newline at end of file diff --git a/cdi-chart/templates/_hooks.tpl b/cdi-chart/templates/_hooks.tpl index d857801..6b781ea 100644 --- a/cdi-chart/templates/_hooks.tpl +++ b/cdi-chart/templates/_hooks.tpl @@ -44,4 +44,4 @@ {{/* CRD uninstalling hook name */}} {{- define "cdi.crdUninstallHook.name" -}} {{ include "cdi.fullname" . }}-crd-uninstall -{{- end }} +{{- end }} \ No newline at end of file diff --git a/cdi-chart/templates/cdi-operator.yaml b/cdi-chart/templates/cdi-operator.yaml index f6ab6fe..314a66d 100644 --- a/cdi-chart/templates/cdi-operator.yaml +++ b/cdi-chart/templates/cdi-operator.yaml @@ -606,17 +606,7 @@ spec: prometheus.cdi.kubevirt.io: "true" spec: affinity: - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: cdi.kubevirt.io - operator: In - values: - - cdi-operator - topologyKey: kubernetes.io/hostname - weight: 1 +{{- .Values.deployment.affinity | toYaml | nindent 8 }} containers: - env: - name: DEPLOY_CLUSTER_RESOURCES @@ -650,9 +640,7 @@ spec: name: metrics protocol: TCP resources: - requests: - cpu: 100m - memory: 150Mi +{{- .Values.deployment.resources | toYaml | nindent 12 }} securityContext: allowPrivilegeEscalation: false capabilities: @@ -661,6 +649,8 @@ spec: runAsNonRoot: true seccompProfile: type: RuntimeDefault + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File nodeSelector: kubernetes.io/os: linux securityContext: @@ -668,4 +658,4 @@ spec: serviceAccountName: cdi-operator tolerations: - key: CriticalAddonsOnly - operator: Exists + operator: Exists \ No newline at end of file diff --git a/cdi-chart/templates/cdi-uninstall-hooks.yaml b/cdi-chart/templates/cdi-uninstall-hooks.yaml index d737539..a27acd5 100644 --- a/cdi-chart/templates/cdi-uninstall-hooks.yaml +++ b/cdi-chart/templates/cdi-uninstall-hooks.yaml @@ -66,4 +66,4 @@ spec: - deployments/cdi-apiserver - deployments/cdi-deployment - deployments/cdi-uploadproxy - - --timeout=60s + - --timeout=60s \ No newline at end of file diff --git a/cdi-chart/templates/cdi.yaml b/cdi-chart/templates/cdi.yaml index b3e476d..e6524c5 100644 --- a/cdi-chart/templates/cdi.yaml +++ b/cdi-chart/templates/cdi.yaml @@ -18,4 +18,4 @@ spec: {{- with .Values.cdi.workload }} workload: {{- toYaml . | nindent 4 }} - {{- end }} + {{- end }} \ No newline at end of file diff --git a/cdi-chart/templates/crd-uninstall-hooks.yaml b/cdi-chart/templates/crd-uninstall-hooks.yaml index 19bdaf2..a83e5b7 100644 --- a/cdi-chart/templates/crd-uninstall-hooks.yaml +++ b/cdi-chart/templates/crd-uninstall-hooks.yaml @@ -52,4 +52,4 @@ spec: - customresourcedefinitions - cdis.cdi.kubevirt.io securityContext: - {{- toYaml .Values.hookSecurityContext | nindent 12 }} + {{- toYaml .Values.hookSecurityContext | nindent 12 }} \ No newline at end of file diff --git a/cdi-chart/templates/crd-upgrade-hooks.yaml b/cdi-chart/templates/crd-upgrade-hooks.yaml index f650adc..ec8bb7e 100644 --- a/cdi-chart/templates/crd-upgrade-hooks.yaml +++ b/cdi-chart/templates/crd-upgrade-hooks.yaml @@ -77,4 +77,4 @@ spec: name: cdi-crd-manifest items: - key: crd - path: crd.yaml + path: crd.yaml \ No newline at end of file diff --git a/cdi-chart/templates/namespace-hooks.yaml b/cdi-chart/templates/namespace-hooks.yaml index 30d16a4..37f0ea3 100644 --- a/cdi-chart/templates/namespace-hooks.yaml +++ b/cdi-chart/templates/namespace-hooks.yaml @@ -53,4 +53,4 @@ spec: - label - namespace - {{ .Release.Namespace }} - - cdi.kubevirt.io= + - cdi.kubevirt.io= \ No newline at end of file diff --git a/cdi-chart/values.yaml b/cdi-chart/values.yaml index b487d18..483ef5f 100644 --- a/cdi-chart/values.yaml +++ b/cdi-chart/values.yaml @@ -1,5 +1,5 @@ deployment: - version: 1.60.1-150600.3.9.1 + version: 1.61.0-150600.3.12.1 operatorImage: registry.suse.com/suse/sles/15.6/cdi-operator controllerImage: registry.suse.com/suse/sles/15.6/cdi-controller importerImage: registry.suse.com/suse/sles/15.6/cdi-importer @@ -8,6 +8,22 @@ deployment: uploadserverImage: registry.suse.com/suse/sles/15.6/cdi-uploadserver uploadproxyImage: registry.suse.com/suse/sles/15.6/cdi-uploadproxy pullPolicy: IfNotPresent + affinity: + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: cdi.kubevirt.io + operator: In + values: + - cdi-operator + topologyKey: kubernetes.io/hostname + weight: 1 + resources: + requests: + cpu: 100m + memory: 150Mi cdi: config: @@ -35,4 +51,4 @@ hookSecurityContext: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL \ No newline at end of file