From 27b68b9a345ca60b167508a856b7e541d8aa2938 Mon Sep 17 00:00:00 2001 From: jetstack-bot Date: Wed, 31 Jan 2024 14:56:22 +0000 Subject: [PATCH] BOT: run 'make upgrade-klone' and 'make generate' Signed-off-by: jetstack-bot --- deploy/charts/approver-policy/README.md | 671 ++++++------------------ klone.yaml | 24 +- make/_shared/tools/00_mod.mk | 2 +- 3 files changed, 179 insertions(+), 518 deletions(-) diff --git a/deploy/charts/approver-policy/README.md b/deploy/charts/approver-policy/README.md index 011dff50..de1166ee 100644 --- a/deploy/charts/approver-policy/README.md +++ b/deploy/charts/approver-policy/README.md @@ -18,86 +18,39 @@ approver-policy is a CertificateRequest approver for cert-manager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionTypeDefault
replicaCount +#### **replicaCount** ~ `number` +> Default value: +> ```yaml +> 1 +> ``` Number of replicas of approver-policy to run. - -number - -```yaml -1 -``` - -
image.repository +#### **image.repository** ~ `string` +> Default value: +> ```yaml +> quay.io/jetstack/cert-manager-approver-policy +> ``` Target image repository. - -string - -```yaml -quay.io/jetstack/cert-manager-approver-policy -``` - -
image.registry +#### **image.registry** ~ `unknown` +> Default value: +> ```yaml +> null +> ``` Target image registry. This value is prepended to the target image repository, if set. - -unknown - -```yaml -null -``` - -
image.tag +#### **image.tag** ~ `unknown` +> Default value: +> ```yaml +> null +> ``` Target image version tag. Defaults to the chart's appVersion. - -unknown - -```yaml -null -``` - -
image.digest +#### **image.digest** ~ `unknown` +> Default value: +> ```yaml +> null +> ``` Target image digest. Override any tag, if set. For example: @@ -105,368 +58,158 @@ For example: ```yaml digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20 ``` - -unknown - -```yaml -null -``` - -
image.pullPolicy +#### **image.pullPolicy** ~ `string` +> Default value: +> ```yaml +> IfNotPresent +> ``` Kubernetes imagePullPolicy on Deployment. - -string - -```yaml -IfNotPresent -``` - -
imagePullSecrets +#### **imagePullSecrets** ~ `array` +> Default value: +> ```yaml +> [] +> ``` Optional secrets used for pulling the approver-policy container image. - -array - -```yaml -[] -``` - -
app.logLevel +#### **app.logLevel** ~ `number` +> Default value: +> ```yaml +> 1 +> ``` Verbosity of approver-policy logging. This is a value from 1 to 5. - -number - -```yaml -1 -``` - -
app.extraArgs +#### **app.extraArgs** ~ `array` +> Default value: +> ```yaml +> [] +> ``` Extra CLI arguments that will be passed to the approver-policy process. - -array - -```yaml -[] -``` - -
app.approveSignerNames +#### **app.approveSignerNames** ~ `array` +> Default value: +> ```yaml +> - issuers.cert-manager.io/* +> - clusterissuers.cert-manager.io/* +> ``` List if signer names that approver-policy will be given permission to approve and deny. CertificateRequests referencing these signer names can be processed by approver-policy. ref: https://cert-manager.io/docs/concepts/certificaterequest/#approval - -array - -```yaml -- issuers.cert-manager.io/* -- clusterissuers.cert-manager.io/* -``` - -
app.metrics.port +#### **app.metrics.port** ~ `number` +> Default value: +> ```yaml +> 9402 +> ``` Port for exposing Prometheus metrics on 0.0.0.0 on path '/metrics'. - -number - -```yaml -9402 -``` - -
app.metrics.service.enabled +#### **app.metrics.service.enabled** ~ `bool` +> Default value: +> ```yaml +> true +> ``` Create a Service resource to expose metrics endpoint. - -bool - -```yaml -true -``` - -
app.metrics.service.type +#### **app.metrics.service.type** ~ `string` +> Default value: +> ```yaml +> ClusterIP +> ``` The service type to expose metrics. - -string - -```yaml -ClusterIP -``` - -
app.metrics.service.servicemonitor.enabled +#### **app.metrics.service.servicemonitor.enabled** ~ `bool` +> Default value: +> ```yaml +> false +> ``` Create Prometheus ServiceMonitor resource for approver-policy. - -bool - -```yaml -false -``` - -
app.metrics.service.servicemonitor.prometheusInstance +#### **app.metrics.service.servicemonitor.prometheusInstance** ~ `string` +> Default value: +> ```yaml +> default +> ``` The value for the "prometheus" label on the ServiceMonitor. This allows for multiple Prometheus instances selecting difference ServiceMonitors using label selectors. - -string - -```yaml -default -``` - -
app.metrics.service.servicemonitor.interval +#### **app.metrics.service.servicemonitor.interval** ~ `string` +> Default value: +> ```yaml +> 10s +> ``` The interval that the Prometheus will scrape for metrics. - -string - -```yaml -10s -``` - -
app.metrics.service.servicemonitor.scrapeTimeout +#### **app.metrics.service.servicemonitor.scrapeTimeout** ~ `string` +> Default value: +> ```yaml +> 5s +> ``` The timeout on each metric probe request. - -string - -```yaml -5s -``` - -
app.metrics.service.servicemonitor.labels +#### **app.metrics.service.servicemonitor.labels** ~ `object` +> Default value: +> ```yaml +> {} +> ``` Additional labels to give the ServiceMonitor resource. - -object - -```yaml -{} -``` - -
app.readinessProbe.port +#### **app.readinessProbe.port** ~ `number` +> Default value: +> ```yaml +> 6060 +> ``` The container port to expose approver-policy HTTP readiness probe on default network interface. - -number - -```yaml -6060 -``` - -
app.webhook.host +#### **app.webhook.host** ~ `string` +> Default value: +> ```yaml +> 0.0.0.0 +> ``` The host that the webhook listens on. - -string - -```yaml -0.0.0.0 -``` - -
app.webhook.port +#### **app.webhook.port** ~ `number` +> Default value: +> ```yaml +> 10250 +> ``` The port that the webhook listens on. - -number - -```yaml -10250 -``` - -
app.webhook.timeoutSeconds +#### **app.webhook.timeoutSeconds** ~ `number` +> Default value: +> ```yaml +> 5 +> ``` The timeout of webhook HTTP request. - -number - -```yaml -5 -``` - -
app.webhook.service.type +#### **app.webhook.service.type** ~ `string` +> Default value: +> ```yaml +> ClusterIP +> ``` The type of Kubernetes Service used by the webhook. - -string - -```yaml -ClusterIP -``` - -
app.webhook.hostNetwork +#### **app.webhook.hostNetwork** ~ `bool` +> Default value: +> ```yaml +> false +> ``` Boolean value, expose pod on hostNetwork. Required when running a custom CNI in managed providers such as AWS EKS. For more information, see [AWS EKS](https://cert-manager.io/docs/installation/compatibility/#aws-eks). - -bool - -```yaml -false -``` - -
app.webhook.dnsPolicy +#### **app.webhook.dnsPolicy** ~ `string` +> Default value: +> ```yaml +> ClusterFirst +> ``` This value may need to be changed if `hostNetwork: true` - -string - -```yaml -ClusterFirst -``` - -
app.webhook.affinity +#### **app.webhook.affinity** ~ `object` +> Default value: +> ```yaml +> {} +> ``` A Kubernetes Affinity, if required. For more information, see [Affinity v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#affinity-v1-core). @@ -483,38 +226,18 @@ affinity: values: - master ``` - -object - -```yaml -{} -``` - -
app.webhook.nodeSelector +#### **app.webhook.nodeSelector** ~ `object` +> Default value: +> ```yaml +> {} +> ``` The nodeSelector on Pods tells Kubernetes to schedule Pods on the nodes with matching labels. For more information, see [Assigning Pods to Nodes](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/). - -object - -```yaml -{} -``` - -
app.webhook.tolerations +#### **app.webhook.tolerations** ~ `array` +> Default value: +> ```yaml +> [] +> ``` A list of Kubernetes Tolerations, if required. For more information, see [Toleration v1 core](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#toleration-v1-core). @@ -527,21 +250,11 @@ tolerations: value: master effect: NoSchedule ``` - -array - -```yaml -[] -``` - -
volumeMounts +#### **volumeMounts** ~ `array` +> Default value: +> ```yaml +> [] +> ``` Optional extra volume mounts. Useful for mounting custom root CAs. @@ -552,21 +265,11 @@ volumeMounts: - name: my-volume-mount mountPath: /etc/approver-policy/secrets ``` - -array - -```yaml -[] -``` - -
volumes +#### **volumes** ~ `array` +> Default value: +> ```yaml +> [] +> ``` Optional extra volumes. @@ -578,21 +281,11 @@ volumes: secret: secretName: my-secret ``` - -array - -```yaml -[] -``` - -
resources +#### **resources** ~ `object` +> Default value: +> ```yaml +> {} +> ``` Kubernetes pod resources. For more information, see [Resource Management for Pods and Containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/). @@ -608,51 +301,19 @@ resources: cpu: 100m memory: 128Mi ``` - -object - -```yaml -{} -``` - -
commonLabels +#### **commonLabels** ~ `object` +> Default value: +> ```yaml +> {} +> ``` Allow custom labels to be placed on resources - optional. - -object - -```yaml -{} -``` - -
podAnnotations +#### **podAnnotations** ~ `object` +> Default value: +> ```yaml +> {} +> ``` Allow custom annotations to be placed on cert-manager-approver pod - optional. -object - -```yaml -{} -``` - -
- \ No newline at end of file diff --git a/klone.yaml b/klone.yaml index 5a198306..23dd173d 100644 --- a/klone.yaml +++ b/klone.yaml @@ -10,60 +10,60 @@ targets: - folder_name: api-docs repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/api-docs - folder_name: boilerplate repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/boilerplate - folder_name: cert-manager repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/cert-manager - folder_name: controller-gen repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/controller-gen - folder_name: generate-verify repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/generate-verify - folder_name: helm repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/helm - folder_name: help repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/help - folder_name: kind repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/kind - folder_name: klone repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/klone - folder_name: oci-image repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/oci-image - folder_name: repository-base repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/repository-base - folder_name: tools repo_url: https://github.com/cert-manager/makefile-modules.git repo_ref: main - repo_hash: ffff9fc8a6472655604ca453b48753ffd27fc840 + repo_hash: 44ed034ae2fbd3192fb4373977eed94c9f252854 repo_path: modules/tools diff --git a/make/_shared/tools/00_mod.mk b/make/_shared/tools/00_mod.mk index f8112055..ad19f846 100644 --- a/make/_shared/tools/00_mod.mk +++ b/make/_shared/tools/00_mod.mk @@ -95,7 +95,7 @@ TOOLS += goreleaser=v1.23.0 # https://pkg.go.dev/github.com/anchore/syft/cmd/syft?tab=versions TOOLS += syft=v0.100.0 # https://github.com/cert-manager/helm-tool -TOOLS += helm-tool=v0.2.3 +TOOLS += helm-tool=v0.3.0 # https://pkg.go.dev/k8s.io/code-generator/cmd?tab=versions K8S_CODEGEN_VERSION=v0.29.1