From 60537ce557e960c9acd42721a18030c8f83de0c6 Mon Sep 17 00:00:00 2001 From: Artem Kajalainen Date: Thu, 10 Jan 2019 08:07:35 +0200 Subject: [PATCH] feat(helm chart): add priorityClassName option Signed-off-by: Artem Kajalainen --- deploy/chart/Chart.yaml | 2 +- deploy/chart/README.md | 1 + deploy/chart/templates/deployment.yaml | 3 +++ deploy/chart/values.yaml | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/deploy/chart/Chart.yaml b/deploy/chart/Chart.yaml index a9bc9c7e9..2b1b03b3c 100644 --- a/deploy/chart/Chart.yaml +++ b/deploy/chart/Chart.yaml @@ -1,5 +1,5 @@ name: cert-manager -version: v0.6.0-alpha.1 +version: v0.6.0-alpha.2 appVersion: v0.6.0-alpha.0 description: A Helm chart for cert-manager home: https://github.com/jetstack/cert-manager diff --git a/deploy/chart/README.md b/deploy/chart/README.md index 9ad16eeb2..59a9abad0 100644 --- a/deploy/chart/README.md +++ b/deploy/chart/README.md @@ -87,6 +87,7 @@ The following table lists the configurable parameters of the cert-manager chart | `podDnsPolicy` | Optional cert-manager pod [DNS policy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pods-dns-policy) | | | `podDnsConfig` | Optional cert-manager pod [DNS configurations](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pods-dns-config) | | | `podLabels` | Labels to add to the cert-manager pod | `{}` | +| `priorityClassName`| Priority class name for cert-manager pod | `""` | | `http_proxy` | Value of the `HTTP_PROXY` environment variable in the cert-manager pod | | | `https_proxy` | Value of the `HTTPS_PROXY` environment variable in the cert-manager pod | | | `no_proxy` | Value of the `NO_PROXY` environment variable in the cert-manager pod | | diff --git a/deploy/chart/templates/deployment.yaml b/deploy/chart/templates/deployment.yaml index cc30774a6..b9ad712fd 100644 --- a/deploy/chart/templates/deployment.yaml +++ b/deploy/chart/templates/deployment.yaml @@ -32,6 +32,9 @@ spec: {{- end }} spec: serviceAccountName: {{ template "cert-manager.serviceAccountName" . }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName | quote }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/deploy/chart/values.yaml b/deploy/chart/values.yaml index c8f6c9fe7..7fe775e53 100644 --- a/deploy/chart/values.yaml +++ b/deploy/chart/values.yaml @@ -65,6 +65,9 @@ podLabels: {} nodeSelector: {} +priorityClassName: "" + + ingressShim: {} # defaultIssuerName: "" # defaultIssuerKind: ""