Skip to content

Commit 1f778a2

Browse files
committed
update the cert-manager chart with upstream chart 1.6.0
Commands run: # From the jetstack-secure-gcm repo. cd chart/jetstack-secure-gcm/charts/ rm -rf cert-manager helm pull jetstack/cert-manager --version 1.6.0 --untar find cert-manager -type f -print0 | xargs -0 perl -i~ -pe 's/app\.kubernetes\.io\/name:(.*\")[a-z-._]+\.name(\".*)/app.kubernetes.io\/name:$1cert-manager.name$2/g' find cert-manager -type f -print0 | xargs -0 perl -i~ -nle 'print if !/^ *app:/' and then, do: git add -p and make sure not to remove any ubbagent-specific stuff. Signed-off-by: Maël Valais <[email protected]>
1 parent ed6d997 commit 1f778a2

17 files changed

Lines changed: 356 additions & 140 deletions

chart/jetstack-secure-gcm/charts/cert-manager/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
artifacthub.io/prerelease: "false"
33
apiVersion: v1
4-
appVersion: v1.5.3
4+
appVersion: v1.6.0
55
description: A Helm chart for cert-manager
66
home: https://github.com/jetstack/cert-manager
77
icon: https://raw.githubusercontent.com/jetstack/cert-manager/master/logo/logo.png
@@ -16,4 +16,4 @@ maintainers:
1616
name: cert-manager
1717
sources:
1818
- https://github.com/jetstack/cert-manager
19-
version: v1.5.3
19+
version: v1.6.0

chart/jetstack-secure-gcm/charts/cert-manager/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Before installing the chart, you must first install the cert-manager CustomResou
1919
This is performed in a separate step to allow you to easily uninstall and reinstall cert-manager without deleting your installed custom resources.
2020

2121
```bash
22-
$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.crds.yaml
22+
$ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.0/cert-manager.crds.yaml
2323
```
2424

2525
To install the chart with the release name `my-release`:
@@ -29,7 +29,7 @@ To install the chart with the release name `my-release`:
2929
$ helm repo add jetstack https://charts.jetstack.io
3030

3131
## Install the cert-manager helm chart
32-
$ helm install my-release --namespace cert-manager --version v1.5.3 jetstack/cert-manager
32+
$ helm install my-release --namespace cert-manager --version v1.6.0 jetstack/cert-manager
3333
```
3434

3535
In order to begin issuing certificates, you will need to set up a ClusterIssuer
@@ -65,7 +65,7 @@ If you want to completely uninstall cert-manager from your cluster, you will als
6565
delete the previously installed CustomResourceDefinition resources:
6666

6767
```console
68-
$ kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.crds.yaml
68+
$ kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v1.6.0/cert-manager.crds.yaml
6969
```
7070

7171
## Configuration
@@ -85,7 +85,7 @@ The following table lists the configurable parameters of the cert-manager chart
8585
| `global.leaderElection.retryPeriod` | The duration the clients should wait between attempting acquisition and renewal of a leadership | |
8686
| `installCRDs` | If true, CRD resources will be installed as part of the Helm chart. If enabled, when uninstalling CRD resources will be deleted causing all installed custom resources to be DELETED | `false` |
8787
| `image.repository` | Image repository | `quay.io/jetstack/cert-manager-controller` |
88-
| `image.tag` | Image tag | `v1.5.3` |
88+
| `image.tag` | Image tag | `v1.6.0` |
8989
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
9090
| `replicaCount` | Number of cert-manager replicas | `1` |
9191
| `clusterResourceNamespace` | Override the namespace used to store DNS provider credentials etc. for ClusterIssuer resources | Same namespace as cert-manager pod |
@@ -123,6 +123,7 @@ The following table lists the configurable parameters of the cert-manager chart
123123
| `podDnsConfig` | Optional cert-manager pod [DNS configurations](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pods-dns-config) | |
124124
| `podLabels` | Labels to add to the cert-manager pod | `{}` |
125125
| `serviceLabels` | Labels to add to the cert-manager controller service | `{}` |
126+
| `serviceAnnotations` | Annotations to add to the cert-manager service | `{}` |
126127
| `http_proxy` | Value of the `HTTP_PROXY` environment variable in the cert-manager pod | |
127128
| `https_proxy` | Value of the `HTTPS_PROXY` environment variable in the cert-manager pod | |
128129
| `no_proxy` | Value of the `NO_PROXY` environment variable in the cert-manager pod | |
@@ -134,6 +135,7 @@ The following table lists the configurable parameters of the cert-manager chart
134135
| `webhook.deploymentAnnotations` | Annotations to add to the webhook deployment | `{}` |
135136
| `webhook.mutatingWebhookConfigurationAnnotations` | Annotations to add to the mutating webhook configuration | `{}` |
136137
| `webhook.validatingWebhookConfigurationAnnotations` | Annotations to add to the validating webhook configuration | `{}` |
138+
| `webhook.serviceAnnotations` | Annotations to add to the webhook service | `{}` |
137139
| `webhook.extraArgs` | Optional flags for cert-manager webhook component | `[]` |
138140
| `webhook.serviceAccount.create` | If `true`, create a new service account for the webhook component | `true` |
139141
| `webhook.serviceAccount.name` | Service account for the webhook component to be used. If not set and `webhook.serviceAccount.create` is `true`, a name is generated using the fullname template | |
@@ -144,7 +146,7 @@ The following table lists the configurable parameters of the cert-manager chart
144146
| `webhook.affinity` | Node affinity for webhook pod assignment | `{}` |
145147
| `webhook.tolerations` | Node tolerations for webhook pod assignment | `[]` |
146148
| `webhook.image.repository` | Webhook image repository | `quay.io/jetstack/cert-manager-webhook` |
147-
| `webhook.image.tag` | Webhook image tag | `v1.5.3` |
149+
| `webhook.image.tag` | Webhook image tag | `v1.6.0` |
148150
| `webhook.image.pullPolicy` | Webhook image pull policy | `IfNotPresent` |
149151
| `webhook.securePort` | The port that the webhook should listen on for requests. | `10250` |
150152
| `webhook.securityContext` | Security context for webhook pod assignment | `{}` |
@@ -178,7 +180,7 @@ The following table lists the configurable parameters of the cert-manager chart
178180
| `cainjector.affinity` | Node affinity for cainjector pod assignment | `{}` |
179181
| `cainjector.tolerations` | Node tolerations for cainjector pod assignment | `[]` |
180182
| `cainjector.image.repository` | cainjector image repository | `quay.io/jetstack/cert-manager-cainjector` |
181-
| `cainjector.image.tag` | cainjector image tag | `v1.5.3` |
183+
| `cainjector.image.tag` | cainjector image tag | `v1.6.0` |
182184
| `cainjector.image.pullPolicy` | cainjector image pull policy | `IfNotPresent` |
183185
| `cainjector.securityContext` | Security context for cainjector pod assignment | `{}` |
184186
| `cainjector.containerSecurityContext` | Security context to be set on cainjector component container | `{}` |
@@ -195,7 +197,7 @@ The following table lists the configurable parameters of the cert-manager chart
195197
| `startupapicheck.tolerations` | Node tolerations for startupapicheck pod assignment | `[]` |
196198
| `startupapicheck.podLabels` | Optional additional labels to add to the startupapicheck Pods | `{}` |
197199
| `startupapicheck.image.repository` | startupapicheck image repository | `quay.io/jetstack/cert-manager-ctl` |
198-
| `startupapicheck.image.tag` | startupapicheck image tag | `v1.5.3` |
200+
| `startupapicheck.image.tag` | startupapicheck image tag | `v1.6.0` |
199201
| `startupapicheck.image.pullPolicy` | startupapicheck image pull policy | `IfNotPresent` |
200202
| `startupapicheck.serviceAccount.create` | If `true`, create a new service account for the startupapicheck component | `true` |
201203
| `startupapicheck.serviceAccount.name` | Service account for the startupapicheck component to be used. If not set and `startupapicheck.serviceAccount.create` is `true`, a name is generated using the fullname template | |

chart/jetstack-secure-gcm/charts/cert-manager/templates/_helpers.tpl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ Create the name of the service account to use
3838
Webhook templates
3939
*/}}
4040

41+
{{/*
42+
Expand the name of the chart.
43+
Manually fix the 'app' and 'name' labels to 'webhook' to maintain
44+
compatibility with the v0.9 deployment selector.
45+
*/}}
46+
{{- define "webhook.name" -}}
47+
{{- printf "webhook" -}}
48+
{{- end -}}
49+
4150
{{/*
4251
Create a default fully qualified app name.
4352
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
@@ -67,6 +76,15 @@ Create the name of the service account to use
6776
cainjector templates
6877
*/}}
6978

79+
{{/*
80+
Expand the name of the chart.
81+
Manually fix the 'app' and 'name' labels to 'cainjector' to maintain
82+
compatibility with the v0.9 deployment selector.
83+
*/}}
84+
{{- define "cainjector.name" -}}
85+
{{- printf "cainjector" -}}
86+
{{- end -}}
87+
7088
{{/*
7189
Create a default fully qualified app name.
7290
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).

0 commit comments

Comments
 (0)