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"` | 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..bad31c29 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: >