From 006a1b7a8bfd123fa4a7a62830d5fb5b2da26b94 Mon Sep 17 00:00:00 2001 From: Ian Ducrot--Thollon-Pommerol Date: Fri, 27 Dec 2024 14:19:42 +0100 Subject: [PATCH 1/3] feat: Add priorityClassName to deployment --- deploy/helm/templates/app.yaml | 1 + deploy/helm/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/helm/templates/app.yaml b/deploy/helm/templates/app.yaml index 8c19e8e6..4824d144 100644 --- a/deploy/helm/templates/app.yaml +++ b/deploy/helm/templates/app.yaml @@ -28,3 +28,4 @@ spec: - configMapRef: name: {{ .Values.configMap.name }} serviceAccountName: {{ .Values.serviceAccount.name }} + priorityClassName: {{ .Values.priorityClassName }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 152a906e..80aef71e 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -1,9 +1,10 @@ deploymentName: kubernetes-image-puller -image: +image: repository: quay.io/eclipse/kubernetes-image-puller tag: next serviceAccount: name: k8s-image-puller +priorityClassName: {} configMap: name: k8s-image-puller images: > From 20da73cdc09b0ace347c5687f3902a8673fda58b Mon Sep 17 00:00:00 2001 From: Ian <112939049+ianbabysre@users.noreply.github.com> Date: Thu, 23 Jan 2025 14:08:14 +0100 Subject: [PATCH 2/3] Update deploy/helm/values.yaml Co-authored-by: Anatolii Bazko --- deploy/helm/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 80aef71e..bad31c29 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -4,7 +4,7 @@ image: tag: next serviceAccount: name: k8s-image-puller -priorityClassName: {} +priorityClassName: "" configMap: name: k8s-image-puller images: > From 40f1bcd60c28a008d984f92be0c1d5bcc36dfbc7 Mon Sep 17 00:00:00 2001 From: Ian Ducrot--Thollon-Pommerol Date: Thu, 13 Feb 2025 18:56:57 +0100 Subject: [PATCH 3/3] feat: Add paramter to README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f14e45e6..9160e7ea 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The config values to be set are: | `KIP_IMAGE` | The image puller image to copy the `sleep` binary from | `quay.io/eclipse/kubernetes-image-puller:next` | | `TOLERATIONS` | Tolerations applied to pods created by the daemonset, provided in this format `'[{"operator":"Exists"}]'` | `'[]'` | -### Configuration - Helm +### Configuration - Helm The following values can be set: @@ -40,6 +40,7 @@ The following values can be set: | `image.repository` | The repository to pull the image from | `quay.io/eclipse/kubernetes-image-puller` | | `image.tag` | The image tag to pull | `next` | | `serviceAccount.name` | The name of the ServiceAccount to create | `k8s-image-puller` | +| `priorityClassName` | The updateStrategy type to use when restarting the Deployment| `""` | | `configMap.name` | The name of the ConfigMap to create | `k8s-image-puller` | | `configMap.images` | The value of `IMAGES` to be set in the ConfigMap | // TODO create a reasonable set of default containers | | `configMap.cachingIntervalHours` | The value of `CACHING_INTERVAL_HOURS` to be set in the ConfigMap | `"1"` |