From f7e40fde79f84d628f6f876b04ba58ec07aa2e97 Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Wed, 17 May 2023 16:19:22 -0500 Subject: [PATCH 1/4] Add an imagePullSecret patch Signed-off-by: Dean Roehrich --- deploy/kubernetes/base/kustomization.yaml | 5 +++++ .../kubernetes/base/plugin_imagepullsecret_patch.yaml | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 deploy/kubernetes/base/plugin_imagepullsecret_patch.yaml diff --git a/deploy/kubernetes/base/kustomization.yaml b/deploy/kubernetes/base/kustomization.yaml index aeb7039..738ae73 100644 --- a/deploy/kubernetes/base/kustomization.yaml +++ b/deploy/kubernetes/base/kustomization.yaml @@ -1,10 +1,15 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: lustre-csi-system + resources: - namespace.yaml - driver.yaml - plugin.yaml + +#patchesStrategicMerge: +#- plugin_imagepullsecret_patch.yaml + images: - name: controller newName: ghcr.io/hewlettpackard/lustre-csi-driver diff --git a/deploy/kubernetes/base/plugin_imagepullsecret_patch.yaml b/deploy/kubernetes/base/plugin_imagepullsecret_patch.yaml new file mode 100644 index 0000000..68aecd1 --- /dev/null +++ b/deploy/kubernetes/base/plugin_imagepullsecret_patch.yaml @@ -0,0 +1,10 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: lustre-csi-node +spec: + template: + spec: + imagePullSecrets: + - name: name_of_secret + From 3c377c69a59ebebe7563e6c931b6dd4892fe59c8 Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Wed, 7 Jun 2023 13:43:11 -0500 Subject: [PATCH 2/4] Merge .github/workflows/main.yaml Signed-off-by: Blake Devcich --- .github/workflows/main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e90c592..e7cd05a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -3,8 +3,7 @@ name: Docker build and push on: push: branches: - - 'master' - - 'releases/v*' + - '*' tags: - 'v*' pull_request: From 371280371af3f303056226c9174082d8f7514c73 Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Wed, 7 Jun 2023 13:43:29 -0500 Subject: [PATCH 3/4] Bump to v0.0.5 Signed-off-by: Blake Devcich --- charts/lustre-csi-driver/values.yaml | 2 +- deploy/kubernetes/base/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/lustre-csi-driver/values.yaml b/charts/lustre-csi-driver/values.yaml index 41fffc8..dc0ad94 100644 --- a/charts/lustre-csi-driver/values.yaml +++ b/charts/lustre-csi-driver/values.yaml @@ -4,4 +4,4 @@ deployment: image: "ghcr.io/hewlettpackard/lustre-csi-driver" - tag: "0.0.4" + tag: "0.0.5" diff --git a/deploy/kubernetes/base/kustomization.yaml b/deploy/kubernetes/base/kustomization.yaml index 7262968..e5b6fe6 100644 --- a/deploy/kubernetes/base/kustomization.yaml +++ b/deploy/kubernetes/base/kustomization.yaml @@ -13,4 +13,4 @@ resources: images: - name: controller newName: ghcr.io/hewlettpackard/lustre-csi-driver - newTag: 0.0.4 + rewTag: 0.0.5 From bc6f7f3c77c0dfd679e0eb4b0039958a0d911be4 Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Wed, 7 Jun 2023 13:47:16 -0500 Subject: [PATCH 4/4] Fixed newTag typo Signed-off-by: Blake Devcich --- deploy/kubernetes/base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kubernetes/base/kustomization.yaml b/deploy/kubernetes/base/kustomization.yaml index e5b6fe6..c8e631e 100644 --- a/deploy/kubernetes/base/kustomization.yaml +++ b/deploy/kubernetes/base/kustomization.yaml @@ -13,4 +13,4 @@ resources: images: - name: controller newName: ghcr.io/hewlettpackard/lustre-csi-driver - rewTag: 0.0.5 + newTag: 0.0.5