Skip to content

Commit 78f4e91

Browse files
authored
Merge branch 'main' into rbac-manager
2 parents b29b59a + 7dabd28 commit 78f4e91

File tree

5 files changed

+497
-10
lines changed

5 files changed

+497
-10
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44

55
jobs:
66
pre_commit:
7-
runs-on: ubuntu-latest
7+
runs-on: self-hosted
88
strategy:
99
matrix:
1010
python-version:
11-
- "3.10"
11+
- "3.12"
1212
steps:
1313
- name: Check out the repo
1414
uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
default_install_hook_types:
3+
- pre-commit
4+
- commit-msg
5+
6+
repos:
7+
- repo: https://github.com/compilerla/conventional-pre-commit
8+
rev: v4.0.0
9+
hooks:
10+
- id: conventional-pre-commit
11+
stages:
12+
- commit-msg
13+
args:
14+
- "--strict"
15+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
16+
rev: 3.0.0
17+
hooks:
18+
- id: shellcheck
19+
stages:
20+
- commit-msg
21+
- repo: https://github.com/pre-commit/pre-commit-hooks
22+
rev: v5.0.0
23+
hooks:
24+
- id: end-of-file-fixer
25+
stages:
26+
- commit-msg
27+
- id: trailing-whitespace
28+
stages:
29+
- commit-msg
30+
- id: mixed-line-ending
31+
stages:
32+
- commit-msg
33+
- id: check-byte-order-marker
34+
stages:
35+
- commit-msg
36+
- id: check-executables-have-shebangs
37+
stages:
38+
- commit-msg
39+
- id: check-merge-conflict
40+
stages:
41+
- commit-msg
42+
- id: check-symlinks
43+
stages:
44+
- commit-msg
45+
- id: check-yaml
46+
stages:
47+
- commit-msg
48+
files: .*\.(yaml|yml)$
49+
args:
50+
- "--allow-multiple-documents"
51+
- "--unsafe"
52+
- id: debug-statements
53+
- repo: https://github.com/psf/black
54+
rev: 25.1.0
55+
hooks:
56+
- id: black
57+
stages:
58+
- manual
59+
- repo: https://github.com/adrienverge/yamllint.git
60+
rev: v1.35.1
61+
hooks:
62+
- id: yamllint
63+
stages:
64+
- manual
65+
args:
66+
- >-
67+
-d {extends: default, rules: {line-length: disable},
68+
ignore: [submodules/]}

.yamllint

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
---
22
extends: default
3-
43
rules:
54
indentation:
65
spaces: 2
76
line-length: disable
87
comments:
98
min-spaces-from-content: 1
10-
comments-indentation: disable
11-
braces:
12-
max-spaces-inside: 1
13-
octal-values:
14-
forbid-implicit-octal: true
15-
forbid-explicit-octal: true
9+
brackets:
10+
forbid: non-empty
11+
new-line-at-end-of-file: enable

docs/adding-new-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Adding a New Service to openCenter GitOps
1+
# Adding a New Service to openCenter GitOps Base
22

33
This guide explains how to add a new service to the openCenter GitOps base repository using the standardized Flux CD patterns. We'll use **cert-manager** as a reference example to illustrate the complete process.
44

0 commit comments

Comments
 (0)