diff --git a/stable/nginx-ingress/Chart.yaml b/stable/nginx-ingress/Chart.yaml index 6af0932a84..739c39e049 100644 --- a/stable/nginx-ingress/Chart.yaml +++ b/stable/nginx-ingress/Chart.yaml @@ -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. diff --git a/stable/nginx-ingress/README.md b/stable/nginx-ingress/README.md index f96aa538d3..c73e967077 100644 --- a/stable/nginx-ingress/README.md +++ b/stable/nginx-ingress/README.md @@ -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` diff --git a/stable/nginx-ingress/templates/controller-daemonset.yaml b/stable/nginx-ingress/templates/controller-daemonset.yaml index 1f1117853d..97da1451d5 100644 --- a/stable/nginx-ingress/templates/controller-daemonset.yaml +++ b/stable/nginx-ingress/templates/controller-daemonset.yaml @@ -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: diff --git a/stable/nginx-ingress/templates/controller-deployment.yaml b/stable/nginx-ingress/templates/controller-deployment.yaml index 7f52c69452..398ceb953e 100644 --- a/stable/nginx-ingress/templates/controller-deployment.yaml +++ b/stable/nginx-ingress/templates/controller-deployment.yaml @@ -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: diff --git a/stable/nginx-ingress/values.yaml b/stable/nginx-ingress/values.yaml index 185cfdb857..5cad7ac1e5 100644 --- a/stable/nginx-ingress/values.yaml +++ b/stable/nginx-ingress/values.yaml @@ -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: {}