From 6cb1dc29903d0b0967b3e020efc09825dab78177 Mon Sep 17 00:00:00 2001 From: Peter Fiddes Date: Wed, 24 Jan 2024 13:43:50 +0000 Subject: [PATCH 1/2] chore: Switch default image to Venafi public registry Signed-off-by: Peter Fiddes --- deploy/charts/venafi-kubernetes-agent/Chart.yaml | 2 +- deploy/charts/venafi-kubernetes-agent/README.md | 6 ++++-- deploy/charts/venafi-kubernetes-agent/values.yaml | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/deploy/charts/venafi-kubernetes-agent/Chart.yaml b/deploy/charts/venafi-kubernetes-agent/Chart.yaml index 24620072..4e208b73 100644 --- a/deploy/charts/venafi-kubernetes-agent/Chart.yaml +++ b/deploy/charts/venafi-kubernetes-agent/Chart.yaml @@ -3,5 +3,5 @@ name: venafi-kubernetes-agent description: |- The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane. type: application -version: 0.1.43 +version: 0.1.44 appVersion: "v0.1.43" diff --git a/deploy/charts/venafi-kubernetes-agent/README.md b/deploy/charts/venafi-kubernetes-agent/README.md index 0204a3db..8cf57524 100644 --- a/deploy/charts/venafi-kubernetes-agent/README.md +++ b/deploy/charts/venafi-kubernetes-agent/README.md @@ -2,7 +2,7 @@ The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane. -![Version: 0.1.43](https://img.shields.io/badge/Version-0.1.43-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.43](https://img.shields.io/badge/AppVersion-v0.1.43-informational?style=flat-square) +![Version: 0.1.44](https://img.shields.io/badge/Version-0.1.44-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.43](https://img.shields.io/badge/AppVersion-v0.1.43-informational?style=flat-square) ## Additional Information @@ -154,7 +154,7 @@ You should see the following events for your service account: | extraArgs | list | `[]` | Specify additional arguments to pass to the agent binary. For example `["--strict", "--oneshot"]` | | fullnameOverride | string | `""` | Helm default setting, use this to shorten the full install name. | | image.pullPolicy | string | `"IfNotPresent"` | Defaults to only pull if not already present | -| image.repository | string | `"quay.io/jetstack/venafi-agent"` | Default to Open Source image repository | +| image.repository | string | `"registry.venafi.cloud/venafi-agent/venafi-agent"` | Default to Venafi Public registry | | image.tag | string | `"v0.1.43"` | Overrides the image tag whose default is the chart appVersion | | imagePullSecrets | list | `[]` | Specify image pull credentials if using a private registry example: - name: my-pull-secret | | nameOverride | string | `""` | Helm default setting to override release name, usually leave blank. | @@ -169,3 +169,5 @@ You should see the following events for your service account: | serviceAccount.name | string | `""` | The name of the service account to use. If blank and `serviceAccount.create` is true, a name is generated using the fullname template of the release. | | tolerations | list | `[]` | Embed YAML for toleration settings, see https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ | +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0) diff --git a/deploy/charts/venafi-kubernetes-agent/values.yaml b/deploy/charts/venafi-kubernetes-agent/values.yaml index 3f0e7dca..b6d268f4 100644 --- a/deploy/charts/venafi-kubernetes-agent/values.yaml +++ b/deploy/charts/venafi-kubernetes-agent/values.yaml @@ -6,8 +6,9 @@ replicaCount: 1 image: - # -- Default to Open Source image repository - repository: quay.io/jetstack/venafi-agent + # -- Default to Venafi Public registry. + # To use the open source repository set: "quay.io/jetstack/preflight". + repository: registry.venafi.cloud/venafi-agent/venafi-agent # -- Defaults to only pull if not already present pullPolicy: IfNotPresent # -- Overrides the image tag whose default is the chart appVersion From c5f480ea6767339fdfae77c6d1d2d6d4cae72c54 Mon Sep 17 00:00:00 2001 From: Peter Fiddes Date: Wed, 24 Jan 2024 13:49:15 +0000 Subject: [PATCH 2/2] chore: Tests change and correct quay.io reference reinstated Signed-off-by: Peter Fiddes --- .../charts/venafi-kubernetes-agent/tests/deployment_test.yaml | 2 +- deploy/charts/venafi-kubernetes-agent/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/charts/venafi-kubernetes-agent/tests/deployment_test.yaml b/deploy/charts/venafi-kubernetes-agent/tests/deployment_test.yaml index e91ae4b7..8d934f6d 100644 --- a/deploy/charts/venafi-kubernetes-agent/tests/deployment_test.yaml +++ b/deploy/charts/venafi-kubernetes-agent/tests/deployment_test.yaml @@ -19,7 +19,7 @@ tests: # Check is latest is set as tag that it uses that tag - equal: path: spec.template.spec.containers[0].image - value: quay.io/jetstack/venafi-agent:latest + value: registry.venafi.cloud/venafi-agent/venafi-agent:latest # Check naming works with nameOverride - it: Deployment name is set when nameOverride is used diff --git a/deploy/charts/venafi-kubernetes-agent/values.yaml b/deploy/charts/venafi-kubernetes-agent/values.yaml index b6d268f4..0437fd42 100644 --- a/deploy/charts/venafi-kubernetes-agent/values.yaml +++ b/deploy/charts/venafi-kubernetes-agent/values.yaml @@ -7,7 +7,7 @@ replicaCount: 1 image: # -- Default to Venafi Public registry. - # To use the open source repository set: "quay.io/jetstack/preflight". + # To use the open source repository set: "quay.io/jetstack/venafi-agent". repository: registry.venafi.cloud/venafi-agent/venafi-agent # -- Defaults to only pull if not already present pullPolicy: IfNotPresent