mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Adding the option the set deployment annotations (#19458)
* Adding the option the set deployment annotations Signed-off-by: Elad Kaplan <kaplan.elad@gmail.com> * Bump version to 1.27.0 Signed-off-by: Elad Kaplan <kaplan.elad@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
24a110fa18
commit
183392a17f
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: nginx-ingress
|
||||
version: 1.26.2
|
||||
version: 1.27.0
|
||||
appVersion: 0.26.1
|
||||
home: https://github.com/kubernetes/ingress-nginx
|
||||
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
|
||||
|
||||
@@ -69,6 +69,7 @@ Parameter | Description | Default
|
||||
`controller.scope.namespace` | namespace to watch for ingress | `""` (use the release namespace)
|
||||
`controller.extraArgs` | Additional controller container arguments | `{}`
|
||||
`controller.kind` | install as Deployment, DaemonSet or Both | `Deployment`
|
||||
`controller.deploymentAnnotations` | annotations to be added to deployment | `{}`
|
||||
`controller.autoscaling.enabled` | If true, creates Horizontal Pod Autoscaler | false
|
||||
`controller.autoscaling.minReplicas` | If autoscaling enabled, this field sets minimum replica count | `2`
|
||||
`controller.autoscaling.maxReplicas` | If autoscaling enabled, this field sets maximum replica count | `11`
|
||||
|
||||
@@ -11,6 +11,8 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: {{ template "nginx-ingress.controller.fullname" . }}
|
||||
annotations:
|
||||
{{ toYaml .Values.controller.deploymentAnnotations | indent 4}}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -9,6 +9,8 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: {{ template "nginx-ingress.controller.fullname" . }}
|
||||
annotations:
|
||||
{{ toYaml .Values.controller.deploymentAnnotations | indent 4}}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
||||
@@ -118,6 +118,10 @@ controller:
|
||||
##
|
||||
kind: Deployment
|
||||
|
||||
## Annotations to be added to the controller deployment
|
||||
##
|
||||
deploymentAnnotations: {}
|
||||
|
||||
# The update strategy to apply to the Deployment or DaemonSet
|
||||
##
|
||||
updateStrategy: {}
|
||||
|
||||
Reference in New Issue
Block a user