File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
deploy/charts/approver-policy Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ A Helm chart for cert-manager-approver-policy
3939| app.webhook.service | object | ` {"type":"ClusterIP"} ` | Type of Kubernetes Service used by the Webhook |
4040| app.webhook.timeoutSeconds | int | ` 5 ` | Timeout of webhook HTTP request. |
4141| app.webhook.tolerations | list | ` [] ` | https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |
42+ | commonLabels | object | ` {} ` | Optional allow custom labels to be placed on resources |
4243| image.pullPolicy | string | ` "IfNotPresent" ` | Kubernetes imagePullPolicy on Deployment. |
4344| image.repository | string | ` "quay.io/jetstack/cert-manager-approver-policy" ` | Target image repository. |
4445| image.tag | string | ` "" ` | Target image version tag (if empty, Chart AppVersion will be used) |
Original file line number Diff line number Diff line change @@ -23,4 +23,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
2323app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
2424{ {- end } }
2525app.kubernetes.io/managed-by: { { .Release.Service } }
26+ { {- if .Values.commonLabels} }
27+ { { toYaml .Values.commonLabels } }
28+ { {- end } }
2629{ {- end -} }
Original file line number Diff line number Diff line change 1414 metadata :
1515 labels :
1616 app : {{ include "cert-manager-approver-policy.name" . }}
17+ {{- include "cert-manager-approver-policy.labels" . | nindent 8 }}
1718 spec :
1819 {{- with .Values.imagePullSecrets }}
1920 imagePullSecrets :
Original file line number Diff line number Diff line change @@ -95,3 +95,7 @@ resources: {}
9595 # requests:
9696 # cpu: 100m
9797 # memory: 128Mi
98+
99+ # -- Optional allow custom labels to be placed on resources
100+ commonLabels : {}
101+
You can’t perform that action at this time.
0 commit comments