From 10f659401f8163ac03d8e811c3e29b00181b83b5 Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Thu, 16 Jan 2025 10:45:24 -0600 Subject: [PATCH] feat: update update COSI image to latest (#1531) Latest version from https://console.cloud.google.com/gcr/images/k8s-staging-sig-storage/GLOBAL/objectstorage-controller?inv=1&invt=Abk6pA --- stable/cosi/Chart.yaml | 5 +++-- ...v1_deployment_container-object-storage-controller.yaml | 7 +++++-- stable/cosi/values.yaml | 8 ++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/stable/cosi/Chart.yaml b/stable/cosi/Chart.yaml index 42cf5ae2c..6fec9d23e 100644 --- a/stable/cosi/Chart.yaml +++ b/stable/cosi/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: cosi -version: 0.0.1-alpha.1 -appVersion: 0.0.1-alpha.1 +version: 0.0.1-alpha.2 +appVersion: 0.0.1-alpha.2 description: Container Object Storage Interface (COSI) provisioner for Kubernetes keywords: - cosi @@ -11,3 +11,4 @@ sources: - https://github.com/kubernetes-sigs/container-object-storage-interface maintainers: - name: takirala +- name: dkoshkin diff --git a/stable/cosi/templates/apps_v1_deployment_container-object-storage-controller.yaml b/stable/cosi/templates/apps_v1_deployment_container-object-storage-controller.yaml index a52c70e31..fd45afabd 100644 --- a/stable/cosi/templates/apps_v1_deployment_container-object-storage-controller.yaml +++ b/stable/cosi/templates/apps_v1_deployment_container-object-storage-controller.yaml @@ -39,7 +39,10 @@ spec: spec: containers: - args: - - --v=5 - image: gcr.io/k8s-staging-sig-storage/objectstorage-controller:v20221027-v0.1.1-8-g300019f + {{- range $key, $value := .Values.extraArgs }} + - --{{ $key }}={{ $value }} + {{- end }} + image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} name: objectstorage-controller serviceAccountName: container-object-storage-controller-sa diff --git a/stable/cosi/values.yaml b/stable/cosi/values.yaml index e69de29bb..e6b81a1d2 100644 --- a/stable/cosi/values.yaml +++ b/stable/cosi/values.yaml @@ -0,0 +1,8 @@ +image: + registry: gcr.io + repository: k8s-staging-sig-storage/objectstorage-controller + tag: v20250110-a29e5f6 + pullPolicy: IfNotPresent + +extraArgs: + v: 5