-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathct.yaml
83 lines (77 loc) · 1.98 KB
/
ct.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Basic Chart Testing Configuration
remote: origin
target-branch: main
timeout: 600s
# Required Helm repositories for chart dependencies
chart-repos:
- pagopa-microservice=https://pagopa.github.io/aks-microservice-chart-blueprint
# General validation settings
validate-maintainers: false
validate-chart-schema: true
validate-yaml: true
check-version-increment: true
debug: false
# =====================================================
# Lint and Validation Rules
# =====================================================
lint:
yamllint:
config: |
extends: default
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
colons:
max-spaces-before: 0
max-spaces-after: 1
commas:
max-spaces-before: 0
min-spaces-after: 1
comments: disable
comments-indentation: disable
document-end: disable
document-start: disable
empty-lines:
max: 2
max-start: 0
max-end: 0
hyphens:
max-spaces-after: 1
indentation:
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: enable
new-lines: enable
trailing-spaces: enable
truthy: disable
# Regole di validazione per Chart.yaml e values.yaml possono essere gestite
# attraverso la configurazione di schema validation di Helm
schema:
values:
- name: image.tag
required: true
type: string
- name: replicaCount
required: true
type: integer
chart:
- name: version
required: true
type: string
- name: appVersion
required: true
type: string
- name: dependencies
required: true
type: array
template:
- name: metadata.labels
required: true
type: object