-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
203 changed files
with
7,668 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
- name: ingress-nginx | ||
repository: https://kubernetes.github.io/ingress-nginx | ||
repository: file://./charts/ingress-nginx | ||
version: 4.11.3 | ||
digest: sha256:c1ab16f763d3eced319e2219971b069907ff7ad0a013d51642f26fcb7cb03a56 | ||
generated: "2024-10-21T15:29:13.494426+03:00" | ||
digest: sha256:ff7ed0c079230e383ec15a0250323236ecaaf321816ccbb8af1fc6b230a161ee | ||
generated: "2024-10-21T15:50:15.923046+03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
__snapshot__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
annotations: | ||
artifacthub.io/changes: | | ||
- Update Ingress-Nginx version controller-v1.11.3 | ||
artifacthub.io/prerelease: "false" | ||
apiVersion: v2 | ||
appVersion: 1.11.3 | ||
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and | ||
load balancer | ||
home: https://github.com/kubernetes/ingress-nginx | ||
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Nginx_logo.svg/500px-Nginx_logo.svg.png | ||
keywords: | ||
- ingress | ||
- nginx | ||
kubeVersion: '>=1.21.0-0' | ||
maintainers: | ||
- name: cpanato | ||
- name: Gacko | ||
- name: puerco | ||
- name: rikatz | ||
- name: strongjz | ||
- name: tao12345666333 | ||
name: ingress-nginx | ||
sources: | ||
- https://github.com/kubernetes/ingress-nginx | ||
version: 4.11.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# See the OWNERS docs: https://www.kubernetes.dev/docs/guide/owners | ||
|
||
approvers: | ||
- ingress-nginx-helm-maintainers | ||
|
||
reviewers: | ||
- ingress-nginx-helm-reviewers | ||
|
||
labels: | ||
- area/helm |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,229 @@ | ||
{{ template "chart.header" . }} | ||
[ingress-nginx](https://github.com/kubernetes/ingress-nginx) Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer | ||
|
||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }} | ||
|
||
To use, add `ingressClassName: nginx` spec field or the `kubernetes.io/ingress.class: nginx` annotation to your Ingress resources. | ||
|
||
This chart bootstraps an ingress-nginx deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
## Get Repo Info | ||
|
||
```console | ||
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx | ||
helm repo update | ||
``` | ||
|
||
## Install Chart | ||
|
||
**Important:** only helm3 is supported | ||
|
||
```console | ||
helm install [RELEASE_NAME] ingress-nginx/ingress-nginx | ||
``` | ||
|
||
The command deploys ingress-nginx on the Kubernetes cluster in the default configuration. | ||
|
||
_See [configuration](#configuration) below._ | ||
|
||
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ | ||
|
||
## Uninstall Chart | ||
|
||
```console | ||
helm uninstall [RELEASE_NAME] | ||
``` | ||
|
||
This removes all the Kubernetes components associated with the chart and deletes the release. | ||
|
||
_See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation._ | ||
|
||
## Upgrading Chart | ||
|
||
```console | ||
helm upgrade [RELEASE_NAME] [CHART] --install | ||
``` | ||
|
||
_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._ | ||
|
||
### Migrating from stable/nginx-ingress | ||
|
||
There are two main ways to migrate a release from `stable/nginx-ingress` to `ingress-nginx/ingress-nginx` chart: | ||
|
||
1. For Nginx Ingress controllers used for non-critical services, the easiest method is to [uninstall](#uninstall-chart) the old release and [install](#install-chart) the new one | ||
1. For critical services in production that require zero-downtime, you will want to: | ||
1. [Install](#install-chart) a second Ingress controller | ||
1. Redirect your DNS traffic from the old controller to the new controller | ||
1. Log traffic from both controllers during this changeover | ||
1. [Uninstall](#uninstall-chart) the old controller once traffic has fully drained from it | ||
|
||
Note that there are some different and upgraded configurations between the two charts, described by Rimas Mocevicius from JFrog in the "Upgrading to ingress-nginx Helm chart" section of [Migrating from Helm chart nginx-ingress to ingress-nginx](https://rimusz.net/migrating-to-ingress-nginx). As the `ingress-nginx/ingress-nginx` chart continues to update, you will want to check current differences by running [helm configuration](#configuration) commands on both charts. | ||
|
||
## Configuration | ||
|
||
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands: | ||
|
||
```console | ||
helm show values ingress-nginx/ingress-nginx | ||
``` | ||
|
||
### PodDisruptionBudget | ||
|
||
Note that the PodDisruptionBudget resource will only be defined if the replicaCount is greater than one, | ||
else it would make it impossible to evacuate a node. See [gh issue #7127](https://github.com/helm/charts/issues/7127) for more info. | ||
|
||
### Prometheus Metrics | ||
|
||
The Ingress-Nginx Controller can export Prometheus metrics, by setting `controller.metrics.enabled` to `true`. | ||
|
||
You can add Prometheus annotations to the metrics service using `controller.metrics.service.annotations`. | ||
Alternatively, if you use the Prometheus Operator, you can enable ServiceMonitor creation using `controller.metrics.serviceMonitor.enabled`. And set `controller.metrics.serviceMonitor.additionalLabels.release="prometheus"`. "release=prometheus" should match the label configured in the prometheus servicemonitor ( see `kubectl get servicemonitor prometheus-kube-prom-prometheus -oyaml -n prometheus`) | ||
|
||
### ingress-nginx nginx\_status page/stats server | ||
|
||
Previous versions of this chart had a `controller.stats.*` configuration block, which is now obsolete due to the following changes in Ingress-Nginx Controller: | ||
|
||
- In [0.16.1](https://github.com/kubernetes/ingress-nginx/blob/main/Changelog.md#0161), the vts (virtual host traffic status) dashboard was removed | ||
- In [0.23.0](https://github.com/kubernetes/ingress-nginx/blob/main/Changelog.md#0230), the status page at port 18080 is now a unix socket webserver only available at localhost. | ||
You can use `curl --unix-socket /tmp/nginx-status-server.sock http://localhost/nginx_status` inside the controller container to access it locally, or use the snippet from [nginx-ingress changelog](https://github.com/kubernetes/ingress-nginx/blob/main/Changelog.md#0230) to re-enable the http server | ||
|
||
### ExternalDNS Service Configuration | ||
|
||
Add an [ExternalDNS](https://github.com/kubernetes-sigs/external-dns) annotation to the LoadBalancer service: | ||
|
||
```yaml | ||
controller: | ||
service: | ||
annotations: | ||
external-dns.alpha.kubernetes.io/hostname: kubernetes-example.com. | ||
``` | ||
|
||
### AWS L7 ELB with SSL Termination | ||
|
||
Annotate the controller as shown in the [nginx-ingress l7 patch](https://github.com/kubernetes/ingress-nginx/blob/ab3a789caae65eec4ad6e3b46b19750b481b6bce/deploy/aws/l7/service-l7.yaml): | ||
|
||
```yaml | ||
controller: | ||
service: | ||
targetPorts: | ||
http: http | ||
https: http | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:XX-XXXX-X:XXXXXXXXX:certificate/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX | ||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http" | ||
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https" | ||
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '3600' | ||
``` | ||
|
||
### Additional Internal Load Balancer | ||
|
||
This setup is useful when you need both external and internal load balancers but don't want to have multiple ingress controllers and multiple ingress objects per application. | ||
|
||
By default, the ingress object will point to the external load balancer address, but if correctly configured, you can make use of the internal one if the URL you are looking up resolves to the internal load balancer's URL. | ||
|
||
You'll need to set both the following values: | ||
|
||
`controller.service.internal.enabled` | ||
`controller.service.internal.annotations` | ||
|
||
If one of them is missing the internal load balancer will not be deployed. Example you may have `controller.service.internal.enabled=true` but no annotations set, in this case no action will be taken. | ||
|
||
`controller.service.internal.annotations` varies with the cloud service you're using. | ||
|
||
Example for AWS: | ||
|
||
```yaml | ||
controller: | ||
service: | ||
internal: | ||
enabled: true | ||
annotations: | ||
# Create internal NLB | ||
service.beta.kubernetes.io/aws-load-balancer-scheme: "internal" | ||
# Create internal ELB(Deprecated) | ||
# service.beta.kubernetes.io/aws-load-balancer-internal: "true" | ||
# Any other annotation can be declared here. | ||
``` | ||
|
||
Example for GCE: | ||
|
||
```yaml | ||
controller: | ||
service: | ||
internal: | ||
enabled: true | ||
annotations: | ||
# Create internal LB. More information: https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balancing | ||
# For GKE versions 1.17 and later | ||
networking.gke.io/load-balancer-type: "Internal" | ||
# For earlier versions | ||
# cloud.google.com/load-balancer-type: "Internal" | ||
|
||
# Any other annotation can be declared here. | ||
``` | ||
|
||
Example for Azure: | ||
|
||
```yaml | ||
controller: | ||
service: | ||
annotations: | ||
# Create internal LB | ||
service.beta.kubernetes.io/azure-load-balancer-internal: "true" | ||
# Any other annotation can be declared here. | ||
``` | ||
|
||
Example for Oracle Cloud Infrastructure: | ||
|
||
```yaml | ||
controller: | ||
service: | ||
annotations: | ||
# Create internal LB | ||
service.beta.kubernetes.io/oci-load-balancer-internal: "true" | ||
# Any other annotation can be declared here. | ||
``` | ||
|
||
The load balancer annotations of more cloud service providers can be found: [Internal load balancer](https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer). | ||
|
||
An use case for this scenario is having a split-view DNS setup where the public zone CNAME records point to the external balancer URL while the private zone CNAME records point to the internal balancer URL. This way, you only need one ingress kubernetes object. | ||
|
||
Optionally you can set `controller.service.loadBalancerIP` if you need a static IP for the resulting `LoadBalancer`. | ||
|
||
### Ingress Admission Webhooks | ||
|
||
With nginx-ingress-controller version 0.25+, the Ingress-Nginx Controller pod exposes an endpoint that will integrate with the `validatingwebhookconfiguration` Kubernetes feature to prevent bad ingress from being added to the cluster. | ||
**This feature is enabled by default since 0.31.0.** | ||
|
||
With nginx-ingress-controller in 0.25.* work only with kubernetes 1.14+, 0.26 fix [this issue](https://github.com/kubernetes/ingress-nginx/pull/4521) | ||
|
||
#### How the Chart Configures the Hooks | ||
A validating and configuration requires the endpoint to which the request is sent to use TLS. It is possible to set up custom certificates to do this, but in most cases, a self-signed certificate is enough. The setup of this component requires some more complex orchestration when using helm. The steps are created to be idempotent and to allow turning the feature on and off without running into helm quirks. | ||
|
||
1. A pre-install hook provisions a certificate into the same namespace using a format compatible with provisioning using end user certificates. If the certificate already exists, the hook exits. | ||
2. The Ingress-Nginx Controller pod is configured to use a TLS proxy container, which will load that certificate. | ||
3. Validating and Mutating webhook configurations are created in the cluster. | ||
4. A post-install hook reads the CA from the secret created by step 1 and patches the Validating and Mutating webhook configurations. This process will allow a custom CA provisioned by some other process to also be patched into the webhook configurations. The chosen failure policy is also patched into the webhook configurations | ||
|
||
#### Alternatives | ||
It should be possible to use [cert-manager/cert-manager](https://github.com/cert-manager/cert-manager) if a more complete solution is required. | ||
|
||
You can enable automatic self-signed TLS certificate provisioning via cert-manager by setting the `controller.admissionWebhooks.certManager.enabled` value to true. | ||
|
||
Please ensure that cert-manager is correctly installed and configured. | ||
|
||
### Helm Error When Upgrading: spec.clusterIP: Invalid value: "" | ||
|
||
If you are upgrading this chart from a version between 0.31.0 and 1.2.2 then you may get an error like this: | ||
|
||
```console | ||
Error: UPGRADE FAILED: Service "?????-controller" is invalid: spec.clusterIP: Invalid value: "": field is immutable | ||
``` | ||
|
||
Detail of how and why are in [this issue](https://github.com/helm/charts/pull/13646) but to resolve this you can set `xxxx.service.omitClusterIP` to `true` where `xxxx` is the service referenced in the error. | ||
|
||
As of version `1.26.0` of this chart, by simply not providing any clusterIP value, `invalid: spec.clusterIP: Invalid value: "": field is immutable` will no longer occur since `clusterIP: ""` will not be rendered. | ||
|
||
{{ template "chart.valuesSection" . }} |
9 changes: 9 additions & 0 deletions
9
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.10.0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.10.0 | ||
|
||
* [#5843](https://github.com/kubernetes/ingress-nginx/pull/5843) Update jettech/kube-webhook-certgen image | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.9.1...ingress-nginx-2.10.0 |
10 changes: 10 additions & 0 deletions
10
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.11.0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.11.0 | ||
|
||
* [#5879](https://github.com/kubernetes/ingress-nginx/pull/5879) Update helm chart for v0.34.0 | ||
* [#5671](https://github.com/kubernetes/ingress-nginx/pull/5671) Make liveness probe more fault tolerant than readiness probe | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.10.0...ingress-nginx-2.11.0 |
9 changes: 9 additions & 0 deletions
9
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.11.1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.11.1 | ||
|
||
* [#5900](https://github.com/kubernetes/ingress-nginx/pull/5900) Release helm chart for v0.34.1 | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.11.0...ingress-nginx-2.11.1 |
9 changes: 9 additions & 0 deletions
9
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.11.2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.11.2 | ||
|
||
* [#5951](https://github.com/kubernetes/ingress-nginx/pull/5951) Bump chart patch version | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.11.1...ingress-nginx-2.11.2 |
9 changes: 9 additions & 0 deletions
9
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.11.3.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.11.3 | ||
|
||
* [#6038](https://github.com/kubernetes/ingress-nginx/pull/6038) Bump chart version PATCH | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.11.2...ingress-nginx-2.11.3 |
10 changes: 10 additions & 0 deletions
10
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.12.0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.12.0 | ||
|
||
* [#6039](https://github.com/kubernetes/ingress-nginx/pull/6039) Add configurable serviceMonitor metricRelabelling and targetLabels | ||
* [#6044](https://github.com/kubernetes/ingress-nginx/pull/6044) Fix YAML linting | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.11.3...ingress-nginx-2.12.0 |
9 changes: 9 additions & 0 deletions
9
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.12.1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.12.1 | ||
|
||
* [#6075](https://github.com/kubernetes/ingress-nginx/pull/6075) Sync helm chart affinity examples | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.12.0...ingress-nginx-2.12.1 |
10 changes: 10 additions & 0 deletions
10
charts/keep/charts/ingress-nginx/changelog/helm-chart-2.13.0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
This file documents all notable changes to [ingress-nginx](https://github.com/kubernetes/ingress-nginx) Helm Chart. The release numbering uses [semantic versioning](http://semver.org). | ||
|
||
### 2.13.0 | ||
|
||
* [#6093](https://github.com/kubernetes/ingress-nginx/pull/6093) Release v0.35.0 | ||
* [#6080](https://github.com/kubernetes/ingress-nginx/pull/6080) Switch images to k8s.gcr.io after Vanity Domain Flip | ||
|
||
**Full Changelog**: https://github.com/kubernetes/ingress-nginx/compare/ingress-nginx-2.12.1...ingress-nginx-2.13.0 |
Oops, something went wrong.