Skip to content

Commit eeeca4a

Browse files
feat(controller): add lifecycle for translator patches (#138)
* feat(controller): add lifecycle for translator patches Signed-off-by: Oliver Bähler <[email protected]>
1 parent a98a791 commit eeeca4a

File tree

133 files changed

+4001
-1299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+4001
-1299
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ If applicable, please provide logs of `capsule-argo-addon`.
2929
# Additional context
3030

3131
- Addon version:
32-
- Argo version:
33-
- Kubernetes version:
32+
- Argo version:
33+
- Kubernetes version:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Chat on Slack
44
url: https://kubernetes.slack.com/archives/C03GETTJQRL
5-
about: Maybe chatting with the community can help
5+
about: Maybe chatting with the community can help

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ assignees: ''
1212
A clear and concise description of the feature.
1313

1414
# Expected behavior
15-
A clear and concise description of what you expect to happen.
15+
A clear and concise description of what you expect to happen.

.github/actions/exists/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ runs:
1818
- shell: bash
1919
id: check
2020
run: |
21-
echo "result=${{ inputs.value != '' }}" >> $GITHUB_OUTPUT
21+
echo "result=${{ inputs.value != '' }}" >> $GITHUB_OUTPUT

.github/configs/ct.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
## Reference: https://github.com/helm/chart-testing/blob/master/doc/ct_lint-and-install.md
2-
##
31
remote: origin
42
target-branch: main
53
chart-dirs:
64
- charts/
7-
#chart-repos:
8-
# - capsule=oci://ghcr.io/projectcapsule/charts
95
validate-chart-schema: false
106
validate-maintainers: false
117
validate-yaml: true
128
exclude-deprecated: true
13-
check-version-increment: false
9+
check-version-increment: false

.github/configs/lintconf.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
---
2+
ignore:
3+
- config/
4+
- charts/*/templates/
5+
- charts/**/templates/
6+
- docs/**
7+
- hack/**
28
rules:
9+
truthy:
10+
level: warning
11+
allowed-values:
12+
- "true"
13+
- "false"
14+
- "on"
15+
- "off"
16+
check-keys: false
317
braces:
418
min-spaces-inside: 0
519
max-spaces-inside: 0
@@ -38,5 +52,3 @@ rules:
3852
new-lines:
3953
type: unix
4054
trailing-spaces: enable
41-
truthy:
42-
level: warning

.github/workflows/check-actions.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
branches:
77
- '*'
88
pull_request:
9-
branches: [ "master", "main" ]
9+
branches:
10+
- "main"
1011

1112
jobs:
1213
check:
@@ -17,7 +18,7 @@ jobs:
1718
- name: Ensure SHA pinned actions
1819
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@c3a2b64f69b7a1542a68f44d9edbd9ec3fc1455e # v3.0.20
1920
with:
20-
# slsa-github-generator requires using a semver tag for reusable workflows.
21+
# slsa-github-generator requires using a semver tag for reusable workflows.
2122
# See: https://github.com/slsa-framework/slsa-github-generator#referencing-slsa-builders-and-generators
2223
allowlist: |
23-
slsa-framework/slsa-github-generator
24+
slsa-framework/slsa-github-generator

.github/workflows/check-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ permissions: {}
33

44
on:
55
push:
6-
branches: [ "*" ]
6+
branches:
7+
- "*"
78
pull_request:
8-
branches: [ "*" ]
9+
branches:
10+
- "*"
911

1012
concurrency:
1113
group: ${{ github.workflow }}-${{ github.ref }}
@@ -19,5 +21,3 @@ jobs:
1921
with:
2022
fetch-depth: 0
2123
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
22-
with:
23-
firstParent: true

.github/workflows/check-pr.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Check Pull Request"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions:
11+
pull-requests: write
12+
13+
jobs:
14+
main:
15+
name: Validate PR title
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@40166f00814508ec3201fc8595b393d451c8cd80
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
types: |
23+
chore
24+
ci
25+
docs
26+
feat
27+
fix
28+
test
29+
sec
30+
requireScope: false
31+
wip: false
32+
# If the PR only contains a single commit, the action will validate that
33+
# it matches the configured pattern.
34+
validateSingleCommit: true
35+
# Related to `validateSingleCommit` you can opt-in to validate that the PR
36+
# title matches a single commit to avoid confusion.
37+
validateSingleCommitMatchesPrTitle: true

.github/workflows/codecov.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)