From 1f8c6711a0b72c049a3b1be46a25c7c9209131b3 Mon Sep 17 00:00:00 2001 From: keptn-bot <86361500+keptn-bot@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:11:38 +0100 Subject: [PATCH] Update keptn-cert-manager Helm chart (#137) Co-authored-by: mowies <6901203+mowies@users.noreply.github.com> Co-authored-by: Moritz Wiesinger --- charts/keptn-cert-manager/Chart.lock | 6 +++--- charts/keptn-cert-manager/Chart.yaml | 6 +++--- charts/keptn-cert-manager/README.md | 5 +++-- charts/keptn-cert-manager/templates/deployment.yaml | 2 +- charts/keptn-cert-manager/values.yaml | 10 +++++----- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/charts/keptn-cert-manager/Chart.lock b/charts/keptn-cert-manager/Chart.lock index 32129c0..0bf9d0f 100644 --- a/charts/keptn-cert-manager/Chart.lock +++ b/charts/keptn-cert-manager/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: https://charts.lifecycle.keptn.sh - version: 0.1.3 -digest: sha256:babbda5a2547939acb7ff5ddba4d516d5e59377ca2b02b597fa77c8ce2640b54 -generated: "2024-01-18T14:43:25.121567+01:00" + version: 0.1.4 +digest: sha256:16a2c2b907d0cf88de1e869c5d9d2249c9aeb6a9fd941f77c71f4f58caae7868 +generated: "2024-02-26T10:12:23.997201478Z" diff --git a/charts/keptn-cert-manager/Chart.yaml b/charts/keptn-cert-manager/Chart.yaml index 308bb02..fb5833a 100644 --- a/charts/keptn-cert-manager/Chart.yaml +++ b/charts/keptn-cert-manager/Chart.yaml @@ -31,14 +31,14 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.1 +version: 0.2.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v2.0.0" # x-release-please-version +appVersion: "v2.1.0" # x-release-please-version dependencies: - name: common repository: "https://charts.lifecycle.keptn.sh" - version: 0.1.3 + version: 0.1.4 diff --git a/charts/keptn-cert-manager/README.md b/charts/keptn-cert-manager/README.md index f809e32..3229e32 100644 --- a/charts/keptn-cert-manager/README.md +++ b/charts/keptn-cert-manager/README.md @@ -11,6 +11,7 @@ resource. | Name | Description | Value | | ------------------------------- | ------------------------------------------------------------------------- | ----- | | `global.imageRegistry` | Global container image registry | `""` | +| `global.imagePullPolicy` | select global image pull policy | `""` | | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` | | `global.commonLabels` | Common labels to add to all Keptn resources. Evaluated as a template | `{}` | | `global.commonAnnotations` | Common annotations to add to all Keptn resources. Evaluated as a template | `{}` | @@ -37,8 +38,8 @@ resource. | `env.labelSelectorValue` | specify the value for the label selector | `true` | | `image.registry` | specify the container registry for the certificate-operator image | `ghcr.io` | | `image.repository` | specify repo for manager image | `keptn/certificate-operator` | -| `image.tag` | select tag for manager container | `v2.0.0` | -| `imagePullPolicy` | select image pull policy for manager container | `Always` | +| `image.tag` | select tag for manager container | `v2.1.0` | +| `image.imagePullPolicy` | specify pull policy for the manager image. This overrides global values | `""` | | `livenessProbe` | custom RBAC proxy liveness probe | | | `readinessProbe` | custom manager readiness probe | | | `resources` | custom limits and requests for manager container | | diff --git a/charts/keptn-cert-manager/templates/deployment.yaml b/charts/keptn-cert-manager/templates/deployment.yaml index 0aa2249..862d968 100644 --- a/charts/keptn-cert-manager/templates/deployment.yaml +++ b/charts/keptn-cert-manager/templates/deployment.yaml @@ -47,7 +47,7 @@ spec: - name: KUBERNETES_CLUSTER_DOMAIN value: {{ .Values.kubernetesClusterDomain }} image: {{- include "common.images.image" ( dict "imageRoot" .Values.image "global" .Values.global ) | indent 1}} - imagePullPolicy: {{ .Values.imagePullPolicy }} + imagePullPolicy: {{ .Values.image.imagePullPolicy | default (.Values.global.imagePullPolicy | default "IfNotPresent") }} name: certificate-operator resources: {{- toYaml .Values.resources | nindent 12 }} securityContext: diff --git a/charts/keptn-cert-manager/values.yaml b/charts/keptn-cert-manager/values.yaml index 4be84f2..a4c9cbd 100644 --- a/charts/keptn-cert-manager/values.yaml +++ b/charts/keptn-cert-manager/values.yaml @@ -6,7 +6,8 @@ global: ## @param global.imageRegistry Global container image registry imageRegistry: "" - + ## @param global.imagePullPolicy select global image pull policy + imagePullPolicy: "" ## @param global.imagePullSecrets Global Docker registry secret names as an array ## E.g. ## imagePullSecrets: @@ -68,10 +69,9 @@ image: ## @param image.repository specify repo for manager image repository: keptn/certificate-operator ## @param image.tag select tag for manager container - tag: v2.0.0 # x-release-please-version -## @param imagePullPolicy select image pull policy for manager container -imagePullPolicy: Always - + tag: v2.1.0 # x-release-please-version +## @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values + imagePullPolicy: "" ## @extra livenessProbe custom RBAC proxy liveness probe ## @skip livenessProbe.httpGet.path ## @skip livenessProbe.httpGet.port