Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
---
name: Bug report
about: Create a report to help us improve
title: 'issue title'
labels: 'bug'
assignees: ''

title: "issue title"
labels: "bug"
assignees: ""
---

<!-- Thanks for filing an issue!
Before hitting the button, please answer these questions.
It's helpful to search the existing GitHub issues first.
It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware o.
It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware o.

Fill in as much of the template below as you can.
The more information we have the better we can help you.
Expand Down Expand Up @@ -41,13 +40,10 @@ please put the output of it here

**Which version of the chart**:


**What happened**:


**What you expected to happen**:


**How to reproduce it** (as minimally and precisely as possible):

<!--
Expand All @@ -63,5 +59,4 @@ helm install my-release kong-z/name-of-chart --version version --values values.y
```
-->


**Anything else we need to know**:
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ We would like these checks to pass before we even continue reviewing your change

# Which issue this PR fixes

*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*
_(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)_

- fixes #

# Special notes for your reviewer

# Checklist

<!-- [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->

- [ ] [DCO](https://github.com/KongZ/charts/blob/main/CONTRIBUTING.md#sign-off-your-work) signed
- [ ] Chart Version bumped
26 changes: 20 additions & 6 deletions .github/workflows/chart-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,34 @@ name: Lint and Test Charts

on: pull_request

permissions:
actions: read
attestations: none
checks: write
contents: write
deployments: read
id-token: none
issues: none
packages: none
pages: write
pull-requests: read
security-events: read
statuses: read

jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Fetch history
run: git fetch --prune --unshallow

- name: Set up Helm
uses: azure/setup-helm@v1.1
uses: azure/setup-helm@v4.3.0
with:
version: v3.5.1
version: v3.13.3

- name: Add dependency chart repos
run: |
Expand All @@ -24,12 +38,12 @@ jobs:
helm repo add kongz https://charts.kong-z.com
helm repo add opensearch https://opensearch-project.github.io/helm-charts/

- uses: actions/setup-python@v2.2.2
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: "3.13"

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.1.0
uses: helm/chart-testing-action@v2.7.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,31 @@ name: Lint Code Base

on: pull_request

permissions:
actions: read
attestations: none
checks: write
contents: write
deployments: none
id-token: none
issues: none
packages: none
pages: write
pull-requests: read
security-events: read
statuses: read

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
uses: github/super-linter@v7
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_YAML: false
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ on:
branches:
- main

permissions:
actions: read
attestations: none
checks: write
contents: write
deployments: write
id-token: none
issues: none
packages: none
pages: write
pull-requests: read
security-events: read
statuses: read

jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
Expand All @@ -14,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -24,9 +38,9 @@ jobs:
git config user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.3.0

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
uses: helm/chart-releaser-action@v1.7.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
25 changes: 20 additions & 5 deletions .github/workflows/sync-readme.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
on:
push:
branches:
- 'main'
- "main"
paths:
- 'README.md'
- "README.md"

permissions:
actions: read
attestations: none
checks: write
contents: write
deployments: read
id-token: none
issues: none
packages: none
pages: write
pull-requests: read
security-events: read
statuses: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
cp -f README.md ${{ runner.temp }}/README.md
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: |
Expand All @@ -20,4 +35,4 @@ jobs:
git config user.email "[email protected]"
git add README.md
git commit --signoff -m "Sync README from main"
git push
git push