Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gauravkghildiyal/ingress-nginx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: kubernetes/ingress-nginx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Jun 30, 2022

  1. Copy the full SHA
    9dd1029 View commit details

Commits on Jul 1, 2022

  1. Copy the full SHA
    6ec4250 View commit details

Commits on Jul 2, 2022

  1. Bump github/codeql-action from 1.0.26 to 2.1.14 (kubernetes#8765)

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 authored Jul 2, 2022
    Copy the full SHA
    ed93b70 View commit details
  2. Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (kubernetes#8752)

    Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
    - [Release notes](https://github.com/spf13/cobra/releases)
    - [Commits](spf13/cobra@v1.4.0...v1.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/spf13/cobra
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2022
    Copy the full SHA
    7b1547e View commit details
  3. Bump github/codeql-action from 2.1.14 to 2.1.15 (kubernetes#8773)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.14 to 2.1.15.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@41a4ada...3f62b75)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2022
    Copy the full SHA
    fda73c9 View commit details
  4. Bump ossf/scorecard-action from 1.1.1 to 1.1.2 (kubernetes#8772)

    Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.1 to 1.1.2.
    - [Release notes](https://github.com/ossf/scorecard-action/releases)
    - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
    - [Commits](ossf/scorecard-action@3e15ea8...ce330fd)
    
    ---
    updated-dependencies:
    - dependency-name: ossf/scorecard-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2022
    Copy the full SHA
    0f3c1f7 View commit details
  5. Copy the full SHA
    653f1e8 View commit details
  6. Update deploy.yaml (kubernetes#8365)

    * Update deploy.yaml
    
    Removed the *service.beta.kubernetes.io/exoscale-loadbalancer-name* annotation so it uses service UID by default.
    It thus removes the current limitation that prevent the installation of several ingress nginx controllers on different clusters belonging to the same organization.
    
    * Removing default loadbalancer name
    lucj authored Jul 2, 2022
    Copy the full SHA
    d193c32 View commit details

Commits on Jul 3, 2022

  1. Update docs to make it easier for noobs to follow step by step (kuber…

    …netes#8738)
    
    * Change helm release name in docs
    
    Following step by step instructions in readme I ran into error:
    Error: release: not found
    
    And realized the commandline was differnent from description.  Let
    change description to match commandline?
    
    * Fix verb tense in docs
    taylormonacelli authored Jul 3, 2022
    Copy the full SHA
    23cc900 View commit details
  2. Remove stable (kubernetes#8775)

    * update stable.txt
    
    * remove stable.txt since kind doesnt need it
    strongjz authored Jul 3, 2022
    Copy the full SHA
    7b832da View commit details

Commits on Jul 4, 2022

  1. chore: remove stable.txt from release process (kubernetes#8778)

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 authored Jul 4, 2022
    Copy the full SHA
    fb3b288 View commit details
  2. Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (kubernetes#8781)

    Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
    - [Release notes](https://github.com/stretchr/testify/releases)
    - [Commits](stretchr/testify@v1.7.5...v1.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/testify
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 4, 2022
    Copy the full SHA
    193b461 View commit details

Commits on Jul 6, 2022

  1. Copy the full SHA
    596712b View commit details

Commits on Jul 8, 2022

  1. Copy the full SHA
    8baac42 View commit details
  2. Update nginx base image in one place (kubernetes#8400)

    * update files to use one base image file
    
    Signed-off-by: James Strong <strong.james.e@gmail.com>
    
    * add chart test as well
    
    Signed-off-by: James Strong <strong.james.e@gmail.com>
    
    * update e2e-test image building
    
    Signed-off-by: James Strong <strong.james.e@gmail.com>
    
    * update e2e base image arg
    
    Signed-off-by: James Strong <strong.james.e@gmail.com>
    
    * add current e2e so test run
    
    Signed-off-by: James Strong <strong.james.e@gmail.com>
    
    * working on fixing build
    
    * getting dev-env and make release to work
    
    * test
    
    * i think buildx is working on mac
    
    * updates
    
    * why docker for mac and linux cli differ
    
    * fix target arch
    
    * fix target arch
    
    * fix loag issue
    
    * fix issue
    
    * update the chroot docker file
    
    * fix docker base build
    
    * mac is the issue
    
    * env not getting to the e2e deployment.go file
    
    * fix pull issue
    
    * fix pull issue
    
    * move test scripts into test folder
    
    * clean up ci
    
    * updates for PR
    
    * remove unnesscary var
    strongjz authored Jul 8, 2022
    Copy the full SHA
    e1a16f6 View commit details

Commits on Jul 9, 2022

  1. feat: migrate leaderelection lock to leases (kubernetes#8733)

    * feat: migrate leaderelection lock to leases
    
    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    
    * Update RBAC
    
    Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com>
    tao12345666333 and shafeeqes authored Jul 9, 2022
    Copy the full SHA
    cf4dca8 View commit details
  2. Copy the full SHA
    60b7143 View commit details

Commits on Jul 10, 2022

  1. Copy the full SHA
    9325819 View commit details

Commits on Jul 11, 2022

  1. Copy the full SHA
    8f6c2e6 View commit details
  2. Copy the full SHA
    97c45fa View commit details
  3. Copy the full SHA
    23b0735 View commit details
  4. chore: start v1.3.0 release process (kubernetes#8802)

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 authored Jul 11, 2022
    Copy the full SHA
    caac91c View commit details
  5. Copy the full SHA
    771ce1c View commit details
  6. Bump k8s.io/klog/v2 from 2.60.1 to 2.70.1 (kubernetes#8805)

    Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.60.1 to 2.70.1.
    - [Release notes](https://github.com/kubernetes/klog/releases)
    - [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
    - [Commits](kubernetes/klog@v2.60.1...v2.70.1)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/klog/v2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 11, 2022
    Copy the full SHA
    c41440f View commit details
  7. Copy the full SHA
    2b7b748 View commit details

Commits on Jul 12, 2022

  1. Release v1.3.0 (kubernetes#8811)

    * Release v1.3.0
    
    * Update charts/ingress-nginx/CHANGELOG.md
    
    Co-authored-by: Jintao Zhang <tao12345666333@163.com>
    
    * Update charts/ingress-nginx/README.md
    
    * Update Changelog.md
    
    Co-authored-by: Jintao Zhang <tao12345666333@163.com>
    
    Co-authored-by: James Strong <strong.james.e@gmail.com>
    Co-authored-by: Jintao Zhang <tao12345666333@163.com>
    3 people authored Jul 12, 2022
    Copy the full SHA
    e222b74 View commit details

Commits on Jul 13, 2022

  1. Fixed typo (kubernetes#8817)

    mtnezm authored Jul 13, 2022
    Copy the full SHA
    64efad8 View commit details
  2. fix(docs): describe MetalLB configuration via CRDs rather than config…

    …Map (kubernetes#8821)
    
    Signed-off-by: Philipp Born <mail@philipp-born.eu>
    tamcore authored Jul 13, 2022
    Copy the full SHA
    2843bb2 View commit details

Commits on Jul 17, 2022

  1. feat: update mimalloc to 1.7.6 (kubernetes#8827)

    Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
    guilhem authored Jul 17, 2022
    Copy the full SHA
    0049796 View commit details

Commits on Jul 18, 2022

  1. Copy the full SHA
    1ebb689 View commit details
  2. Bump actions/setup-go from 3.2.0 to 3.2.1 (kubernetes#8835)

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.0 to 3.2.1.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@b22fbbc...84cbf80)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 18, 2022
    Copy the full SHA
    cdd69d0 View commit details
  3. Bump actions/dependency-review-action from 2.0.2 to 2.0.4 (kubernetes…

    …#8836)
    
    Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2.0.2 to 2.0.4.
    - [Release notes](https://github.com/actions/dependency-review-action/releases)
    - [Commits](actions/dependency-review-action@1c59cdf...94145f3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/dependency-review-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 18, 2022
    Copy the full SHA
    c3d4331 View commit details
  4. Bump github.com/prometheus/common from 0.35.0 to 0.37.0 (kubernetes#8832

    )
    
    Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.35.0 to 0.37.0.
    - [Release notes](https://github.com/prometheus/common/releases)
    - [Commits](prometheus/common@v0.35.0...v0.37.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/prometheus/common
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 18, 2022
    Copy the full SHA
    047aa18 View commit details
  5. Bump github/codeql-action from 2.1.15 to 2.1.16 (kubernetes#8837)

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.15 to 2.1.16.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@3f62b75...3e7e3b3)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 18, 2022
    Copy the full SHA
    476be77 View commit details
  6. Bump google.golang.org/grpc from 1.47.0 to 1.48.0 (kubernetes#8833)

    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.47.0 to 1.48.0.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.47.0...v1.48.0)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 18, 2022
    Copy the full SHA
    20596f7 View commit details

Commits on Jul 19, 2022

  1. fix: test-runner Makefile (kubernetes#8840)

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 authored Jul 19, 2022
    Copy the full SHA
    e55e848 View commit details

Commits on Jul 20, 2022

  1. Copy the full SHA
    ac3c338 View commit details
  2. Copy the full SHA
    8f9df54 View commit details
  3. Decouple shared functions between controllers (kubernetes#8829)

    * Decouple shared functions between controllers
    
    * Apply suggestions from code review
    
    Co-authored-by: Jintao Zhang <tao12345666333@163.com>
    
    * Fix package names and fmt
    
    Co-authored-by: Jintao Zhang <tao12345666333@163.com>
    rikatz and tao12345666333 authored Jul 20, 2022
    Copy the full SHA
    4c6a7ee View commit details

Commits on Jul 21, 2022

  1. Copy the full SHA
    0cc43d5 View commit details
  2. Copy the full SHA
    7304086 View commit details
  3. Move TCPProxy to pkg

    rikatz committed Jul 21, 2022
    Copy the full SHA
    32d06d4 View commit details
  4. Merge pull request kubernetes#8853 from rikatz/move-more-utils

    Move utils to better locations to help in decoupling
    strongjz authored Jul 21, 2022
    Copy the full SHA
    4391474 View commit details

Commits on Jul 22, 2022

  1. Copy the full SHA
    c86d50e View commit details
  2. Copy the full SHA
    a581a7b View commit details

Commits on Jul 23, 2022

  1. Copy the full SHA
    f0ff7e8 View commit details
  2. update dd-opentracing-cpp version in nginx build script (kubernetes#8848

    )
    
    * update dd-opentracing-cpp version in nginx build script
    
    * idiomatic placement of "v" prefix in Datadog plugin version tag
    dgoffredo authored Jul 23, 2022
    Copy the full SHA
    18ee046 View commit details

Commits on Jul 24, 2022

  1. Copy the full SHA
    c5766dc View commit details
  2. Copy the full SHA
    1c03a88 View commit details
  3. fix: test-runner prow build

    Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
    tao12345666333 committed Jul 24, 2022
    Copy the full SHA
    423008b View commit details
Showing 1,044 changed files with 101,932 additions and 101,471 deletions.
8 changes: 0 additions & 8 deletions .codecov.yml

This file was deleted.

20 changes: 12 additions & 8 deletions images/opentelemetry/rootfs/init_module.sh → .ct.yaml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh

# Copyright 2021 The Kubernetes Authors.
# Copyright 2024 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,10 +11,16 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
remote: origin
target-branch: main

validate-maintainers: false
check-version-increment: false

set -o errexit
set -o nounset
set -o pipefail
chart-repos:
- ingress-nginx=https://kubernetes.github.io/ingress-nginx
helm-extra-args: --timeout 800s

mkdir -p /modules_mount/etc/nginx/modules
cp -R /etc/nginx/modules /modules_mount/etc/nginx/modules
chart-dirs:
- charts
Empty file added .gcloudignore
Empty file.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ This questions are the first thing we need to know to understand the context.
<!-- What do you think went wrong? -->


**NGINX Ingress controller version** (exec into the pod and run nginx-ingress-controller --version.):
**NGINX Ingress controller version** (exec into the pod and run `/nginx-ingress-controller --version`):
<!--
POD_NAMESPACE=ingress-nginx
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app.kubernetes.io/name=ingress-nginx --field-selector=status.phase=Running -o jsonpath='{.items[0].metadata.name}')
@@ -60,7 +60,7 @@ kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --vers

- **How was the ingress-nginx-controller installed**:
- If helm was used then please show output of `helm ls -A | grep -i ingress`
- If helm was used then please show output of `helm -n <ingresscontrollernamepspace> get values <helmreleasename>`
- If helm was used then please show output of `helm -n <ingresscontrollernamespace> get values <helmreleasename>`
- If helm was not used, then copy/paste the complete precise command used to install the controller, along with the flags and options used
- if you have more than one instance of the ingress-nginx-controller installed in the same cluster, please provide details for all the instances

@@ -71,7 +71,7 @@ kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --vers
- `kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>`

- **Current state of ingress object, if applicable**:
- `kubectl -n <appnnamespace> get all,ing -o wide`
- `kubectl -n <appnamespace> get all,ing -o wide`
- `kubectl -n <appnamespace> describe ing <ingressname>`
- If applicable, then, your complete and exact curl/grpcurl command (redacted if required) and the reponse to the curl/grpcurl command with the -v flag

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/cve_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: CVE Finding Report
about: CVE reporting for ingress-nginx
title: ''
labels: kind/bug
assignees:
- Gacko
- strongjz
---

<!-- if you found something that impacts directly ingress-nginx and
is not a public CVE yet, please reach out security@kubernetes.io" -->

<!-- What scanner and version reported the CVE? -->

<!-- What CVE was reported in the scanner findings? -->

<!-- What versions of the controller did you test with? -->

<!-- Please provider other details that will help us determine the severity of the issue -->
14 changes: 1 addition & 13 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -7,18 +7,6 @@ assignees: ''

---

<!--
Welcome to ingress-nginx! For a smooth feature request process, try to
answer the following questions. Don't worry if they're not all applicable; just
try to include what you can :-)
If you need to include code snippets or logs, please put them in fenced code
blocks. If they're super-long, please use the details tag like
<details><summary>super-long log</summary> lots of stuff </details>
-->

<!-- What do you want to happen? -->

<!-- Is there currently another issue associated with this? -->
@@ -30,4 +18,4 @@ blocks. If they're super-long, please use the details tag like
<!--
/kind documentation
/remove-kind feature
-->
-->
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--- Provide a general summary of your changes in the Title above --->
<!--- Please don't @-mention people in PR or commit messages (do so in an additional comment). --->
<!--- Please make sure you title is descriptive, it is used in the Release notes to let others know what it does --->

## What this PR does / why we need it:
<!--- Why is this change required? What problem does it solve? -->
@@ -9,6 +10,7 @@
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] CVE Report (Scanner found CVE and adding report)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation only

@@ -30,5 +32,5 @@ fixes #
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I've read the [CONTRIBUTION](https://github.com/kubernetes/ingress-nginx/blob/main/CONTRIBUTING.md) guide
- [ ] I have added tests to cover my changes.
- [ ] I have added unit and/or e2e tests to cover my changes.
- [ ] All new and existing tests passed.
4 changes: 1 addition & 3 deletions .github/actions/mkdocs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM squidfunk/mkdocs-material:6.2.4

RUN pip install mkdocs-awesome-pages-plugin
FROM squidfunk/mkdocs-material:9.4.5

COPY action.sh /action.sh

2 changes: 1 addition & 1 deletion .github/actions/mkdocs/action.sh
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@

set -e

REQUIREMENTS="${GITHUB_WORKSPACE}/requirements.txt"
REQUIREMENTS="${GITHUB_WORKSPACE}/docs/requirements.txt"

if [ -f "${REQUIREMENTS}" ]; then
pip install -r "${REQUIREMENTS}"
42 changes: 37 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,43 @@
---
version: 2
updates:
- package-ecosystem: "gomod"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"
groups:
actions:
update-types:
- "minor"
- "patch"
- package-ecosystem: "docker"
directories:
- "**/rootfs"
schedule:
interval: "weekly"
interval: "weekly"
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"
groups:
docker:
update-types:
- "minor"
- "patch"
- package-ecosystem: "gomod"
directories:
- "/"
- "**/rootfs"
schedule:
interval: "weekly"
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"
groups:
go:
update-types:
- "patch"
64 changes: 64 additions & 0 deletions .github/workflows/chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Chart

on:
push:
branches:
- main
- release-*
paths:
- charts/ingress-nginx/Chart.yaml

workflow_dispatch:

permissions:
contents: read

jobs:
release:
name: Release
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: 3.x

- name: Set up Helm
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0

- name: Set up Helm Chart Testing
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0

- name: Set up Artifact Hub
run: |
curl --fail --location https://github.com/artifacthub/hub/releases/download/v1.20.0/ah_1.20.0_linux_amd64.tar.gz --output /tmp/ah.tar.gz
echo "9027626f19ff9f3ac668f222917130ac885e289e922e1428bfd2e7f066324e31 /tmp/ah.tar.gz" | shasum --check
sudo tar --extract --file /tmp/ah.tar.gz --directory /usr/local/bin ah
- name: Set up Git
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0

- name: Lint chart
run: |
ct lint --config .ct.yaml
ah lint --path charts/ingress-nginx
- name: Release chart
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CR_RELEASE_NAME_TEMPLATE: helm-chart-{{ .Version }}
CR_SKIP_EXISTING: true
with:
charts_dir: charts
Loading